Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/util/
Dtime_util.cc60 T CreateNormalized(int64 seconds, int64 nanos);
63 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized() function
83 Duration CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized() function
165 *timestamp = CreateNormalized<Timestamp>(seconds, nanos); in FromString()
173 return CreateNormalized<Timestamp>(seconds, nanos); in GetCurrentTime()
241 return CreateNormalized<Duration>(nanos / kNanosPerSecond, in NanosecondsToDuration()
246 return CreateNormalized<Duration>( in MicrosecondsToDuration()
252 return CreateNormalized<Duration>( in MillisecondsToDuration()
258 return CreateNormalized<Duration>(seconds, 0); in SecondsToDuration()
262 return CreateNormalized<Duration>(minutes * kSecondsPerMinute, 0); in MinutesToDuration()
[all …]