Home
last modified time | relevance | path

Searched refs:normalizedDuration (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java253 return normalizedDuration(seconds, nanos); in parseDuration()
271 return normalizedDuration(milliseconds / MILLIS_PER_SECOND, in createDurationFromMillis()
309 return normalizedDuration(microseconds / MICROS_PER_SECOND, in createDurationFromMicros()
347 return normalizedDuration(nanoseconds / NANOS_PER_SECOND, in createDurationFromNanos()
383 return normalizedDuration(to.getSeconds() - from.getSeconds(), in distance()
407 return normalizedDuration(d1.getSeconds() + d2.getSeconds(), in add()
415 return normalizedDuration(d1.getSeconds() - d2.getSeconds(), in subtract()
429 return normalizedDuration(seconds, nanos); in multiply()
473 return normalizedDuration(seconds, nanos); in createDurationFromBigInteger()
477 private static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration() method in TimeUtil
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServiceConfigUtil.java433 return normalizedDuration(seconds, nanos);
462 private static long normalizedDuration(long seconds, int nanos) {