Home
last modified time | relevance | path

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

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