/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | TimeUtilTest.java | 260 duration = TimeUtil.parseDuration("0.1s"); in testDurationStringFormat() 262 duration = TimeUtil.parseDuration("0.0001s"); in testDurationStringFormat() 264 duration = TimeUtil.parseDuration("0.0000001s"); in testDurationStringFormat() 269 duration = TimeUtil.parseDuration("315576000000.999999999s"); in testDurationStringFormat() 272 duration = TimeUtil.parseDuration("-315576000000.999999999s"); in testDurationStringFormat() 316 TimeUtil.parseDuration("-315576000001s"); in testDurationInvalidFormat() 324 TimeUtil.parseDuration("315576000001s"); in testDurationInvalidFormat() 332 TimeUtil.parseDuration(""); in testDurationInvalidFormat() 340 TimeUtil.parseDuration("0"); in testDurationInvalidFormat() 348 TimeUtil.parseDuration("0s0"); in testDurationInvalidFormat() [all …]
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 410 protected abstract void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit); in parseDuration() method in CacheBuilderSpec.DurationParser 438 parseDuration(spec, duration, timeUnit); in parse() 449 protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.AccessDurationParser 459 protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.WriteDurationParser 469 protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.RefreshDurationParser
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 411 protected abstract void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit); in parseDuration() method in CacheBuilderSpec.DurationParser 439 parseDuration(spec, duration, timeUnit); in parse() 450 protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.AccessDurationParser 460 protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) { in parseDuration() method in CacheBuilderSpec.WriteDurationParser 470 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/ |
D | ServiceConfigUtil.java | 115 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-10.0/llvm/lib/Support/ |
D | CachePruning.cpp | 51 static Expected<std::chrono::seconds> parseDuration(StringRef Duration) { in parseDuration() function 86 auto DurationOrErr = parseDuration(Value); in parseCachePruningPolicy() 91 auto DurationOrErr = parseDuration(Value); in parseCachePruningPolicy()
|
/external/llvm-project/llvm/lib/Support/ |
D | CachePruning.cpp | 51 static Expected<std::chrono::seconds> parseDuration(StringRef Duration) { in parseDuration() function 86 auto DurationOrErr = parseDuration(Value); in parseCachePruningPolicy() 91 auto DurationOrErr = parseDuration(Value); in parseCachePruningPolicy()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | DashManifestParser.java | 103 long durationMs = parseDuration(xpp, "mediaPresentationDuration", C.TIME_UNSET); in parseMediaPresentationDescription() 104 long minBufferTimeMs = parseDuration(xpp, "minBufferTime", C.TIME_UNSET); in parseMediaPresentationDescription() 107 long minUpdateTimeMs = dynamic ? parseDuration(xpp, "minimumUpdatePeriod", C.TIME_UNSET) in parseMediaPresentationDescription() 110 ? parseDuration(xpp, "timeShiftBufferDepth", C.TIME_UNSET) : C.TIME_UNSET; in parseMediaPresentationDescription() 112 ? parseDuration(xpp, "suggestedPresentationDelay", C.TIME_UNSET) : C.TIME_UNSET; in parseMediaPresentationDescription() 226 long startMs = parseDuration(xpp, "start", defaultStartMs); in parsePeriod() 227 long durationMs = parseDuration(xpp, "duration", C.TIME_UNSET); in parsePeriod() 1483 protected static long parseDuration(XmlPullParser xpp, String name, long defaultValue) { in parseDuration() method in DashManifestParser
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | TimeUtil.java | 119 public static Duration parseDuration(String value) throws ParseException { in parseDuration() method in TimeUtil
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | GPBUtil.php | 475 public static function parseDuration($value) function in Google\\Protobuf\\Internal\\GPBUtil
|
D | Message.php | 780 return GPBUtil::parseDuration($value); 1106 $this->mergeFrom(GPBUtil::parseDuration($array));
|