Home
last modified time | relevance | path

Searched refs:FromHours (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/time/
Dtime_unittest.cc1095 static_assert(TimeDelta::FromDays(2) == TimeDelta::FromHours(48), ""); in TEST()
1096 static_assert(TimeDelta::FromHours(3) == TimeDelta::FromMinutes(180), ""); in TEST()
1108 EXPECT_EQ(TimeDelta::FromHours(13).InHours(), 13); in TEST()
1126 EXPECT_EQ(TimeDelta::FromHours(23).InDays(), 0); in TEST()
1127 EXPECT_EQ(TimeDelta::FromHours(-23).InDays(), 0); in TEST()
1139 EXPECT_EQ(TimeDelta::FromHours(-25).InDaysFloored(), -2); in TEST()
1140 EXPECT_EQ(TimeDelta::FromHours(-24).InDaysFloored(), -1); in TEST()
1141 EXPECT_EQ(TimeDelta::FromHours(-23).InDaysFloored(), -1); in TEST()
1143 EXPECT_EQ(TimeDelta::FromHours(-1).InDaysFloored(), -1); in TEST()
1144 EXPECT_EQ(TimeDelta::FromHours(0).InDaysFloored(), 0); in TEST()
[all …]
Dtime.h115 static constexpr TimeDelta FromHours(int hours);
720 constexpr TimeDelta TimeDelta::FromHours(int hours) { in FromHours() function
/external/libchrome/base/metrics/
Dhistogram_macros.h219 base::TimeDelta::FromHours(1), 50)
224 base::TimeDelta::FromHours(1), 100)
Dhistogram_functions.cc89 TimeDelta::FromHours(1), 50); in UmaHistogramLongTimes()
/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc185 EXPECT_EQ(base::TimeDelta::FromMinutes(30) + base::TimeDelta::FromHours(12), in TEST()
188 EXPECT_EQ(base::TimeDelta::FromMinutes(15) + base::TimeDelta::FromHours(3), in TEST()
191 EXPECT_EQ(base::TimeDelta::FromMinutes(10) + base::TimeDelta::FromHours(20), in TEST()
/external/v8/src/base/platform/
Dtime.h54 static TimeDelta FromHours(int hours);
Dtime.cc140 TimeDelta TimeDelta::FromHours(int hours) { in FromHours() function in v8::base::TimeDelta
/external/libbrillo/policy/
Ddevice_policy_impl.cc144 base::TimeDelta::FromMinutes(minutes) + base::TimeDelta::FromHours(hours); in DecodeWeeklyTimeFromValue()
/external/libchrome/base/timer/
Dtimer_unittest.cc854 TimeDelta::FromHours(1), DoNothing())); in TEST_F()