Searched refs:FromHours (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/base/time/ |
D | time_unittest.cc | 1095 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 …]
|
D | time.h | 115 static constexpr TimeDelta FromHours(int hours); 720 constexpr TimeDelta TimeDelta::FromHours(int hours) { in FromHours() function
|
/external/libchrome/base/metrics/ |
D | histogram_macros.h | 219 base::TimeDelta::FromHours(1), 50) 224 base::TimeDelta::FromHours(1), 100)
|
D | histogram_functions.cc | 89 TimeDelta::FromHours(1), 50); in UmaHistogramLongTimes()
|
/external/libbrillo/policy/tests/ |
D | libpolicy_unittest.cc | 185 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/ |
D | time.h | 54 static TimeDelta FromHours(int hours);
|
D | time.cc | 140 TimeDelta TimeDelta::FromHours(int hours) { in FromHours() function in v8::base::TimeDelta
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 144 base::TimeDelta::FromMinutes(minutes) + base::TimeDelta::FromHours(hours); in DecodeWeeklyTimeFromValue()
|
/external/libchrome/base/timer/ |
D | timer_unittest.cc | 854 TimeDelta::FromHours(1), DoNothing())); in TEST_F()
|