Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/util/
Dtime_util.cc51 static const int kNanosPerMillisecond = 1000000; variable
107 if (nanos % kNanosPerMillisecond == 0) { in FormatNanos()
108 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos()
244 (millis % kMillisPerSecond) * kNanosPerMillisecond); in MillisecondsToDuration()
270 RoundTowardZero(duration.nanos(), kNanosPerMillisecond); in DurationToMilliseconds()
299 millis % kMillisPerSecond * kNanosPerMillisecond); in MillisecondsToTimestamp()
317 RoundTowardZero(timestamp.nanos(), kNanosPerMillisecond); in TimestampToMilliseconds()
/external/protobuf/src/google/protobuf/stubs/
Dtime.cc24 static const int kNanosPerMillisecond = 1000000; variable
134 if (nanos % kNanosPerMillisecond == 0) { in FormatNanos()
135 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos()