Home
last modified time | relevance | path

Searched refs:time2 (Results 1 - 23 of 23) sorted by relevance

/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
H A Dtest-cmpxchg-nolock.c48 cycles_t time1, time2, time; in do_testbaseline() local
57 time2 = get_cycles(); in do_testbaseline()
60 time = time2 - time1; in do_testbaseline()
75 cycles_t time1, time2, time; in do_test_sync_cmpxchg() local
88 time2 = 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
115 time2 = get_cycles(); in do_test_cmpxchg()
118 time = time2 - time1; in do_test_cmpxchg()
133 cycles_t time1, time2, tim in do_test_sync_inc() local
161 cycles_t time1, time2, time; do_test_inc() local
191 cycles_t time1, time2, time; do_test_enable_int() local
218 cycles_t time1, time2, time; do_test_disable_int() local
246 cycles_t time1, time2, time; do_test_int() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl10.c69 unsigned long long time1, time2; in verify_prctl() local
85 time2 = rdtsc(); in verify_prctl()
86 if (time2 > time1) in verify_prctl()
88 time1, time2); in verify_prctl()
91 time1, time2); in verify_prctl()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/
H A D1-1.c26 5. Obtain time2, and find the difference between time2 and time1.
27 6. Verify that (time2-time1) is equal to SIGTIMEDWAITSEC within a reasonable
60 struct timeval time1, time2; in main() local
108 if (gettimeofday(&time2, 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()
H A D2-1.c27 5. Obtain time2, and find the difference between time2 and time1.
28 6. Verify that (time2-time1) is equal to SIGTIMEDWAITSEC within a reasonable
61 struct timeval time1, time2; in main() local
109 if (gettimeofday(&time2, 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()
/third_party/ltp/testcases/kernel/fs/lftest/
H A Dlftest.c44 time_t time1, time2; in run() local
62 time2 = time(NULL); in run()
64 diff = time2 - time1; in run()
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dtime_test.cpp45 time_t time2; in HWTEST_F() local
46 time_t p2 = time(&time2); in HWTEST_F()
47 EXPECT_NE(0, static_cast<int>(time2)); in HWTEST_F()
48 EXPECT_NE(-1, static_cast<int>(time2)); in HWTEST_F()
49 EXPECT_EQ(time2, p2); in HWTEST_F()
52 EXPECT_GT(2, static_cast<int>(time2 - time1)); in HWTEST_F()
55 EXPECT_GE(1, static_cast<int>(time(nullptr) - time2)); in HWTEST_F()
/third_party/ltp/testcases/cve/
H A Dmeltdown.c134 unsigned long long time1, time2; in get_access_time() local
142 rdtscll(time2); in get_access_time()
144 return time2 - time1; in get_access_time()
/third_party/node/test/parallel/
H A Dtest-fs-stat-bigint.js29 const time2 = bigintStats[key].getTime();
31 time - time2 <= allowableDelta,
33 `Number version ${time}, BigInt version ${time2}n`);
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DChineseTest.java661 Date time2 = getDate(2001, Calendar.MAY, 23); in TestCoverage()
662 String str2 = fmt2.format(time2); in TestCoverage()
663 logln("Chinese calendar time: " + time2 + " result: " + str2); in TestCoverage()
746 errln("time2: " + chineseCalendar2.getTimeInMillis()); in Test6510()
H A DIBMCalendarTest.java614 Date time2 = cal.getTime(); in TestWeekShift()
616 if (!time1.equals(time2)) { in TestWeekShift()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DChineseTest.java664 Date time2 = getDate(2001, Calendar.MAY, 23); in TestCoverage()
665 String str2 = fmt2.format(time2); in TestCoverage()
666 logln("Chinese calendar time: " + time2 + " result: " + str2); in TestCoverage()
749 errln("time2: " + chineseCalendar2.getTimeInMillis()); in Test6510()
H A DIBMCalendarTest.java614 Date time2 = cal.getTime(); in TestWeekShift()
616 if (!time1.equals(time2)) { in TestWeekShift()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java757 long time2 = getUTCMillis(2015, Calendar.JULY, 4); in TestTimeZoneRuleCoverage()
875 d1 = a3.getNextStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage()
880 d2 = a3.getPreviousStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage()
1076 long time2 = getUTCMillis(2000, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage()
1127 tzt2 = stz1.getNextTransition(time2, false); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage()
1226 long time2 = getUTCMillis(2020, Calendar.JANUARY, 1); in TestVTimeZoneCoverage()
1227 if (!vtz.hasEquivalentTransitions(otz, time1, time2)) { in TestVTimeZoneCoverage()
1234 TimeZoneRule[] ruleset2 = vtz.getTimeZoneRules(time2); in TestVTimeZoneCoverage()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java755 long time2 = getUTCMillis(2015, Calendar.JULY, 4); in TestTimeZoneRuleCoverage()
873 d1 = a3.getNextStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage()
878 d2 = a3.getPreviousStart(time2, -3*HOUR, 0, false); in TestTimeZoneRuleCoverage()
1074 long time2 = getUTCMillis(2000, Calendar.JUNE, 1); in TestSimpleTimeZoneCoverage()
1125 tzt2 = stz1.getNextTransition(time2, false); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage()
1224 long time2 = getUTCMillis(2020, Calendar.JANUARY, 1); in TestVTimeZoneCoverage()
1225 if (!vtz.hasEquivalentTransitions(otz, time1, time2)) { in TestVTimeZoneCoverage()
1232 TimeZoneRule[] ruleset2 = vtz.getTimeZoneRules(time2); in TestVTimeZoneCoverage()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_date_time.cpp873 uint64 time2 = (((uint64) utcFT .dwHighDateTime) << 32) + utcFT .dwLowDateTime; in LocalTimeZone() local
878 int64 time2Sec = time2 / 10000000; in LocalTimeZone()
/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c1019 double time1,time2,time3; in main() local
1288 time2 = (double)tv2.tv_sec + ((double)tv2.tv_usec / 1000000.0); in main()
1289 time3 = time2 - time1; in main()
/third_party/icu/icu4c/source/test/intltest/
H A Dtzrulets.cpp1204 UDate time2 = getUTCMillis(2015, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local
1328 b1 = a3->getNextStart(time2, -3*HOUR, 0, false, d1); in TestTimeZoneRuleCoverage()
1333 b2 = a3->getPreviousStart(time2, -3*HOUR, 0, false, d2); in TestTimeZoneRuleCoverage()
1515 UDate time2 = getUTCMillis(2000, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local
1606 avail2 = stz1->getNextTransition(time2, false, tzt2); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage()
1752 UDate time2 = getUTCMillis(2020, UCAL_JANUARY, 1); in TestVTimeZoneCoverage() local
1753 UBool equiv = vtz->hasEquivalentTransitions(*otz, time1, time2, false, status); in TestVTimeZoneCoverage()
H A Dcalregts.cpp2655 UDate time2 = cal.getTime(ec); in TestWeekShift() local
2662 if (time1 != time2) { in TestWeekShift()
/third_party/icu/icu4c/source/tools/tzcode/
H A Dlocaltime.c164 static time_t time2(struct tm *tmp,
1845 time2(struct tm * const tmp, in time2() function
1882 t = time2(tmp, funcp, offset, &okay); in time1()
1922 t = time2(tmp, funcp, offset, &okay); in time1()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dlocaltime.c162 static time_t time2(struct tm *tmp,
1843 time2(struct tm * const tmp, in time2() function
1880 t = time2(tmp, funcp, offset, &okay); in time1()
1920 t = time2(tmp, funcp, offset, &okay); in time1()
/third_party/tzdata/
H A Dlocaltime.c2161 time2(struct tm * const tmp, in time2() function
2201 t = time2(tmp, funcp, sp, offset, &okay); in time1()
2240 t = time2(tmp, funcp, sp, offset, &okay); in time1()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DDateFormatTest.java4040 long time2 = cal.getTimeInMillis(); in TestFormalChineseDate()
4041 if ( time1 != time2 ) { in TestFormalChineseDate()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatTest.java4137 long time2 = cal.getTimeInMillis(); in TestFormalChineseDate()
4138 if ( time1 != time2 ) { in TestFormalChineseDate()

Completed in 70 milliseconds