Searched refs:NanosecondsToDuration (Results 1 – 3 of 3) sorted by relevance
107 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 …]
113 static Duration NanosecondsToDuration(int64 nanos);
240 Duration TimeUtil::NanosecondsToDuration(int64 nanos) { in NanosecondsToDuration() function in google::protobuf::util::TimeUtil