/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/ |
D | test-cmpxchg-nolock.c | 48 cycles_t time1, time2, time; in do_testbaseline() local 53 time1 = get_cycles(); in do_testbaseline() 60 time = time2 - time1; in do_testbaseline() 75 cycles_t time1, time2, time; in do_test_sync_cmpxchg() local 80 time1 = get_cycles(); in do_test_sync_cmpxchg() 91 time = time2 - time1; in do_test_sync_cmpxchg() 106 cycles_t time1, time2, time; in do_test_cmpxchg() local 111 time1 = get_cycles(); in do_test_cmpxchg() 118 time = time2 - time1; in do_test_cmpxchg() 133 cycles_t time1, time2, time; in do_test_sync_inc() local [all …]
|
/third_party/tzdata/ |
D | difftime.c | 20 difftime(time_t time1, time_t time0) in difftime() argument 27 double t1 = time1, t0 = time0; in difftime() 36 return time0 <= time1 ? time1 - time0 : dminus(time0 - time1); in difftime() 40 uintmax_t t1 = time1, t0 = time0; in difftime() 41 return time0 <= time1 ? t1 - t0 : dminus(t0 - t1); in difftime() 48 if ((time1 < 0) == (time0 < 0)) in difftime() 49 return time1 - time0; in difftime() 57 long double t1 = time1, t0 = time0; in difftime()
|
D | newctime.3.txt | 16 double difftime(time_t time1, time_t time0); 103 times, (time1 - time0), expressed in seconds.
|
D | localtime.c | 2208 time1(struct tm *const tmp, in time1() function 2283 return time1(tmp, localsub, sp, setname); in mktime_tzname() 2286 return time1(tmp, gmtsub, gmtptr, 0); in mktime_tzname() 2332 return time1(tmp, gmtsub, gmtptr, offset); in timeoff()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
D | 2-1.c | 61 struct timeval time1, time2; in main() local 100 if (gettimeofday(&time1, NULL) == -1) { in main() 114 time_elapsed = (time2.tv_sec - time1.tv_sec in main() 115 + (time2.tv_usec - time1.tv_usec) / 1000000.0); in main()
|
D | 1-1.c | 60 struct timeval time1, time2; in main() local 99 if (gettimeofday(&time1, NULL) == -1) { in main() 113 time_elapsed = (time2.tv_sec - time1.tv_sec in main() 114 + (time2.tv_usec - time1.tv_usec) / 1000000.0); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
D | time_test.cpp | 24 clock_t time1 = clock(); variable 26 EXPECT_GT(5 * (CLOCKS_PER_SEC / 1000), time1 - time0); 38 time_t time1; variable 39 time_t p1 = time(&time1); 40 EXPECT_NE(0, static_cast<int>(time1)); 41 EXPECT_NE(-1, static_cast<int>(time1)); 42 EXPECT_EQ(time1, p1); 52 EXPECT_GT(2, static_cast<int>(time2 - time1)); 468 time_t time1 = time(nullptr); variable 469 EXPECT_LE(static_cast<int>(1), time1 - time0);
|
D | sys_clock_test.cpp | 320 auto time1 = std::chrono::steady_clock::now(); variable 321 EXPECT_GE(std::chrono::duration_cast<std::chrono::nanoseconds>(time1 - time0).count(), 5000000);
|
/third_party/ltp/testcases/kernel/fs/lftest/ |
D | lftest.c | 44 time_t time1, time2; in run() local 47 time1 = time(NULL); in run() 64 diff = time2 - time1; in run()
|
/third_party/gstreamer/gstplugins_base/gst/subparse/ |
D | samiparse.c | 53 guint64 time1; /* previous start attribute in sync tag */ member 663 sctx->time1 = sctx->time2; in handle_start_sync() 666 sctx->time2 = MAX (sctx->time2, sctx->time1); in handle_start_sync() 786 sctx->time1 = sctx->time2; in handle_end_element() 874 context->time1 = 0; in sami_context_reset() 899 state->start_time = context->time1; in parse_sami() 900 state->duration = context->time2 - context->time1; in parse_sami()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 756 long time1 = getUTCMillis(2005, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 866 d1 = a1.getNextStart(time1, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 938 d1 = i1.getNextStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 942 d1 = i1.getPreviousStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 997 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 1001 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 1075 long time1 = getUTCMillis(1990, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1083 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1087 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1099 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 754 long time1 = getUTCMillis(2005, Calendar.JULY, 4); in TestTimeZoneRuleCoverage() local 864 d1 = a1.getNextStart(time1, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage() 936 d1 = i1.getNextStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 940 d1 = i1.getPreviousStart(time1, 0, 0, false); in TestTimeZoneRuleCoverage() 995 d1 = t3.getNextStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 999 d1 = t3.getPreviousStart(time1, -3*HOUR, 1*HOUR, false); in TestTimeZoneRuleCoverage() 1073 long time1 = getUTCMillis(1990, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage() local 1081 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1085 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1097 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() [all …]
|
/third_party/ltp/testcases/cve/ |
D | meltdown.c | 133 unsigned long long time1, time2; in get_access_time() local 136 rdtscll(time1); in get_access_time() 143 return time2 - time1; in get_access_time()
|
/third_party/mesa3d/src/intel/common/ |
D | intel_measure.c | 373 raw_timestamp_delta(uint64_t time0, uint64_t time1) in raw_timestamp_delta() argument 375 if (time0 > time1) { in raw_timestamp_delta() 376 return (1ULL << TIMESTAMP_BITS) + time1 - time0; in raw_timestamp_delta() 378 return time1 - time0; in raw_timestamp_delta()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 1203 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local 1319 b1 = a1->getNextStart(time1, -3*HOUR, 0, false, d1); in TestTimeZoneRuleCoverage() 1387 b1 = i1->getNextStart(time1, 0, 0, false, d1); in TestTimeZoneRuleCoverage() 1391 b1 = i1->getPreviousStart(time1, 0, 0, false, d1); in TestTimeZoneRuleCoverage() 1460 b1 = t3->getNextStart(time1, -3*HOUR, 1*HOUR, false, d1); in TestTimeZoneRuleCoverage() 1464 b1 = t3->getPreviousStart(time1, -3*HOUR, 1*HOUR, false, d1); in TestTimeZoneRuleCoverage() 1514 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local 1527 avail1 = stz1->getNextTransition(time1, false, tzt1); in TestSimpleTimeZoneCoverage() 1531 avail1 = stz1->getPreviousTransition(time1, false, tzt1); in TestSimpleTimeZoneCoverage() 1562 avail1 = stz1->getNextTransition(time1, false, tzt1); in TestSimpleTimeZoneCoverage() [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_query.c | 271 iris_raw_timestamp_delta(uint64_t time0, uint64_t time1) in iris_raw_timestamp_delta() argument 273 if (time0 > time1) { in iris_raw_timestamp_delta() 274 return (1ULL << TIMESTAMP_BITS) + time1 - time0; in iris_raw_timestamp_delta() 276 return time1 - time0; in iris_raw_timestamp_delta()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstsystemclock.c | 104 GstClockTime time1[] = { 0, (GstClockTime) - 1, 0, 1, 2 * GST_SECOND, in GST_START_TEST() local 113 fail_if (d[i] != GST_CLOCK_DIFF (time1[i], time2[i])); in GST_START_TEST()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_query.c | 299 crocus_raw_timestamp_delta(uint64_t time0, uint64_t time1) in crocus_raw_timestamp_delta() argument 301 if (time0 > time1) { in crocus_raw_timestamp_delta() 302 return (1ULL << TIMESTAMP_BITS) + time1 - time0; in crocus_raw_timestamp_delta() 304 return time1 - time0; in crocus_raw_timestamp_delta()
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
D | val_misc_test.cpp | 101 OpName %time1 "time1"
|
/third_party/spirv-tools/test/val/ |
D | val_misc_test.cpp | 101 OpName %time1 "time1"
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_misc_test.cpp | 101 OpName %time1 "time1"
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_date_time.cpp | 872 uint64 time1 = (((uint64) localFT.dwHighDateTime) << 32) + localFT.dwLowDateTime; in LocalTimeZone() local 877 int64 time1Sec = time1 / 10000000; in LocalTimeZone()
|
/third_party/alsa-utils/speaker-test/ |
D | speaker-test.c | 979 double time1,time2,time3; in main() local 1237 time1 = (double)tv1.tv_sec + ((double)tv1.tv_usec / 1000000.0); in main() 1239 time3 = time2 - time1; in main()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | localtime.c | 158 static time_t time1(struct tm * tmp, 1860 time1(struct tm *const tmp, in time1() function 1935 return time1(tmp, localsub, 0L); in mktime() 1953 return time1(tmp, gmtsub, 0L); in timegm() 1961 return time1(tmp, gmtsub, offset); in timeoff()
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 160 static time_t time1(struct tm * tmp, 1862 time1(struct tm *const tmp, in time1() function 1937 return time1(tmp, localsub, 0L); in mktime() 1955 return time1(tmp, gmtsub, 0L); in timegm() 1963 return time1(tmp, gmtsub, offset); in timeoff()
|