Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
251 (millis % kMillisPerSecond) * kNanosPerMillisecond); in MillisecondsToDuration()
277 RoundTowardZero(duration.nanos(), kNanosPerMillisecond); in DurationToMilliseconds()
306 millis % kMillisPerSecond * kNanosPerMillisecond); in MillisecondsToTimestamp()
324 RoundTowardZero(timestamp.nanos(), kNanosPerMillisecond); in TimestampToMilliseconds()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()