Searched refs:FromSecondsD (Results 1 – 7 of 7) sorted by relevance
236 base::TimeDelta::FromSecondsD(0.9)); in TEST_F()241 base::TimeDelta::FromSecondsD(2.9)); in TEST_F()246 base::TimeDelta::FromSecondsD(2.9)); in TEST_F()
482 EXPECT_TRUE(TimeDelta::FromSecondsD(2.3) == in TEST()493 EXPECT_EQ(13, TimeDelta::FromSecondsD(13.1).InSeconds()); in TEST()494 EXPECT_EQ(13.1, TimeDelta::FromSecondsD(13.1).InSecondsF()); in TEST()629 t = TimeDelta::FromSecondsD(std::numeric_limits<double>::infinity()); in TEST()634 t = TimeDelta::FromSecondsD(max_d / Time::kMicrosecondsPerSecond + 1); in TEST()643 t = TimeDelta::FromSecondsD(-max_d / Time::kMicrosecondsPerSecond - 1); in TEST()
114 static TimeDelta FromSecondsD(double secs);586 inline TimeDelta TimeDelta::FromSecondsD(double secs) { in FromSecondsD() function
168 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()
732 EXPECT_TRUE(TimeDelta::FromSecondsD(2.3) == in TEST()743 EXPECT_EQ(13, TimeDelta::FromSecondsD(13.1).InSeconds()); in TEST()744 EXPECT_EQ(13.1, TimeDelta::FromSecondsD(13.1).InSecondsF()); in TEST()879 t = TimeDelta::FromSecondsD(std::numeric_limits<double>::infinity()); in TEST()884 t = TimeDelta::FromSecondsD(max_d / Time::kMicrosecondsPerSecond + 1); in TEST()893 t = TimeDelta::FromSecondsD(-max_d / Time::kMicrosecondsPerSecond - 1); in TEST()
114 static TimeDelta FromSecondsD(double secs);612 inline TimeDelta TimeDelta::FromSecondsD(double secs) { in FromSecondsD() function
171 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()