Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/util/
Dtime_util.cc55 static const int kNanosPerMicrosecond = 1000; variable
110 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()
111 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()
248 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()
275 RoundTowardZero(duration.nanos(), kNanosPerMicrosecond); in DurationToMicroseconds()
303 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()
322 RoundTowardZero(timestamp.nanos(), kNanosPerMicrosecond); in TimestampToMicroseconds()
344 value.tv_usec * kNanosPerMicrosecond); in TimevalToTimestamp()
350 result.tv_usec = RoundTowardZero(value.nanos(), kNanosPerMicrosecond); in TimestampToTimeval()
356 value.tv_usec * kNanosPerMicrosecond); in TimevalToDuration()
[all …]
/third_party/skia/third_party/externals/oboe/include/oboe/
DDefinitions.h38 constexpr int64_t kNanosPerMicrosecond = 1000; variable
43 constexpr int64_t kNanosPerMillisecond = kNanosPerMicrosecond * 1000;
/third_party/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()
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamBuffered.cpp107 const int64_t margin = 200 * kNanosPerMicrosecond; // arbitrary delay so we wake up just after in predictNextCallbackTime()