/aoo41x/main/vos/inc/vos/ |
H A D | timer.hxx | 46 { Seconds = 0; Nanosec = 0; } in TTimeValue() 54 { Seconds = rTimeValue.Seconds; Nanosec = rTimeValue.Nanosec; } in TTimeValue() 57 { Seconds = rTimeValue.Seconds; Nanosec = rTimeValue.Nanosec; } in TTimeValue() 68 if (Nanosec > 1000000000) in normalize() 70 Seconds += Nanosec / 1000000000; in normalize() 71 Nanosec %= 1000000000; in normalize() 78 Nanosec = Nano; in TTimeValue() 86 Nanosec += Time.Nanosec; in addTime() 103 return (rTimeA.Nanosec < rTimeB.Nanosec); in operator <() 113 return (rTimeA.Nanosec > rTimeB.Nanosec); in operator >() [all …]
|
/aoo41x/main/store/workben/ |
H A D | t_store.cxx | 94 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()
|
/aoo41x/main/sal/rtl/source/ |
H A D | unload.cxx | 45 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 D | random.c | 144 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()
|
/aoo41x/main/sal/osl/w32/ |
H A D | time.c | 63 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 D | process.cxx | 164 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 D | socket.cxx | 1351 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()
|
/aoo41x/main/sal/qa/testHelperFunctions/ |
H A D | testHelperFunctions.cxx | 295 … sal_Int32 nNanoSec = sal_Int32(m_aEndTime.Nanosec) - sal_Int32(m_aStartTime.Nanosec); in showTime() 328 time1->Nanosec == time2->Nanosec) in isEqualTimeValue() 341 if( time1->Nanosec > time2->Nanosec) in isGreaterTimeValue() 360 if (B.Nanosec > A.Nanosec) return true; in isBTimeGreaterATime()
|
/aoo41x/main/sal/osl/unx/ |
H A D | time.c | 50 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()
|
H A D | process.c | 1327 pInfo->UserTime.Nanosec = prstatus.pr_utime.tv_nsec; in osl_getProcessInfo() 1329 pInfo->SystemTime.Nanosec = prstatus.pr_stime.tv_nsec; in osl_getProcessInfo() 1358 pInfo->UserTime.Nanosec = 500000L; in osl_getProcessInfo() 1360 pInfo->SystemTime.Nanosec = 500000L; in osl_getProcessInfo() 1407 pInfo->UserTime.Nanosec = procstat.utime - (userseconds * hz); in osl_getProcessInfo() 1409 pInfo->SystemTime.Nanosec = procstat.stime - (systemseconds * hz); in osl_getProcessInfo()
|
H A D | file_stat.cxx | 186 pStat->aAccessTime.Nanosec = 0; in set_file_access_time() 193 pStat->aModifyTime.Nanosec = 0; in set_file_modify_time()
|
/aoo41x/main/sal/osl/os2/ |
H A D | time.c | 50 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()
|
/aoo41x/main/sal/qa/osl/process/ |
H A D | osl_Thread.cxx | 95 t_print("# %d %d nsecs\n", t1.Seconds, t1.Nanosec); in start() 106 t_print("# %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 D | osl_process.cxx | 152 timeout.Nanosec = 0; in osl_joinProcessWithTimeout_timeout_failure() 202 timeout.Nanosec = 0; in osl_joinProcessWithTimeout_without_timeout_failure()
|
/aoo41x/main/bridges/test/ |
H A D | testcomp.cxx | 500 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 D | testclient.cxx | 110 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()
|
/aoo41x/main/vos/source/ |
H A D | timer.cxx | 244 sal_Int32 nsecs = m_Expired.Nanosec - Now.Nanosec; in getRemainingTime() 433 Now.Nanosec += pTimer->m_RepeatDelta.Nanosec; in checkForTimeout()
|
/aoo41x/main/sal/workben/ |
H A D | testfile.cxx | 407 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 D | t_osl_joinProcess.cxx | 78 timeout.Nanosec = 0; in test_osl_joinProcessWithTimeout_timeout_failure() 128 timeout.Nanosec = 0; in test_osl_joinProcessWithTimeout_without_timeout_failure()
|
/aoo41x/main/sdext/source/presenter/ |
H A D | PresenterTimer.cxx | 70 && 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 D | PresenterToolBar.cxx | 2264 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()
|
/aoo41x/main/sal/qa/osl/socket/ |
H A D | osl_StreamSocket.cxx | 219 pTimeout->Nanosec = 0; in run() 348 pTimeout->Nanosec = 0; in run() 739 pTimeout->Nanosec = 0; in run() 911 pTimeout->Nanosec = 0; in isExPending_001() 1024 pTimeout->Nanosec = 0; in read()
|
H A D | osl_Socket.cxx | 313 pTimeout->Nanosec = 0; in run() 497 pTimeout->Nanosec = 0; in run() 1987 pTimeout->Nanosec = 0; in setUp() 2115 pTimeout->Nanosec = 0; in setUp() 2178 pTimeout->Nanosec = 0; in setUp() 2994 pTimeout->Nanosec = 0; in run() 3151 pTimeout->Nanosec = 0; in isExPending_001() 3221 pTimeout->Nanosec = 0; in setUp() 3426 pTimeout->Nanosec = 0; in setUp()
|
H A D | osl_Socket2.cxx | 652 pTimeout->Nanosec = 0; in setUp() 780 pTimeout->Nanosec = 0; in setUp() 843 pTimeout->Nanosec = 0; in setUp()
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | finalthreadmanager.cxx | 153 aSleepTime.Nanosec = 0; in run() 427 aSleepTime.Nanosec = 0; in queryTermination()
|