/third_party/musl/libc-test/src/functionalext/thread/ |
D | pthread_rwlock_wrlock.c | 43 int timeDiff = GetTimeDiff(tsNow, ts); in RwlockClockRealTimeOut2() local 44 EXPECT_GE(timeDiff, 0); in RwlockClockRealTimeOut2() 45 EXPECT_LE(timeDiff, SLEEP_20_MS); in RwlockClockRealTimeOut2() 85 int timeDiff = GetTimeDiff(tsNow, ts); in RwlockClockMonotonicTimeOut2() local 86 EXPECT_GE(timeDiff, 0); in RwlockClockMonotonicTimeOut2() 87 EXPECT_LE(timeDiff, SLEEP_20_MS); in RwlockClockMonotonicTimeOut2() 126 int timeDiff = GetTimeDiff(tsNow, ts); in RwlockMonotonicTime2() local 127 EXPECT_GE(timeDiff, 0); in RwlockMonotonicTime2() 128 EXPECT_LE(timeDiff, SLEEP_20_MS); in RwlockMonotonicTime2()
|
D | pthread_mutex_ext.c | 32 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClocklockOutRealTime() local 33 TEST(timeDiff < 20); in PthreadClocklockOutRealTime() 100 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClocklockOutMonoTime() local 101 TEST(timeDiff < 20); in PthreadClocklockOutMonoTime() 247 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadTimedlockMonotonicNPOut() local 248 TEST(timeDiff < 20); in PthreadTimedlockMonotonicNPOut() 316 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadLockTimeoutNPOut() local 317 TEST(timeDiff < 20); in PthreadLockTimeoutNPOut()
|
D | pthread_rwlock_rdlock.c | 80 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClockRdlockOutRealTimeR2() local 81 TEST(timeDiff < 20); in PthreadClockRdlockOutRealTimeR2() 165 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadClockRdlockOutMonoTimeR2() local 166 TEST(timeDiff < 20); in PthreadClockRdlockOutMonoTimeR2() 249 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different in PthreadTimedRdlockMonoNPOutR2() local 250 TEST(timeDiff < 20); in PthreadTimedRdlockMonoNPOutR2()
|
D | pthread_cond_timedwait.c | 274 int timeDiff = GetTimeDiff(tsNow, ts); in ClockWaitTimeOut() local 275 EXPECT_GE(timeDiff, 0); in ClockWaitTimeOut() 276 EXPECT_LE(timeDiff, SLEEP_20_MS); in ClockWaitTimeOut() 352 int timeDiff = GetTimeDiff(tsNow, ts); in ClockWaitTimeOut2() local 353 EXPECT_GE(timeDiff, 0); in ClockWaitTimeOut2() 354 EXPECT_LE(timeDiff, SLEEP_20_MS); in ClockWaitTimeOut2() 576 int timeDiff = GetTimeDiff(tsNow, ts); in PthreadCondMonotonicTimeOut() local 577 EXPECT_GE(timeDiff, 0); in PthreadCondMonotonicTimeOut() 578 EXPECT_LE(timeDiff, SLEEP_20_MS); in PthreadCondMonotonicTimeOut() 682 int timeDiff = GetTimeDiff(tsNow, ts); in PthreadCondUnsignedTimeOut() local [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Overlay.cpp | 88 double timeDiff = currentTime - mLastPerSecondUpdate; in onSwap() local 89 if (timeDiff >= 1.0) in onSwap() 97 perSecond->lastPerSecondCount = static_cast<size_t>(perSecond->count / timeDiff); in onSwap()
|
/third_party/node/test/fixtures/wpt/hr-time/ |
D | window-worker-timeOrigin.window.js | 25 … const timeDiff = workerTimeOrigin - globalTimeOrigin; // convert worker's time to Document time. 26 …assert_less_than(globalTimeOrigin + globalNowBeforeWorkerStart, globalTimeOrigin + timeDiff + work…
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 477 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip() local 479 (timeDiff/60000)*60000 == 0 : timeDiff == 0; in TestTimeRoundTrip() 490 .append(", diff=").append(timeDiff); in TestTimeRoundTrip()
|
D | GlobalizationPreferencesTest.java | 1586 long timeDiff = System.currentTimeMillis() - cal.getTimeInMillis(); in TestJB5380() local 1587 if (Math.abs(timeDiff) > 1000) { in TestJB5380() 1589 … errln("FAIL: The Calendar was not initialized by current time - difference:" + timeDiff); in TestJB5380()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 474 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip() local 476 (timeDiff/60000)*60000 == 0 : timeDiff == 0; in TestTimeRoundTrip() 487 .append(", diff=").append(timeDiff); in TestTimeRoundTrip()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 677 int32_t timeDiff = (int32_t)(parsedDate - testTimes[testidx]); in RunTimeRoundTripTests() local 679 (timeDiff/60000)*60000 == 0 : timeDiff == 0; in RunTimeRoundTripTests()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsLongStressCase.cpp | 1487 const deUint64 timeDiff = time - m_lastLogTime; in iterate() local 1490 if (timeDiff >= loggingIntervalSeconds || m_currentIteration == m_numIterations-1) in iterate() 1495 << TestLog::Message << "Time since last log entry: " << timeDiff << "s" << TestLog::EndMessage in iterate() 1497 …"Average frame time since last log entry: " << de::floatToString((float)timeDiff / (float)iterDiff… in iterate()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 1583 long timeDiff = System.currentTimeMillis() - cal.getTimeInMillis(); in TestJB5380() local 1584 if (Math.abs(timeDiff) > 1000) { in TestJB5380() 1586 … errln("FAIL: The Calendar was not initialized by current time - difference:" + timeDiff); in TestJB5380()
|
/third_party/sqlite/src/ |
D | shell.c | 298 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ in timeDiff() function 313 timeDiff(&sBegin.ru_utime, &sEnd.ru_utime), in endTimer() 314 timeDiff(&sBegin.ru_stime, &sEnd.ru_stime)); in endTimer() 376 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ in timeDiff() function 392 timeDiff(&ftUserBegin, &ftUserEnd), in endTimer() 393 timeDiff(&ftKernelBegin, &ftKernelEnd)); in endTimer()
|