Searched refs:now_t_1 (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/time/ |
D | time_unittest.cc | 157 time_t now_t_1 = time(nullptr); in TEST_F() local 160 gmtime_s(&tms, &now_t_1); in TEST_F() 162 gmtime_r(&now_t_1, &tms); in TEST_F() 166 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST_F() 184 EXPECT_EQ(now_t_1, now_t_2); in TEST_F() 203 time_t now_t_1 = time(nullptr); in TEST_F() local 206 localtime_s(&tms, &now_t_1); in TEST_F() 208 localtime_r(&now_t_1, &tms); in TEST_F() 212 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST_F() 230 EXPECT_EQ(now_t_1, now_t_2); in TEST_F()
|
/external/cronet/base/time/ |
D | time_unittest.cc | 256 time_t now_t_1 = time(nullptr); in TEST_F() local 259 gmtime_s(&tms, &now_t_1); in TEST_F() 261 gmtime_r(&now_t_1, &tms); in TEST_F() 265 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST_F() 283 EXPECT_EQ(now_t_1, now_t_2); in TEST_F() 289 time_t now_t_1 = time(nullptr); in TEST_F() local 293 localtime_s(&tms, &now_t_1); in TEST_F() 295 localtime_r(&now_t_1, &tms); in TEST_F() 300 time_t adjusted_now_t_1 = now_t_1 + kHonoluluOffsetSeconds; in TEST_F() 305 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST_F() [all …]
|