/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.
|
D | localtime.c | 2095 time1(struct tm *const tmp, in time1() function 2170 return time1(tmp, localsub, sp, setname); in mktime_tzname() 2173 return time1(tmp, gmtsub, gmtptr, 0); in mktime_tzname() 2224 return time1(tmp, gmtsub, gmtptr, offset); in timeoff()
|
/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/uboot/u-boot-2020.01/drivers/rtc/ |
D | ds1374.c | 84 unsigned long time1, time2; in rtc_get() local 97 time1 = 0; in rtc_get() 100 time1 = (time1 << 8) | (tmp & 0xff); in rtc_get() 109 } while ((time1 != time2) && limit--); in rtc_get() 111 if (time1 != time2) { in rtc_get() 116 DEBUGR ("Get RTC s since 1.1.1970: %ld\n", time1); in rtc_get() 118 rtc_to_tm(time1, tm); /* To Gregorian Date */ in rtc_get()
|
/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/ltp/testcases/kernel/fs/lftest/ |
D | lftest.c | 48 time_t time1, time2; in main() local 51 time1 = time(NULL); in main() 59 asctime(localtime(&time1))); in main() 87 diff = time2 - time1; 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/gstreamer/gstplugins_base/gst/subparse/ |
D | samiparse.c | 53 guint64 time1; /* previous start attribute in sync tag */ member 659 sctx->time1 = sctx->time2; in handle_start_sync() 662 sctx->time2 = MAX (sctx->time2, sctx->time1); in handle_start_sync() 782 sctx->time1 = sctx->time2; in handle_end_element() 870 context->time1 = 0; in sami_context_reset() 895 state->start_time = context->time1; in parse_sami() 896 state->duration = context->time2 - context->time1; in parse_sami()
|
/third_party/ltp/testcases/cve/ |
D | meltdown.c | 134 unsigned long long time1, time2; in get_access_time() local 137 rdtscll(time1); in get_access_time() 144 return time2 - time1; in get_access_time()
|
/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/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/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/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/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/flutter/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 | 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/gstreamer/gstreamer/tests/check/gst/ |
D | gstsystemclock.c | 566 GstClockTime time1[] = { 0, (GstClockTime) - 1, 0, 1, 2 * GST_SECOND, in GST_START_TEST() local 575 fail_if (d[i] != GST_CLOCK_DIFF (time1[i], time2[i])); in GST_START_TEST()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 594 Date time1 = cal.getTime(); // Get time -- should not change in TestWeekShift() local 616 if (!time1.equals(time2)) { in TestWeekShift() 619 logln(time1.toString()); in TestWeekShift()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | dash_mpd.c | 2757 GstDateTime *time1; in GST_START_TEST() local 2763 time1 = gst_date_time_new_from_iso8601_string ("2012-06-23T23:30:59Z"); in GST_START_TEST() 2766 delta = gst_mpd_client_calculate_time_difference (time1, time2); in GST_START_TEST() 2770 gst_mpd_client_add_time_difference (time1, GST_TIME_AS_USECONDS (delta)); in GST_START_TEST() 2777 gst_date_time_unref (time1); in GST_START_TEST()
|