Home
last modified time | relevance | path

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

/external/libweave/src/commands/
Dcloud_command_proxy_unittest.cc236 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()
/external/libweave/third_party/chromium/base/time/
Dtime_unittest.cc482 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()
Dtime.h114 static TimeDelta FromSecondsD(double secs);
586 inline TimeDelta TimeDelta::FromSecondsD(double secs) { in FromSecondsD() function
Dtime.cc168 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()
/external/libchrome/base/time/
Dtime_unittest.cc732 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()
Dtime.h114 static TimeDelta FromSecondsD(double secs);
612 inline TimeDelta TimeDelta::FromSecondsD(double secs) { in FromSecondsD() function
Dtime.cc171 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()