Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/util/
Dtime_util_test.cc107 TimeUtil::ToString(TimeUtil::NanosecondsToDuration(10))); in TEST()
135 TimeUtil::ToString(TimeUtil::NanosecondsToDuration(1))); in TEST()
137 TimeUtil::ToString(TimeUtil::NanosecondsToDuration(-1))); in TEST()
153 1, TimeUtil::DurationToNanoseconds(TimeUtil::NanosecondsToDuration(1))); in TEST()
155 -1, TimeUtil::DurationToNanoseconds(TimeUtil::NanosecondsToDuration(-1))); in TEST()
173 TimeUtil::NanosecondsToDuration(1999))); in TEST()
176 TimeUtil::NanosecondsToDuration(-1999))); in TEST()
242 TimeUtil::DurationToTimeval(TimeUtil::NanosecondsToDuration(1999999999)); in TEST()
246 TimeUtil::DurationToTimeval(TimeUtil::NanosecondsToDuration(-1999999999)); in TEST()
253 Duration one_nano = TimeUtil::NanosecondsToDuration(1); in TEST()
[all …]
Dtime_util.h113 static Duration NanosecondsToDuration(int64 nanos);
Dtime_util.cc240 Duration TimeUtil::NanosecondsToDuration(int64 nanos) { in NanosecondsToDuration() function in google::protobuf::util::TimeUtil