Home
last modified time | relevance | path

Searched refs:Durations (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java108 return Durations.toString(duration); in toString()
120 return Durations.parse(value); in parseDuration()
140 return Durations.fromMillis(milliseconds); in createDurationFromMillis()
166 return Durations.toMillis(duration); in toMillis()
186 return Durations.fromMicros(microseconds); in createDurationFromMicros()
212 return Durations.toMicros(duration); in toMicros()
232 return Durations.fromNanos(nanoseconds); in createDurationFromNanos()
252 return Durations.toNanos(duration); in toNanos()
312 return Durations.add(d1, d2); in add()
322 return Durations.subtract(d1, d2); in subtract()
DTimestamps.java364 return Durations.normalizedDuration( in between()
372 Durations.checkValid(length); in add()
381 Durations.checkValid(length); in subtract()
DDurations.java54 public final class Durations { class
73 private Durations() {} in Durations() method in Durations
DJsonFormat.java862 generator.print("\"" + Durations.toString(value) + "\""); in printDuration()
1487 Duration value = Durations.parse(json.getAsString()); in mergeDuration()
/external/llvm-project/libc/benchmarks/
DLibcBenchmarkTest.cpp65 void setMeasurements(llvm::ArrayRef<Duration> Durations) { in setMeasurements() argument
68 for (const auto &Duration : Durations) { in setMeasurements()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dabseil-duration-subtraction.rst24 // Original - Subtraction of two Durations in the double domain
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java24 import com.google.protobuf.util.Durations;
253 .setDuration(Durations.fromSeconds(lingerSeconds)) in toSocketOptionLinger()
274 .setDuration(Durations.fromMillis(timeoutMillis)) in toSocketOptionTimeout()
DBinlogHelper.java30 import com.google.protobuf.util.Durations;
418 : Durations.fromNanos(deadline.timeRemaining(TimeUnit.NANOSECONDS)); in getClientInterceptor()
518 : Durations.fromNanos(deadline.timeRemaining(TimeUnit.NANOSECONDS));
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java32 import com.google.protobuf.util.Durations;
171 .setDuration(Durations.fromSeconds(10))
181 .setDuration(Durations.fromMillis(200))
DBinlogHelperTest.java45 import com.google.protobuf.util.Durations;
555 Duration timeout = Durations.fromMillis(1234); in logClientHeader()
1016 assertThat(TimeUnit.SECONDS.toNanos(1) - Durations.toNanos(timeout)) in clientDeadlineLogged_deadlineSetViaCallOption()
1072 assertThat(TimeUnit.SECONDS.toNanos(1) - Durations.toNanos(timeout)) in clientDeadlineLogged_deadlineSetViaContext()
/external/python/pybind11/docs/advanced/cast/
Dchrono.rst53 Durations are converted to timedeltas, any precision in the duration
/external/protobuf/src/google/protobuf/
Dduration.proto110 // of time. Durations less than one second are represented with a 0
/external/golang-protobuf/ptypes/duration/
Dduration.proto110 // of time. Durations less than one second are represented with a 0
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java787 TestDuration.newBuilder().setDurationValue(Durations.parse("12345s")).build(); in testDuration()
989 anyMessage = Any.pack(Durations.parse("12345.10s")); in testAnyFields()
1054 testAny.putAnyMap("duration", Any.pack(Durations.parse("12345.1s"))); in testAnyInMaps()
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbState.java31 import com.google.protobuf.util.Durations;
553 Durations.toMillis(initialResponse.getClientStatsReportInterval()); in handleResponse()
/external/toybox/
DConfig.in34 Durations can be decimal fractions and accept minute ("m"), hour ("h"),
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java48 import com.google.protobuf.util.Durations;
1586 .setClientStatsReportInterval(Durations.fromMillis(loadReportIntervalMillis))) in buildInitialResponse()
/external/libtextclassifier/native/annotator/
Dmodel.fbs858 // Durations typically look like XX hours and XX minutes etc... The list of
/external/protobuf/
DMakefile.am491 java/util/src/main/java/com/google/protobuf/util/Durations.java \
DCHANGES.txt471 * Added Durations.compare(Duration, Duration) and