Home
last modified time | relevance | path

Searched refs:MillisecondsToDuration (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/util/
Dtime_util_test.cc103 EXPECT_EQ("0.010s", TimeUtil::ToString(TimeUtil::MillisecondsToDuration(10))); in TEST()
142 EXPECT_EQ("0.001s", TimeUtil::ToString(TimeUtil::MillisecondsToDuration(1))); in TEST()
144 TimeUtil::ToString(TimeUtil::MillisecondsToDuration(-1))); in TEST()
161 1, TimeUtil::DurationToMilliseconds(TimeUtil::MillisecondsToDuration(1))); in TEST()
163 TimeUtil::MillisecondsToDuration(-1))); in TEST()
Dtime_util.h103 static Duration MillisecondsToDuration(int64 millis);
Dtime_util.cc241 Duration TimeUtil::MillisecondsToDuration(int64 millis) { in MillisecondsToDuration() function in google::protobuf::util::TimeUtil