Home
last modified time | relevance | path

Searched refs:Nanosec (Results 1 – 25 of 75) sorted by relevance

123

/trunk/main/vos/inc/vos/
H A Dtimer.hxx47 { Seconds = 0; Nanosec = 0; } in TTimeValue()
55 { Seconds = rTimeValue.Seconds; Nanosec = rTimeValue.Nanosec; } in TTimeValue()
58 { Seconds = rTimeValue.Seconds; Nanosec = rTimeValue.Nanosec; } in TTimeValue()
69 if (Nanosec > 1000000000) in normalize()
71 Seconds += Nanosec / 1000000000; in normalize()
72 Nanosec %= 1000000000; in normalize()
79 Nanosec = Nano; in TTimeValue()
87 Nanosec += Time.Nanosec; in addTime()
104 return (rTimeA.Nanosec < rTimeB.Nanosec); in operator <()
114 return (rTimeA.Nanosec > rTimeB.Nanosec); in operator >()
[all …]
/trunk/main/store/workben/
H A Dt_store.cxx94 Nanosec = 0; in OTime()
107 if (Nanosec < rPast.Nanosec) in operator -=()
110 Nanosec += 1000000000; in operator -=()
112 Nanosec -= rPast.Nanosec; in operator -=()
433 nDelta += (aDelta.Nanosec / 1000); in main()
445 nDelta += (aDelta.Nanosec / 1000); in main()
566 nDelta += (aDelta.Nanosec / 1000); in main()
576 tv.Nanosec = 0; in main()
595 nDelta += (aDelta.Nanosec / 1000); in main()
/trunk/main/sal/rtl/source/
H A Dunload.cxx45 time1->Nanosec == time2->Nanosec) in isEqualTimeValue()
58 if( time1->Nanosec > time2->Nanosec) in isGreaterTimeValue()
77 result->Nanosec=0; in addTimeValue()
80 sum= value1->Nanosec + value2->Nanosec; in addTimeValue()
86 result->Nanosec= (sal_uInt32)sum; in addTimeValue()
140 pMod->unusedSince.Nanosec= 0; in rtl_moduleCount_release()
H A Drandom.c144 tv.Nanosec = RTL_RANDOM_RNG_2(tv.Nanosec); in __rtl_random_initPool()
149 rd.m_nZ = (sal_Int16)(((tv.Nanosec >> 1) << 1) + 1); in __rtl_random_initPool()
/trunk/main/sal/qa/testHelperFunctions/
H A DtestHelperFunctions.cxx272 … sal_Int32 nNanoSec = sal_Int32(m_aEndTime.Nanosec) - sal_Int32(m_aStartTime.Nanosec); in showTime()
305 time1->Nanosec == time2->Nanosec) in isEqualTimeValue()
318 if( time1->Nanosec > time2->Nanosec) in isGreaterTimeValue()
337 if (B.Nanosec > A.Nanosec) return true; in isBTimeGreaterATime()
/trunk/main/sal/osl/w32/
H A Dtime.c63 pTimeVal->Nanosec = (unsigned long)((Value % 10000000L) * 100); in osl_getSystemTime()
81 pDateTime->NanoSeconds = pTimeVal->Nanosec; in osl_getDateTimeFromTimeValue()
120 pTimeVal->Nanosec = pDateTime->NanoSeconds; in osl_getTimeValueFromDateTime()
151 pLocalTimeVal->Nanosec = pSystemTimeVal->Nanosec; in osl_getLocalTimeFromSystemTime()
182 pSystemTimeVal->Nanosec = pLocalTimeVal->Nanosec; in osl_getSystemTimeFromLocalTime()
H A Dprocess.cxx164 pInfo->UserTime.Nanosec = (unsigned long)((Value % 10000000L) * 100); in osl_getProcessInfo()
168 pInfo->SystemTime.Nanosec = (unsigned long)((Value % 10000000L) * 100); in osl_getProcessInfo()
196 timeout = pTimeout->Seconds * 1000 + pTimeout->Nanosec / 1000000L; in osl_joinProcessWithTimeout()
H A Dsocket.cxx1351 tv.tv_usec= pTimeout->Nanosec / 1000L; in osl_connectSocketTo()
1640 tv.tv_usec = pTimeout->Nanosec / 1000L; in osl_isReceiveReady()
1669 tv.tv_usec = pTimeout->Nanosec / 1000L; in osl_isSendReady()
1698 tv.tv_usec = pTimeout->Nanosec / 1000L; in osl_isExceptionPending()
2171 tv.tv_usec = pTimeout->Nanosec / 1000L; in osl_demultiplexSocketEvents()
/trunk/main/sal/osl/os2/
H A Dtime.c50 TimeValue->Nanosec = tp.tv_usec * 1000; in osl_getSystemTime()
75 pDateTime->NanoSeconds = pTimeVal->Nanosec; in osl_getDateTimeFromTimeValue()
148 pTimeVal->Nanosec = pDateTime->NanoSeconds; in osl_getTimeValueFromDateTime()
189 pLocalTimeVal->Nanosec = pSystemTimeVal->Nanosec; in osl_getLocalTimeFromSystemTime()
235 pSystemTimeVal->Nanosec = pLocalTimeVal->Nanosec; in osl_getSystemTimeFromLocalTime()
/trunk/main/sal/osl/unx/
H A Dtime.c49 TimeValue->Nanosec = tp.tv_usec * 1000; in osl_getSystemTime()
74 pDateTime->NanoSeconds = pTimeVal->Nanosec; in osl_getDateTimeFromTimeValue()
147 pTimeVal->Nanosec = pDateTime->NanoSeconds; in osl_getTimeValueFromDateTime()
188 pLocalTimeVal->Nanosec = pSystemTimeVal->Nanosec; in osl_getLocalTimeFromSystemTime()
234 pSystemTimeVal->Nanosec = pLocalTimeVal->Nanosec; in osl_getSystemTimeFromLocalTime()
H A Dprocess.c1326 pInfo->UserTime.Nanosec = prstatus.pr_utime.tv_nsec; in osl_getProcessInfo()
1328 pInfo->SystemTime.Nanosec = prstatus.pr_stime.tv_nsec; in osl_getProcessInfo()
1357 pInfo->UserTime.Nanosec = 500000L; in osl_getProcessInfo()
1359 pInfo->SystemTime.Nanosec = 500000L; in osl_getProcessInfo()
1406 pInfo->UserTime.Nanosec = procstat.utime - (userseconds * hz); in osl_getProcessInfo()
1408 pInfo->SystemTime.Nanosec = procstat.stime - (systemseconds * hz); in osl_getProcessInfo()
H A Dfile_stat.cxx186 pStat->aAccessTime.Nanosec = 0; in set_file_access_time()
193 pStat->aModifyTime.Nanosec = 0; in set_file_modify_time()
/trunk/main/sal/qa/osl/process/
H A Dosl_Thread.cxx95 printf("# %d %d nsecs\n", t1.Seconds, t1.Nanosec); in start()
106 printf("# %d %d nsecs\n", t2.Seconds, t2.Nanosec); in stop()
119 if ( t2.Nanosec > t1.Nanosec ) in stop()
120 m_nNanoSec = static_cast<sal_Int32>(t2.Nanosec) - static_cast<sal_Int32>(t1.Nanosec); in stop()
123 m_nNanoSec = 1000000000 + static_cast<sal_Int32>(t2.Nanosec) - static_cast<sal_Int32>(t1.Nanosec); in stop()
205 nTV.Nanosec = ( (_nTenthSec%10 ) * 100000000 ); in thread_sleep_tenth_sec()
334 nTV.Nanosec = ( m_nWaitSec%10 ) * 100000000 ; in run()
H A Dosl_process.cxx147 timeout.Nanosec = 0; in TEST_F()
185 timeout.Nanosec = 0; in TEST_F()
/trunk/main/bridges/test/
H A Dtestcomp.cxx500 double fStart = (double)aStartTime.Seconds + ((double)aStartTime.Nanosec / 1000000000.0); in getCallsPerSec()
501 double fEnd = (double)aEndTime.Seconds + ((double)aEndTime.Nanosec / 1000000000.0); in getCallsPerSec()
523 double fStart = (double)aStartTime.Seconds + ((double)aStartTime.Nanosec / 1000000000.0); in getCallsPerSecOneway()
524 double fEnd = (double)aEndTime.Seconds + ((double)aEndTime.Nanosec / 1000000000.0); in getCallsPerSecOneway()
526 ((double)aAfterExecution.Nanosec / 1000000000.0) - fStart; in getCallsPerSecOneway()
543 double fStart = (double)aStartTime.Seconds + ((double)aStartTime.Nanosec / 1000000000.0); in testOnewayPerformanceOnTwoInterfaces()
544 double fEnd = (double)aEndTime.Seconds + ((double)aEndTime.Nanosec / 1000000000.0); in testOnewayPerformanceOnTwoInterfaces()
H A Dtestclient.cxx110 double fStart = (double)aStartTime.Seconds + ((double)aStartTime.Nanosec / 1000000000.0); in testLatency()
111 double fEnd = (double)aEndTime.Seconds + ((double)aEndTime.Nanosec / 1000000000.0); in testLatency()
/trunk/main/vos/source/
H A Dtimer.cxx244 sal_Int32 nsecs = m_Expired.Nanosec - Now.Nanosec; in getRemainingTime()
433 Now.Nanosec += pTimer->m_RepeatDelta.Nanosec; in checkForTimeout()
/trunk/main/sal/workben/
H A Dtestfile.cxx407 if ( ( aSystemTimeVal.Seconds == aTime.Seconds ) && ( aSystemTimeVal.Nanosec == aTime.Nanosec )) in showTime()
422 if ( ( aSysTimeVal.Seconds == aTime.Seconds ) && ( aSysTimeVal.Nanosec == aTime.Nanosec )) in showTime()
445 aTime.Nanosec = 0; in getSystemTime()
1497 …onTime.Seconds == aCreationTimeRead.Seconds && aCreationTime.Nanosec == aCreationTimeRead.Nanosec ) in FileTimeTest()
1511 … aAccessTime.Seconds == aAccessTimeRead.Seconds && aAccessTime.Nanosec == aAccessTimeRead.Nanosec ) in FileTimeTest()
1525 … aModifyTime.Seconds == aModifyTimeRead.Seconds && aModifyTime.Nanosec == aModifyTimeRead.Nanosec ) in FileTimeTest()
H A Dt_osl_joinProcess.cxx75 timeout.Nanosec = 0; in TEST_F()
113 timeout.Nanosec = 0; in TEST_F()
/trunk/main/sdext/source/presenter/
H A DPresenterTimer.cxx70 && rpTask1->maDueTime.Nanosec < rpTask2->maDueTime.Nanosec); in operator ()()
430 rTimeValue.Nanosec = sal::static_int_cast<sal_Int32>(nTimeDifference % 1000000000L); in ConvertToTimeValue()
439 return sal_Int64(rTimeValue.Seconds) * 1000000000L + rTimeValue.Nanosec; in ConvertFromTimeValue()
H A DPresenterToolBar.cxx2264 maStartTimeValue.Nanosec = 0; in PresentationTimeLabel()
2275 if (maStartTimeValue.Seconds==0 && maStartTimeValue.Nanosec==0) in TimeHasChanged()
2281 if (maStartTimeValue.Nanosec >= 500000000) in TimeHasChanged()
2283 maStartTimeValue.Nanosec = 0; in TimeHasChanged()
2288 aElapsedTimeValue.Nanosec = aCurrentTimeValue.Nanosec - maStartTimeValue.Nanosec; in TimeHasChanged()
/trunk/main/sal/qa/osl/socket/
H A Dosl_StreamSocket.cxx220 pTimeout->Nanosec = 0; in run()
349 pTimeout->Nanosec = 0; in run()
714 pTimeout->Nanosec = 0; in run()
879 pTimeout->Nanosec = 0; in TEST_F()
983 pTimeout->Nanosec = 0; in read()
H A Dosl_Socket.cxx314 pTimeout->Nanosec = 0; in run()
498 pTimeout->Nanosec = 0; in run()
1782 pTimeout->Nanosec = 0; in SetUp()
1893 pTimeout->Nanosec = 0; in SetUp()
1947 pTimeout->Nanosec = 0; in SetUp()
2624 pTimeout->Nanosec = 0; in run()
2774 pTimeout->Nanosec = 0; in TEST_F()
2824 pTimeout->Nanosec = 0; in SetUp()
3001 pTimeout->Nanosec = 0; in SetUp()
H A Dosl_Socket2.cxx582 pTimeout->Nanosec = 0; in SetUp()
692 pTimeout->Nanosec = 0; in SetUp()
746 pTimeout->Nanosec = 0; in SetUp()
/trunk/main/sw/source/core/docnode/
H A Dfinalthreadmanager.cxx153 aSleepTime.Nanosec = 0; in run()
427 aSleepTime.Nanosec = 0; in queryTermination()

Completed in 208 milliseconds

123