Lines Matching refs:time

40 TEST(time, time) {  in TEST()  argument
42 time_t p1, t1 = time(&p1); in TEST()
50 time_t p2, t2 = time(&p2); in TEST()
61 ASSERT_LE(t2, time(nullptr)); in TEST()
62 ASSERT_LE(time(nullptr) - t2, static_cast<time_t>(1)); in TEST()
65 TEST(time, gmtime) { in TEST() argument
77 TEST(time, gmtime_r) { in TEST() argument
90 TEST(time, mktime_TZ_as_UTC_and_offset) { in TEST() argument
112 TEST(time, gmtime_no_stack_overflow_14313703) { in TEST() argument
125 TEST(time, mktime_empty_TZ) { in TEST() argument
149 TEST(time, mktime_10310929) { in TEST() argument
173 TEST(time, mktime_EOVERFLOW) { in TEST() argument
212 TEST(time, mktime_invalid_tm_TZ_combination) { in TEST() argument
232 TEST(time, mktime_after_2100) { in TEST() argument
248 TEST(time, strftime) { in TEST() argument
270 TEST(time, strftime_second_before_epoch) { in TEST() argument
288 TEST(time, strftime_Z_null_tm_zone) { in TEST() argument
337 TEST(time, strftime_z_null_tm_zone) { in TEST() argument
376 TEST(time, strftime_z_Europe_Lisbon) { in TEST() argument
406 TEST(time, strftime_l) { in TEST() argument
427 TEST(time, strptime) { in TEST() argument
444 TEST(time, strptime_l) { in TEST() argument
465 TEST(time, strptime_F) { in TEST() argument
475 TEST(time, strptime_P_p) { in TEST() argument
497 TEST(time, strptime_u) { in TEST() argument
505 TEST(time, strptime_v) { in TEST() argument
515 TEST(time, strptime_V_G_g) { in TEST() argument
528 TEST(time, strptime_Z) { in TEST() argument
571 TEST(time, strptime_z) { in TEST() argument
639 TEST(time, timer_create) { in TEST() argument
668 TEST(time, timer_create_SIGEV_SIGNAL) { in TEST() argument
736 time_t start = time(nullptr); in ValueUpdated()
737 while (current_value == value && (time(nullptr) - start) < 5) { in ValueUpdated()
756 TEST(time, timer_settime_0) { in TEST() argument
767 TEST(time, timer_settime_repeats) { in TEST() argument
786 TEST(time, timer_create_NULL) { in TEST() argument
815 TEST(time, timer_create_EINVAL) { in TEST() argument
839 TEST(time, timer_create_multiple) { in TEST() argument
857 TEST(time, timer_disarm_terminates) { in TEST() argument
877 TEST(time, timer_delete_terminates) { in TEST() argument
910 TEST(time, timer_delete_from_timer_thread) { in TEST() argument
929 time_t cur_time = time(nullptr); in TEST()
930 while (!tdd.complete && (time(nullptr) - cur_time) < 5); in TEST()
936 cur_time = time(NULL); in TEST()
937 while ((kill(tdd.tid, 0) != -1 || errno != ESRCH) && (time(NULL) - cur_time) < 5); in TEST()
948 TEST(time, clock_gettime) { in TEST() argument
968 TEST(time, clock_gettime_CLOCK_REALTIME) { in TEST() argument
973 TEST(time, clock_gettime_CLOCK_MONOTONIC) { in TEST() argument
978 TEST(time, clock_gettime_CLOCK_PROCESS_CPUTIME_ID) { in TEST() argument
983 TEST(time, clock_gettime_CLOCK_THREAD_CPUTIME_ID) { in TEST() argument
988 TEST(time, clock_gettime_CLOCK_BOOTTIME) { in TEST() argument
993 TEST(time, clock_gettime_unknown) { in TEST() argument
1000 TEST(time, clock_getres_CLOCK_REALTIME) { in TEST() argument
1007 TEST(time, clock_getres_CLOCK_MONOTONIC) { in TEST() argument
1014 TEST(time, clock_getres_CLOCK_PROCESS_CPUTIME_ID) { in TEST() argument
1019 TEST(time, clock_getres_CLOCK_THREAD_CPUTIME_ID) { in TEST() argument
1024 TEST(time, clock_getres_CLOCK_BOOTTIME) { in TEST() argument
1031 TEST(time, clock_getres_unknown) { in TEST() argument
1040 TEST(time, clock_getres_null_resolution) { in TEST() argument
1044 TEST(time, clock) { in TEST() argument
1063 TEST(time, clock_getcpuclockid_current) { in TEST() argument
1070 TEST(time, clock_getcpuclockid_parent) { in TEST() argument
1077 TEST(time, clock_getcpuclockid_ESRCH) { in TEST() argument
1091 TEST(time, clock_settime) { in TEST() argument
1098 TEST(time, clock_nanosleep_EINVAL) { in TEST() argument
1104 TEST(time, clock_nanosleep_thread_cputime_id) { in TEST() argument
1111 TEST(time, clock_nanosleep) { in TEST() argument
1119 TEST(time, nanosleep) { in TEST() argument
1127 TEST(time, nanosleep_EINVAL) { in TEST() argument
1134 TEST(time, bug_31938693) { in TEST() argument
1180 TEST(time, bug_31339449) { in TEST() argument
1216 TEST(time, asctime) { in TEST() argument
1221 TEST(time, asctime_r) { in TEST() argument
1228 TEST(time, ctime) { in TEST() argument
1234 TEST(time, ctime_r) { in TEST() argument
1243 TEST(time, strftime_strptime_s) { in TEST() argument
1288 TEST(time, strptime_s_nothing) { in TEST() argument
1293 TEST(time, timespec_get) { in TEST() argument
1305 TEST(time, timespec_get_invalid) { in TEST() argument
1314 TEST(time, timespec_getres) { in TEST() argument
1325 TEST(time, timespec_getres_invalid) { in TEST() argument
1334 TEST(time, difftime) { in TEST() argument
1339 TEST(time, tzfree_null) { in TEST() argument
1347 TEST(time, localtime_rz) { in TEST() argument
1401 TEST(time, mktime_z) { in TEST() argument
1441 TEST(time, tzalloc_nullptr) { in TEST() argument
1477 TEST(time, tzalloc_unique_ptr) { in TEST() argument