Searched refs:kNanosPerMillisecond (Results 1 – 11 of 11) sorted by relevance
/third_party/protobuf/src/google/protobuf/util/ |
D | time_util.cc | 54 static const int kNanosPerMillisecond = 1000000; variable 108 if (nanos % kNanosPerMillisecond == 0) { in FormatNanos() 109 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos() 254 (millis % kMillisPerSecond) * kNanosPerMillisecond); in MillisecondsToDuration() 280 RoundTowardZero(duration.nanos(), kNanosPerMillisecond); in DurationToMilliseconds() 309 millis % kMillisPerSecond * kNanosPerMillisecond); in MillisecondsToTimestamp() 327 RoundTowardZero(timestamp.nanos(), kNanosPerMillisecond); in TimestampToMilliseconds()
|
/third_party/skia/third_party/externals/oboe/tests/ |
D | testStreamWaitState.cpp | 79 r = mStream->waitForStateChange(StreamState::Started, &next, 1000 * kNanosPerMillisecond); in checkStopWhileWaiting() 84 … r = mStream->waitForStateChange(StreamState::Stopping, &next, 1000 * kNanosPerMillisecond); in checkStopWhileWaiting() 104 r = mStream->waitForStateChange(StreamState::Started, &next, 1000 * kNanosPerMillisecond); in checkCloseWhileWaiting() 117 static constexpr int kTimeoutInNanos = 100 * kNanosPerMillisecond;
|
D | testStreamStates.cpp | 136 static constexpr int kTimeoutInNanos = 500 * kNanosPerMillisecond;
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
D | Definitions.h | 43 constexpr int64_t kNanosPerMillisecond = kNanosPerMicrosecond * 1000; variable 53 constexpr int64_t kNanosPerSecond = kNanosPerMillisecond * kMillisPerSecond;
|
D | AudioStream.h | 39 constexpr int64_t kDefaultTimeoutNanos = (2000 * kNanosPerMillisecond);
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | time.cc | 24 static const int kNanosPerMillisecond = 1000000; variable 134 if (nanos % kNanosPerMillisecond == 0) { in FormatNanos() 135 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos()
|
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/ |
D | HelloOboeEngine.cpp | 51 const int64_t kNanosPerMillisecond = 1000000; in getCurrentOutputLatencyMillis() local 67 / kNanosPerMillisecond; in getCurrentOutputLatencyMillis()
|
/third_party/skia/third_party/externals/oboe/src/aaudio/ |
D | AudioStreamAAudio.cpp | 455 int64_t sleepTimeNanos = 20 * kNanosPerMillisecond; // arbitrary in waitForStateChange() 648 double latencyMillis = latencyNanos / kNanosPerMillisecond; in calculateLatencyMillis()
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
D | AudioStreamBuffered.cpp | 181 const int64_t minSleepTime = kNanosPerMillisecond; // arbitrary in transfer()
|
D | AudioStreamOpenSLES.cpp | 370 int64_t sleepTimeNanos = 20 * kNanosPerMillisecond; // arbitrary in waitForStateChange()
|
/third_party/skia/third_party/externals/oboe/docs/ |
D | FullGuide.md | 257 int64_t timeoutNanos = 100 * kNanosPerMillisecond;
|