Home
last modified time | relevance | path

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

/external/libchrome/base/time/
Dtime_unittest.cc1103 TimeDelta::FromSecondsD(2.3) == TimeDelta::FromMilliseconds(2300), ""); in TEST()
1114 EXPECT_EQ(TimeDelta::FromSecondsD(13.1).InSeconds(), 13); in TEST()
1115 EXPECT_EQ(TimeDelta::FromSecondsD(13.1).InSecondsF(), 13.1); in TEST()
1325 EXPECT_TRUE(TimeDelta::FromSecondsD(std::numeric_limits<double>::infinity()) in TEST()
1334 TimeDelta::FromSecondsD(max_d / Time::kMicrosecondsPerSecond + 1) in TEST()
1349 TimeDelta::FromSecondsD(min_d / Time::kMicrosecondsPerSecond - 1) in TEST()
Dtime.h121 static constexpr TimeDelta FromSecondsD(double secs);
754 constexpr TimeDelta TimeDelta::FromSecondsD(double secs) { in FromSecondsD() function
Dtime.cc226 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()
/external/libchrome/ipc/
Dipc_cpu_perftest.cc59 return base::TimeDelta::FromSecondsD(1.0 / frames_per_second); in GetFrameTime()