Home
last modified time | relevance | path

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

/external/protobuf/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()
238 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()
265 RoundTowardZero(duration.nanos(), kNanosPerMicrosecond); in DurationToMicroseconds()
293 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()
312 RoundTowardZero(timestamp.nanos(), kNanosPerMicrosecond); in TimestampToMicroseconds()
334 value.tv_usec * kNanosPerMicrosecond); in TimevalToTimestamp()
340 result.tv_usec = RoundTowardZero(value.nanos(), kNanosPerMicrosecond); in TimestampToTimeval()
346 value.tv_usec * kNanosPerMicrosecond); in TimevalToDuration()
[all …]
/external/v8/src/base/platform/
Dplatform-fuchsia.cc137 const auto kNanosPerMicrosecond = 1000ULL; in GetUserTime() local
143 (nanos_since_thread_started + kNanosPerMicrosecond - 1ULL) / in GetUserTime()
144 kNanosPerMicrosecond; in GetUserTime()
/external/protobuf/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()