Home
last modified time | relevance | path

Searched refs:parseDuration (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DTimeUtilTest.java262 duration = TimeUtil.parseDuration("0.1s"); in testDurationStringFormat()
264 duration = TimeUtil.parseDuration("0.0001s"); in testDurationStringFormat()
266 duration = TimeUtil.parseDuration("0.0000001s"); in testDurationStringFormat()
271 duration = TimeUtil.parseDuration("315576000000.999999999s"); in testDurationStringFormat()
274 duration = TimeUtil.parseDuration("-315576000000.999999999s"); in testDurationStringFormat()
322 TimeUtil.parseDuration("-315576000001s"); in testDurationInvalidFormat()
330 TimeUtil.parseDuration("315576000001s"); in testDurationInvalidFormat()
338 TimeUtil.parseDuration(""); in testDurationInvalidFormat()
346 TimeUtil.parseDuration("0"); in testDurationInvalidFormat()
354 TimeUtil.parseDuration("0s0"); in testDurationInvalidFormat()
[all …]
DJsonFormatTest.java725 .setDurationValue(TimeUtil.parseDuration("12345s")) in testDuration()
920 anyMessage = Any.pack(TimeUtil.parseDuration("12345.10s")); in testAnyFields()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilderSpec.java410 protected abstract void parseDuration( in parseDuration() method in CacheBuilderSpec.DurationParser
441 parseDuration(spec, duration, timeUnit); in parse()
451 @Override protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.AccessDurationParser
460 @Override protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.WriteDurationParser
469 @Override protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.RefreshDurationParser
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServiceConfigUtil.java115 return parseDuration(rawInitialBackoff); in getInitialBackoffNanosFromRetryPolicy()
128 return parseDuration(rawMaxBackoff); in getMaxBackoffNanosFromRetryPolicy()
165 return parseDuration(rawHedgingDelay); in getHedgingDelayNanosFromHedgingPolicy()
231 return parseDuration(rawTimeout); in getTimeoutFromMethodConfig()
406 private static long parseDuration(String value) throws ParseException {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCachePruning.cpp37 static Expected<std::chrono::seconds> parseDuration(StringRef Duration) { in parseDuration() function
72 auto DurationOrErr = parseDuration(Value); in parseCachePruningPolicy()
77 auto DurationOrErr = parseDuration(Value); in parseCachePruningPolicy()
/external/syzkaller/vendor/google.golang.org/grpc/
Dservice_config.go80 func parseDuration(s *string) (*time.Duration, error) { func
177 d, err := parseDuration(m.Timeout)
/external/v8/tools/
Dparse-processor.js86 this.parseDuration = -0.0;
372 info('fully parsed', all.filter(each => each.parseDuration > 0));
381 new ExecutionCost('parse', all, each => each.parseDuration);
646 this.parseTimestamp + this.parseDuration,
1002 funktion.parseDuration = duration;
1009 funktion.parseDuration = duration;
1018 script.parseDuration = duration;
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java226 public static Duration parseDuration(String value) throws ParseException { in parseDuration() method in TimeUtil
DJsonFormat.java1208 Duration value = TimeUtil.parseDuration(json.getAsString()); in mergeDuration()