Searched refs:UnixEpoch (Results 1 – 10 of 10) sorted by relevance
15 EXPECT_EQ(base::Time::UnixEpoch(), PRTimeToBaseTime(0)); in TEST()16 EXPECT_EQ(0, BaseTimeToPRTime(base::Time::UnixEpoch())); in TEST()
1019 prtime + base::Time::UnixEpoch().ToInternalValue()); in PRTimeToBaseTime()1023 return time.ToInternalValue() - base::Time::UnixEpoch().ToInternalValue(); in BaseTimeToPRTime()
100 EXPECT_EQ(epoch, Time::UnixEpoch()); in TEST_F()171 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F()183 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F()195 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F()207 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); in TEST_F()219 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); in TEST_F()232 t = Time::UnixEpoch(); in TEST_F()244 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F()256 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F()268 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1000); in TEST_F()[all …]
226 Time Time::UnixEpoch() { in UnixEpoch() function in base::Time261 : unix_epoch_(TimeTicks::Now() - (Time::Now() - Time::UnixEpoch())) {} in UnixEpochSingleton()
430 static Time UnixEpoch();649 static TimeTicks UnixEpoch();
70 Time unix_epoch = Time::UnixEpoch(); in TEST()86 Time unix_epoch = Time::UnixEpoch(); in TEST()104 Time unix_epoch = Time::UnixEpoch(); in TEST()
229 Time Time::UnixEpoch() { in UnixEpoch() function in base::Time285 : unix_epoch_(TimeTicks::Now() - (Time::Now() - Time::UnixEpoch())) {} in UnixEpochSingleton()299 TimeTicks TimeTicks::UnixEpoch() { in UnixEpoch() function in base::TimeTicks
100 EXPECT_EQ(epoch, Time::UnixEpoch()); in TEST_F()366 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F()378 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F()390 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F()402 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); in TEST_F()414 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); in TEST_F()427 t = Time::UnixEpoch(); in TEST_F()439 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F()451 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F()463 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1000); in TEST_F()[all …]
430 static Time UnixEpoch();675 static TimeTicks UnixEpoch();
197 static Time UnixEpoch() { return Time(0); } in UnixEpoch() function