/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); 99 times, (time1 - time0), expressed in seconds.
|
/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/boost/libs/function_types/example/ |
D | fast_mem_fn_example.cpp | 95 double time1, time2; in main() local 109 time1 = t.elapsed(); in main() 110 std::cout << "fast_mem_fn | " << time1 << std::endl; in main() 118 std::cout << '\n' << (time2/time1-1)*100 << "% speedup" << std::endl; in main()
|
/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/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_queryobj.c | 57 brw_raw_timestamp_delta(struct brw_context *brw, uint64_t time0, uint64_t time1) in brw_raw_timestamp_delta() argument 63 return (uint32_t)time1 - (uint32_t)time0; in brw_raw_timestamp_delta() 65 if (time0 > time1) { in brw_raw_timestamp_delta() 66 return (1ULL << 36) + time1 - time0; in brw_raw_timestamp_delta() 68 return time1 - time0; in brw_raw_timestamp_delta()
|
/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/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/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/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/boost/libs/units/tutorial/ |
D | tutorial_1.cpp | 70 BOOST_UNITS_STATIC_CONSTANT(time1,time); 129 quantity<s1::time,float> t1(1.0*s1::time1); in main()
|
/third_party/mesa3d/src/intel/common/ |
D | intel_measure.c | 368 raw_timestamp_delta(uint64_t time0, uint64_t time1) in raw_timestamp_delta() argument 370 if (time0 > time1) { in raw_timestamp_delta() 371 return (1ULL << TIMESTAMP_BITS) + time1 - time0; in raw_timestamp_delta() 373 return time1 - time0; in raw_timestamp_delta()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 1207 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local 1323 b1 = a1->getNextStart(time1, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1391 b1 = i1->getNextStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1395 b1 = i1->getPreviousStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage() 1464 b1 = t3->getNextStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage() 1468 b1 = t3->getPreviousStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage() 1518 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local 1531 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1535 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1566 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() [all …]
|
/third_party/grpc/test/core/channel/ |
D | channelz_test.cc | 309 gpr_timespec time1 = GetLastCallStartedTime(&counter); in TEST_P() local 313 EXPECT_EQ(gpr_time_cmp(time1, time2), 0); in TEST_P() 319 EXPECT_EQ(gpr_time_cmp(time1, time3), 0); in TEST_P() 325 EXPECT_NE(gpr_time_cmp(time1, time4), 0); in TEST_P()
|
/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/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/spirv-tools/test/val/ |
D | val_misc_test.cpp | 101 OpName %time1 "time1"
|
/third_party/glib/glib/tests/ |
D | mainloop.c | 712 gint64 time1; member 728 if (data->time1 == -1) in timeout1_callback() 734 data->time1 = g_source_get_time (source); in timeout1_callback() 746 g_assert_cmpint (data->time1, ==, time2); in timeout1_callback() 762 g_assert_cmpint (data->time1, <, time2); in timeout1_callback() 794 g_assert_cmpint (data->time1, ==, time2); in timeout2_callback() 822 data.time1 = -1; in test_source_time()
|
/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()
|