Home
last modified time | relevance | path

Searched refs:kMillisPerSecond (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/
Dtime_util.cc53 static const int kMillisPerSecond = 1000; variable
253 millis / kMillisPerSecond, in MillisecondsToDuration()
254 (millis % kMillisPerSecond) * kNanosPerMillisecond); in MillisecondsToDuration()
279 return duration.seconds() * kMillisPerSecond + in DurationToMilliseconds()
308 millis / kMillisPerSecond, in MillisecondsToTimestamp()
309 millis % kMillisPerSecond * kNanosPerMillisecond); in MillisecondsToTimestamp()
326 return timestamp.seconds() * kMillisPerSecond + in TimestampToMilliseconds()
/third_party/skia/third_party/externals/oboe/include/oboe/
DDefinitions.h48 constexpr int64_t kMillisPerSecond = 1000; variable
53 constexpr int64_t kNanosPerSecond = kNanosPerMillisecond * kMillisPerSecond;
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DLatencyAnalyzer.h52 static constexpr int32_t kMillisPerSecond = 1000; variable
391 int32_t maxLatencyFrames = getSampleRate() * kMaxLatencyMillis / kMillisPerSecond; in PulseLatencyAnalyzer()
393 / (kFramesPerEncodedBit * kMillisPerSecond); in PulseLatencyAnalyzer()
474 double latencyMillis = kMillisPerSecond * (double) mLatencyReport.latencyInFrames in analyze()
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.cpp108 (kHighLatencyBufferSizeMillis * sampleRate) / kMillisPerSecond; in configureBufferSizes()
362 int64_t framesProcessed = millis64 * getSampleRate() / kMillisPerSecond; in getFramesProcessedByServer()
DAudioOutputStreamOpenSLES.cpp151 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()
414 int64_t millisWritten = framesRead * kMillisPerSecond / getSampleRate(); in setFramesRead()
DAudioInputStreamOpenSLES.cpp108 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()