Home
last modified time | relevance | path

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

/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java63 static final long NANOS_PER_MILLISECOND = 1000000; field in Timestamps
306 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in fromMillis()
320 timestamp.getNanos() / NANOS_PER_MILLISECOND); in toMillis()
429 if (nanos % NANOS_PER_MILLISECOND == 0) { in formatNanos()
430 return String.format(Locale.ENGLISH, "%1$03d", nanos / NANOS_PER_MILLISECOND); in formatNanos()
DDurations.java42 import static com.google.protobuf.util.Timestamps.NANOS_PER_MILLISECOND;
314 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in fromMillis()
397 duration.getNanos() / NANOS_PER_MILLISECOND); in toMillis()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DGPBUtil.php55 const NANOS_PER_MILLISECOND = 1000000; define in Google\\Protobuf\\Internal\\GPBUtil
582 if ($nanoseconds % static::NANOS_PER_MILLISECOND == 0) {
583 return sprintf('%03d', $nanoseconds / static::NANOS_PER_MILLISECOND);
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.h65 #define NANOS_PER_MILLISECOND (1000 * NANOS_PER_MICROSECOND) macro
66 #define NANOS_PER_SECOND (1000 * NANOS_PER_MILLISECOND)