/trunk/main/tools/inc/tools/ |
H A D | time.hxx | 56 { sal_uIntPtr nTempTime = (nTime >= 0) ? nTime : nTime*-1; in GetHour() 59 { sal_uIntPtr nTempTime = (nTime >= 0) ? nTime : nTime*-1; in GetMin() 62 { sal_uIntPtr nTempTime = (nTime >= 0) ? nTime : nTime*-1; in GetSec() 65 { sal_uIntPtr nTempTime = (nTime >= 0) ? nTime : nTime*-1; in Get100Sec() 75 { return ((nTime >= rFrom.nTime) && (nTime <= rTo.nTime)); } in IsBetween() 80 { return (nTime == rTime.nTime); } in operator ==() 82 { return (nTime != rTime.nTime); } in operator !=() 84 { return (nTime > rTime.nTime); } in operator >() 86 { return (nTime < rTime.nTime); } in operator <() 88 { return (nTime >= rTime.nTime); } in operator >=() [all …]
|
/trunk/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsAnimationFunction.cxx | 38 OSL_ASSERT(nTime>=0.0 && nTime<=1.0); in Linear() 39 return nTime; in Linear() 47 OSL_ASSERT(nTime>=0.0 && nTime<=1.0); in FastInSlowOut_Sine() 60 OSL_ASSERT(nTime>=0.0 && nTime<=1.0); in FastInSlowOut_Root() 62 const double nResult (sqrt(nTime)); in FastInSlowOut_Root() 73 OSL_ASSERT(nTime>=0.0 && nTime<=1.0); in SlowInSlowOut_0to0_Sine() 75 const double nResult (sin(nTime * M_PI)); in SlowInSlowOut_0to0_Sine() 86 return sin(nTime*M_PI*8); in Vibrate_Sine() 105 const double nTime) in Blend() argument 107 return nStartValue*(1-nTime) + nEndValue*nTime; in Blend() [all …]
|
/trunk/main/tools/source/datetime/ |
H A D | ttime.cxx | 131 nTime = 0; in Time() 139 nTime = rTime.nTime; in Time() 162 short nSign = (nTime >= 0) ? +1 : -1; in SetHour() 175 short nSign = (nTime >= 0) ? +1 : -1; in SetMin() 253 short nSign = (nTime >= 0) ? +1 : -1; in GetTimeInDays() 266 nTime = rTime.nTime; in operator =() 310 return (nTime - n1) == (rTime.nTime - n2); in IsEqualIgnore100Sec() 350 time_t nTime; in GetUTCOffset() 362 nTime = time( 0 ); in GetUTCOffset() 363 localtime_r( &nTime, &aTM ); in GetUTCOffset() [all …]
|
/trunk/main/slideshow/source/engine/OGLTrans/ |
H A D | OGLTrans_TransitionImpl.cxx | 255 maPrimitives[i].display(nTime, 1, 1); in display() 458 if( nTime > .5) { in displaySlidesRochade() 942 if( nTime >= 0.5 ) { in prepareDiamond() 943 double m = 1 - nTime; in prepareDiamond() 947 …Slide2.pushTriangle (basegfx::B2DVector (1,nTime), basegfx::B2DVector (1,1), basegfx::B2DVector (n… in prepareDiamond() 950 double l = 0.5 - nTime; in prepareDiamond() 951 double h = 0.5 + nTime; in prepareDiamond() 1010 glColor4f( 1, 1, 1, nTime ); in displaySlidesFadeSmoothly() 1042 if( nTime < 0.5 ) { in displaySlidesFadeThroughBlack() 1043 glColor4f( 1, 1, 1, 1 - nTime*2 ); in displaySlidesFadeThroughBlack() [all …]
|
H A D | OGLTrans_TransitionImpl.hxx | 147 …void (OGLTransitionImpl::*mmPrepare)( double nTime, double SlideWidth, double SlideHeight, double … 164 …void displaySlides( double nTime, ::sal_Int32 glLeavingSlideTex, ::sal_Int32 glEnteringSlideTex, d… 165 …void displaySlide( double nTime, ::sal_Int32 glSlideTex, std::vector<Primitive>& primitives, doubl… 166 …void displayScene( double nTime, double SlideWidth, double SlideHeight, double DispWidth, double D… 167 void applyOverallOperations( double nTime, double SlideWidthScale, double SlideHeightScale ); 171 …void prepareDiamond( double nTime, double SlideWidth, double SlideHeight,double DispWidth, double … 175 …void displaySlidesShaders( double nTime, ::sal_Int32 glLeavingSlideTex, ::sal_Int32 glEnteringSlid… 187 …virtual void display(double nTime, double SlideWidth, double SlideHeight, double DispWidth, double… 204 …virtual void display(double nTime, double SlideWidth, double SlideHeight, double DispWidth, double… 222 void applyOperations(double nTime, double SlideWidthScale, double SlideHeightScale); [all …]
|
/trunk/main/sd/source/ui/slidesorter/inc/controller/ |
H A D | SlsAnimationFunction.hxx | 52 static double Linear (const double nTime); 57 static double FastInSlowOut_Sine (const double nTime); 62 static double FastInSlowOut_Root (const double nTime); 67 static double SlowInSlowOut_0to0_Sine (const double nTime); 73 static double Vibrate_Sine (const double nTime); 77 static Point ScalePoint (const Point& rPoint, const double nTime); 91 const double nTime);
|
/trunk/main/svx/source/sdr/animation/ |
H A D | scheduler.cxx | 37 Event::Event(sal_uInt32 nTime) in Event() argument 38 : mnTime(nTime), in Event() 245 void Scheduler::SetTime(sal_uInt32 nTime) in SetTime() argument 249 mnTime = nTime; in SetTime() 259 pEvent->SetTime(nTime); in SetTime() 274 void Scheduler::Reset(sal_uInt32 nTime) in Reset() argument 276 mnTime = nTime; in Reset()
|
/trunk/main/slideshow/source/engine/shapes/ |
H A D | drawinglayeranimation.cxx | 196 sal_uInt32 nTime, sal_uInt32& rRelativeTime ); 198 sal_uInt32 nTime); 201 double GetMixerState(sal_uInt32 nTime); 274 double ActivityImpl::GetMixerState( sal_uInt32 nTime ) in GetMixerState() argument 287 if(nTime >= nEndTime) in GetMixerState() 300 sal_uInt32 nTimeInLoop(nTime % nLoopTime); in GetMixerState() 316 ImpGetScrollTextAnimNode(nTime, nRelativeTime); in GetMixerState() 553 sal_uInt32 nTime, sal_uInt32& rRelativeTime ) in ImpGetScrollTextAnimNode() argument 560 rRelativeTime = nTime; in ImpGetScrollTextAnimNode() 586 sal_uInt32 ActivityImpl::ImpRegisterAgainScrollTextMixerState(sal_uInt32 nTime) in ImpRegisterAgainScrollTextMixerState() argument [all …]
|
/trunk/main/slideshow/source/engine/ |
H A D | eventqueue.cxx | 54 return this->nTime > rEvent.nTime; in operator <() 204 && (maEvents.empty() || maEvents.top().nTime > nCurrTime)) in process_() 216 (bFireAllEvents || maEvents.top().nTime <= nCurrTime) ) in process_() 310 nTimeout = maEvents.top().nTime - nCurrentTime; in nextTimeout() 312 nTimeout = ::std::min(nTimeout, maNextEvents.front().nTime - nCurrentTime); in nextTimeout() 314 nTimeout = ::std::min(nTimeout, maNextNextEvents.top().nTime - nCurrentTime); in nextTimeout()
|
/trunk/main/tools/source/debug/ |
H A D | debug.cxx | 124 sal_uIntPtr nTime; member 870 time_t nTime = time( 0 ); in ImplDbgInitFile() local 876 pTime = localtime( &nTime ); in ImplDbgInitFile() 1356 sal_uIntPtr nTime; in DbgProf() local 1392 nTime = ImplGetPerfTime(); in DbgProf() 1406 nTime -= pProfData->nStart; in DbgProf() 1407 nTime -= pProfData->nContinueTime; in DbgProf() 1409 if ( nTime < pProfData->nMinTime ) in DbgProf() 1410 pProfData->nMinTime = nTime; in DbgProf() 1413 pProfData->nMaxTime = nTime; in DbgProf() [all …]
|
/trunk/main/testgraphical/source/ |
H A D | timehelper.pm | 69 my $nTime = difftime($endtime, $starttime); 75 return $nTime; 79 my $nTime = shift; 80 print( "Time: " . $nTime . " seconds.\n\n");
|
/trunk/main/sd/source/ui/dlg/ |
H A D | animobjs.cxx | 339 sal_uLong nTime = pTime->GetMSFromTime(); in IMPL_LINK() local 341 WaitInEffect( nTime, nTmpTime, pProgress ); in IMPL_LINK() 342 nTmpTime += nTime; in IMPL_LINK() 697 void AnimationWindow::WaitInEffect( sal_uLong nMilliSeconds, sal_uLong nTime, in WaitInEffect() argument 707 pProgress->SetState( nTime + nMilliSeconds + aCurrent - aEnd ); in WaitInEffect() 940 long nTime = rAnimBmp.nWait; in AddObj() local 941 Time* pTime = new Time( 0, 0, nTime / 100, nTime % 100 ); in AddObj() 1099 long nTime = pTime->Get100Sec(); in CreateAnimObj() local 1100 nTime += pTime->GetSec() * 100; in CreateAnimObj() 1161 aAnimBmp.nWait = nTime; in CreateAnimObj()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterAnimation.hxx | 118 inline sal_uInt32 GetSeconds (const sal_uInt64 nTime) { return sal_uInt32(nTime / 1000); } in GetSeconds() argument 119 inline sal_uInt32 GetNanoSeconds (const sal_uInt64 nTime) { return sal_uInt32((nTime % 1000) * 1000… in GetNanoSeconds() argument
|
/trunk/main/svx/inc/svx/sdr/animation/ |
H A D | scheduler.hxx | 48 Event(sal_uInt32 nTime); 60 virtual void Trigger(sal_uInt32 nTime) = 0; 129 void SetTime(sal_uInt32 nTime); 132 void Reset(sal_uInt32 nTime);
|
/trunk/main/oox/source/xls/ |
H A D | unitconverter.cxx | 219 sal_Int32 nTime = getLimitedValue< sal_Int32, double >( fTime * 86400, 0, 86399 ); in calcDateTimeFromSerial() local 220 aDateTime.Seconds = static_cast< sal_uInt16 >( nTime % 60 ); in calcDateTimeFromSerial() 221 nTime /= 60; in calcDateTimeFromSerial() 222 aDateTime.Minutes = static_cast< sal_uInt16 >( nTime % 60 ); in calcDateTimeFromSerial() 223 aDateTime.Hours = static_cast< sal_uInt16 >( nTime / 60 ); in calcDateTimeFromSerial()
|
/trunk/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 157 …sal_Int32 nTime = (sal_Int32)(nHundredthSeconds + (nSeconds*100) + (nMinutes*10000) + (nHours*1000… in toINT64() local 161 nRet = (sal_Int64) nTime; in toINT64() 288 sal_Int64 nTime = toDays(Date(_rVal.Day, _rVal.Month, _rVal.Year), _rNullDate); in toDouble() local 296 return ((double)nTime) + toDouble(aTimePart); in toDouble() 381 …sal_Int32 nTime = (sal_Int32)(xRet.HundredthSeconds + (xRet.Seconds*100) + (xRet.Minutes*10000) + … in toTime() local 383 if(nTime < 0) in toTime()
|
/trunk/main/cui/source/options/ |
H A D | optmemory.cxx | 232 sal_Int32 nTime = aCacheOptions.GetGraphicManagerObjectReleaseTime(); in Reset() local 233 …Time aTime( (sal_uInt16)( nTime / 3600 ), (sal_uInt16)( ( nTime % 3600 ) / 60 ), (sal_uInt16)( ( n… in Reset()
|
/trunk/main/vcl/source/app/ |
H A D | timer.cxx | 108 sal_uLong nTime = Time::GetSystemTicks(); in ImplTimerCallbackProc() local 127 if ( (pTimerData->mnUpdateTime+pTimerData->mpSVTimer->mnTimeout) <= nTime ) in ImplTimerCallbackProc() 130 pTimerData->mnUpdateTime = nTime; in ImplTimerCallbackProc() 178 if ( pTimerData->mnUpdateTime == nTime ) in ImplTimerCallbackProc()
|
/trunk/main/forms/source/component/ |
H A D | Time.cxx | 287 sal_Int32 nTime = 0; in impl_translateControlValueToUNOTime() local 288 OSL_VERIFY( _rUNOValue >>= nTime ); in impl_translateControlValueToUNOTime() 289 if ( nTime == ::Time( 99, 99, 99 ).GetTime() ) in impl_translateControlValueToUNOTime() 293 _rUNOValue <<= DBTypeConversion::toTime( nTime ); in impl_translateControlValueToUNOTime()
|
/trunk/main/svl/source/svdde/ |
H A D | ddecli.cxx | 276 nTime = n; in DdeTransaction() 316 if ( nTime ) in Execute() 321 (DWORD)nTime, (DWORD FAR*)NULL ); in Execute() 389 nTime = 0; in ~DdeLink()
|
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
H A D | DBTypeConversion.java | 251 long nTime = toDays(new Date(_rVal.Day, _rVal.Month, _rVal.Year), _rNullDate); in toDouble() local 259 return ((double)nTime) + toDouble(aTimePart); in toDouble() 379 …int nTime = (int)(xRet.HundredthSeconds + (xRet.Seconds*100) + (xRet.Minutes*10000) + (xRet.Hours*… in toTime() local 381 if(nTime < 0) in toTime()
|
/trunk/main/sfx2/source/doc/ |
H A D | objcont.cxx | 258 …DBG_ASSERT( !(aNow.GetDate()<pImp->nTime.GetDate()), "Timestamp of last change is in the past ?!..… in UpdateTime_Impl() 262 if (aNow.GetDate()>=pImp->nTime.GetDate()) in UpdateTime_Impl() 265 nDays = aNow.GetSecFromDateTime(pImp->nTime.GetDate())/86400 ; in UpdateTime_Impl() 270 nAddTime = (const Time&)aNow - (const Time&)pImp->nTime ; in UpdateTime_Impl() 281 nAddTime += n24Time-(const Time&)pImp->nTime ; in UpdateTime_Impl() 288 pImp->nTime = aNow; in UpdateTime_Impl()
|
/trunk/main/package/source/package/zipapi/ |
H A D | ZipOutputStream.cxx | 89 if (rEntry.nTime == -1) in putNextEntry() 90 rEntry.nTime = getCurrentDosTime(); in putNextEntry() 336 aChucker << static_cast < sal_uInt32> ( rEntry.nTime ); in writeCEN() 386 aChucker << static_cast < sal_uInt32 > (rEntry.nTime); in writeLOC()
|
/trunk/main/svl/source/items/ |
H A D | dateitem.cxx | 112 sal_Int32 nTime = 0; in Create() local 114 rStream >> nTime; in Create() 115 DateTime aDT(nDate, nTime); in Create()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/org/openoffice/ |
H A D | Runner.java | 237 long nTime = meanTime(getRunnerStartTime()); in run() local 238 String sBeautifyTime = beautifyTime(nTime); in run() 240 System.out.println("Job run took: " + nTime + "ms " + " [" + sBeautifyTime + "]"); in run()
|