Lines Matching refs:time_t
40 time_t p1, t1 = time(&p1); in TEST()
42 ASSERT_NE(static_cast<time_t>(0), t1); in TEST()
43 ASSERT_NE(static_cast<time_t>(-1), t1); in TEST()
48 time_t p2, t2 = time(&p2); in TEST()
50 ASSERT_NE(static_cast<time_t>(0), t2); in TEST()
51 ASSERT_NE(static_cast<time_t>(-1), t2); in TEST()
56 ASSERT_LE(t2 - t1, static_cast<time_t>(2)); in TEST()
60 ASSERT_LE(time(nullptr) - t2, static_cast<time_t>(1)); in TEST()
64 time_t t = 0; in TEST()
77 time_t t = 0; in TEST()
125 ASSERT_EQ(static_cast<time_t>(331372800U), mktime(&t)); in TEST()
134 ASSERT_EQ(static_cast<time_t>(331344000U), mktime(&t)); in TEST()
150 ASSERT_GE(sizeof(time_t) * 8, 64U); in TEST()
155 ASSERT_EQ(static_cast<time_t>(4108348800U), mktime(&t)); in TEST()
161 ASSERT_EQ(static_cast<time_t>(4108320000U), mktime(&t)); in TEST()
177 ASSERT_NE(static_cast<time_t>(-1), mktime(&t)); in TEST()
184 ASSERT_EQ(static_cast<time_t>(-1), mktime(&t)); in TEST()
366 void SetTime(timer_t t, time_t value_s, time_t value_ns, time_t interval_s, time_t interval_ns) { in SetTime()
469 void SetTime(time_t value_s, time_t value_ns, time_t interval_s, time_t interval_ns) { in SetTime()
475 time_t start = time(nullptr); in ValueUpdated()
648 time_t cur_time = time(nullptr); in TEST()
852 time_t t = 1475619727; in TEST()
896 time_t t = 1475619727; in TEST()
936 const time_t t = 0; in TEST()
942 const time_t t = 0; in TEST()