Searched refs:FromHours (Results 1 – 20 of 20) sorted by relevance
50 const TimeDelta one_hour = TimeDelta::FromHours(1); in TEST()51 const TimeDelta four_hours = TimeDelta::FromHours(4); in TEST()
173 EXPECT_TRUE(TimeDelta::FromDays(2) == TimeDelta::FromHours(48)); in TEST()174 EXPECT_TRUE(TimeDelta::FromHours(3) == TimeDelta::FromMinutes(180)); in TEST()180 EXPECT_EQ(13, TimeDelta::FromHours(13).InHours()); in TEST()
59 static TimeDelta FromHours(int64 hours);423 inline TimeDelta TimeDelta::FromHours(int64 hours) { in FromHours() function
288 diff = base::TimeDelta::FromHours(1); in CalculateBeginDeleteTime()291 diff = base::TimeDelta::FromHours(24); in CalculateBeginDeleteTime()294 diff = base::TimeDelta::FromHours(7*24); in CalculateBeginDeleteTime()297 diff = base::TimeDelta::FromHours(4*7*24); in CalculateBeginDeleteTime()
83 base::TimeDelta::FromHours(24).InMillisecondsRoundedUp()); in Track()
653 base::TimeDelta::FromHours(kUpdateCheckIntervalHours), in StartAutoupdateTimer()
188 base::Time t2(t1 + base::TimeDelta::FromHours(1)); in TEST_F()189 base::Time t3(t1 + base::TimeDelta::FromHours(1)); in TEST_F()190 base::Time t4(t1 + base::TimeDelta::FromHours(1)); in TEST_F()
19 ASSERT_TRUE(counter.ShouldShow(test_time + base::TimeDelta::FromHours(2))); in TEST_F()
116 base::TimeDelta::FromHours(1); in TestCache()283 base::TimeDelta twenty_five_hours = base::TimeDelta::FromHours(25); in TEST_F()
80 int min = (time - base::TimeDelta::FromHours(hour)).InMinutes(); in GetLabelAt()
348 base::TimeDelta::FromHours(1), 50)
22 static const Config k20PerHour = { 20, TimeDelta::FromHours(1) };
114 : extension_time_(Time::Now() - TimeDelta::FromHours(4)), in ExtensionPrefsLastPingDay()115 blacklist_time_(Time::Now() - TimeDelta::FromHours(2)) {} in ExtensionPrefsLastPingDay()
792 TimeDelta::FromHours(1) // 1 hour long refill interval.
184 base::TimeDelta::FromHours(1), 50)
138 save_delay_in_hrs_(base::TimeDelta::FromHours(8)) { in SessionService()148 save_delay_in_hrs_(base::TimeDelta::FromHours(8)) { in SessionService()
327 Time t = Time::Now() - TimeDelta::FromHours(i + 1); in SetupHistory()838 AddHistoryEntry(kHistoryFoobar, Time::Now() - TimeDelta::FromHours(1))); in AcceptKeywordBySpaceTest()
49 const TimeDelta Predictor::kDurationBetweenTrimmings = TimeDelta::FromHours(1);
342 base::TimeDelta::FromMicroseconds(1), base::TimeDelta::FromHours(1), 100)
4853 base::Time request_time = base::Time() + base::TimeDelta::FromHours(1234); in TEST()4854 base::Time response_time = base::Time() + base::TimeDelta::FromHours(1235); in TEST()