Home
last modified time | relevance | path

Searched refs:NANOS_PER_SECOND (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java55 private static final long NANOS_PER_SECOND = 1000000000; field in TimeUtil
105 if (timestamp.getNanos() < 0 || timestamp.getNanos() >= NANOS_PER_SECOND) { in toString()
339 return normalizedTimestamp(nanoseconds / NANOS_PER_SECOND, in createTimestampFromNanos()
340 (int) (nanoseconds % NANOS_PER_SECOND)); in createTimestampFromNanos()
347 return normalizedDuration(nanoseconds / NANOS_PER_SECOND, in createDurationFromNanos()
348 (int) (nanoseconds % NANOS_PER_SECOND)); in createDurationFromNanos()
355 return timestamp.getSeconds() * NANOS_PER_SECOND + timestamp.getNanos(); in toNanos()
362 return duration.getSeconds() * NANOS_PER_SECOND + duration.getNanos(); in toNanos()
456 new BigInteger(String.valueOf(NANOS_PER_SECOND));
470 new BigInteger(String.valueOf(NANOS_PER_SECOND))).longValue(); in createDurationFromBigInteger()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/jni/
Dsles.h118 #define NANOS_PER_SECOND 1000000000 macro
Dsles.cpp215 return (int64_t) (currentTime.tv_sec - previousTime.tv_sec) * (int64_t) NANOS_PER_SECOND + in diffInNano()