Home
last modified time | relevance | path

Searched refs:FromSecondsD (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/time/
Dtime_unittest.cc788 TimeDelta::FromSecondsD(2.3) == TimeDelta::FromMilliseconds(2300), ""); in TEST()
799 EXPECT_EQ(13, TimeDelta::FromSecondsD(13.1).InSeconds()); in TEST()
800 EXPECT_EQ(13.1, TimeDelta::FromSecondsD(13.1).InSecondsF()); in TEST()
936 t = TimeDelta::FromSecondsD(std::numeric_limits<double>::infinity()); in TEST()
941 t = TimeDelta::FromSecondsD(max_d / Time::kMicrosecondsPerSecond + 1); in TEST()
950 t = TimeDelta::FromSecondsD(-max_d / Time::kMicrosecondsPerSecond - 1); in TEST()
Dtime.h115 static constexpr TimeDelta FromSecondsD(double secs);
642 constexpr TimeDelta TimeDelta::FromSecondsD(double secs) { in FromSecondsD() function
Dtime.cc166 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()