Home
last modified time | relevance | path

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

/external/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()
/external/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);
/external/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.h67 #define NANOS_PER_MILLISECOND (1000 * NANOS_PER_MICROSECOND) macro
68 #define NANOS_PER_SECOND (1000 * NANOS_PER_MILLISECOND)
194 return coldStartLatencyNanos / NANOS_PER_MILLISECOND; in calculateColdStartLatencyMillis()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DStatszZPageHandler.java112 private static final long NANOS_PER_MILLISECOND = 1000 * 1000; field in StatszZPageHandler
367 + timestamp.getNanos() / NANOS_PER_MILLISECOND)); in toDate()