Searched refs:FromMillisecondsD (Results 1 - 6 of 6) sorted by relevance

/external/libweave/third_party/chromium/base/time/
H A Dtime_unittest.cc484 EXPECT_TRUE(TimeDelta::FromMillisecondsD(2.5) ==
495 EXPECT_EQ(13, TimeDelta::FromMillisecondsD(13.3).InMilliseconds());
496 EXPECT_EQ(13.3, TimeDelta::FromMillisecondsD(13.3).InMillisecondsF());
498 EXPECT_EQ(3.456, TimeDelta::FromMillisecondsD(3.45678).InMillisecondsF());
637 t = TimeDelta::FromMillisecondsD(std::numeric_limits<double>::infinity());
640 t = TimeDelta::FromMillisecondsD(max_d / Time::kMillisecondsPerSecond * 2);
646 t = TimeDelta::FromMillisecondsD(-max_d / Time::kMillisecondsPerSecond * 2);
H A Dtime.h115 static TimeDelta FromMillisecondsD(double ms);
591 inline TimeDelta TimeDelta::FromMillisecondsD(double ms) { function in class:base::Time::TimeDelta
H A Dtime.cc196 TimeDelta::FromMillisecondsD(ms_since_epoch);
/external/libchrome/base/time/
H A Dtime_unittest.cc734 EXPECT_TRUE(TimeDelta::FromMillisecondsD(2.5) ==
745 EXPECT_EQ(13, TimeDelta::FromMillisecondsD(13.3).InMilliseconds());
746 EXPECT_EQ(13.3, TimeDelta::FromMillisecondsD(13.3).InMillisecondsF());
748 EXPECT_EQ(3.456, TimeDelta::FromMillisecondsD(3.45678).InMillisecondsF());
887 t = TimeDelta::FromMillisecondsD(std::numeric_limits<double>::infinity());
890 t = TimeDelta::FromMillisecondsD(max_d / Time::kMillisecondsPerSecond * 2);
896 t = TimeDelta::FromMillisecondsD(-max_d / Time::kMillisecondsPerSecond * 2);
H A Dtime.h115 static TimeDelta FromMillisecondsD(double ms);
617 inline TimeDelta TimeDelta::FromMillisecondsD(double ms) { function in class:base::Time::TimeDelta
H A Dtime.cc199 TimeDelta::FromMillisecondsD(ms_since_epoch);

Completed in 105 milliseconds