Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtime_util.cc53 static const int kNanosPerMicrosecond = 1000; variable
109 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()
110 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()
245 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()
272 RoundTowardZero(duration.nanos(), kNanosPerMicrosecond); in DurationToMicroseconds()
300 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()
319 RoundTowardZero(timestamp.nanos(), kNanosPerMicrosecond); in TimestampToMicroseconds()
341 value.tv_usec * kNanosPerMicrosecond); in TimevalToTimestamp()
347 result.tv_usec = RoundTowardZero(value.nanos(), kNanosPerMicrosecond); in TimestampToTimeval()
353 value.tv_usec * kNanosPerMicrosecond); in TimevalToDuration()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dtime.cc25 static const int kNanosPerMicrosecond = 1000; variable
136 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()
137 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()