/external/smali/smali/src/test/java/org/jf/smali/ |
D | LongLiteralTest.java | 40 Assert.assertTrue(LiteralTools.parseLong("0x0L") == 0x0); in SuccessHexTests() 41 Assert.assertTrue(LiteralTools.parseLong("0x00L") == 0x0); in SuccessHexTests() 42 Assert.assertTrue(LiteralTools.parseLong("0x1L") == 0x1); in SuccessHexTests() 43 Assert.assertTrue(LiteralTools.parseLong("0x1234567890123456L") == 0x1234567890123456L); in SuccessHexTests() 44 Assert.assertTrue(LiteralTools.parseLong("0x7fffffffffffffffL") == 0x7fffffffffffffffL); in SuccessHexTests() 45 Assert.assertTrue(LiteralTools.parseLong("0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests() 46 Assert.assertTrue(LiteralTools.parseLong("0xFFFFFFFFFFFFFFFFL") == -1); in SuccessHexTests() 48 Assert.assertTrue(LiteralTools.parseLong("-0x00L") == 0); in SuccessHexTests() 49 Assert.assertTrue(LiteralTools.parseLong("-0x01L") == -1); in SuccessHexTests() 50 Assert.assertTrue(LiteralTools.parseLong("-0x1234567890123456L") == -0x1234567890123456L); in SuccessHexTests() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
D | SrtParser.java | 51 long hours = Long.parseLong(in.split(":")[0].trim()); in parse() 52 long minutes = Long.parseLong(in.split(":")[1].trim()); in parse() 53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parse() 54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parse()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | CpuMonitor.java | 464 number = parseLong(line); in readFreqFromFile() 475 private static long parseLong(String value) { in parseLong() method in CpuMonitor 478 number = Long.parseLong(value); in parseLong() 504 userTime = parseLong(lines[1]); // user in readProcStat() 505 userTime += parseLong(lines[2]); // nice in readProcStat() 506 systemTime = parseLong(lines[3]); // system in readProcStat() 507 idleTime = parseLong(lines[4]); // idle in readProcStat() 510 userTime += parseLong(lines[5]); // iowait in readProcStat() 511 systemTime += parseLong(lines[6]); // irq in readProcStat() 512 systemTime += parseLong(lines[7]); // softirq in readProcStat()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpanTest.java | 57 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(0, 16), 16)) in assertSpanEquals() 59 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(16, 32), 16)) in assertSpanEquals() 61 assertThat(Long.parseLong(span.getContext().getSpanId().toLowerBase16(), 16)) in assertSpanEquals()
|
D | OpenCensusSleuthSpanContextHolderTest.java | 142 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(0, 16), 16)) in assertSpanEquals() 144 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(16, 32), 16)) in assertSpanEquals() 146 assertThat(Long.parseLong(span.getContext().getSpanId().toLowerBase16(), 16)) in assertSpanEquals()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | SimpleCacheSpan.java | 147 long position = Long.parseLong(Assertions.checkNotNull(matcher.group(2))); in createCacheEntry() 149 lastTouchTimestamp = Long.parseLong(Assertions.checkNotNull(matcher.group(3))); in createCacheEntry() 184 Long.parseLong(Assertions.checkNotNull(matcher.group(2))), in upgradeFile() 185 Long.parseLong(Assertions.checkNotNull(matcher.group(3)))); in upgradeFile()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | DashManifestParser.java | 686 long timescale = parseLong(xpp, "timescale", parent != null ? parent.timescale : 1); in parseSegmentBase() 687 long presentationTimeOffset = parseLong(xpp, "presentationTimeOffset", in parseSegmentBase() 695 indexStart = Long.parseLong(indexRange[0]); in parseSegmentBase() 696 indexLength = Long.parseLong(indexRange[1]) - indexStart + 1; in parseSegmentBase() 723 long timescale = parseLong(xpp, "timescale", parent != null ? parent.timescale : 1); in parseSegmentList() 724 long presentationTimeOffset = parseLong(xpp, "presentationTimeOffset", in parseSegmentList() 726 long duration = parseLong(xpp, "duration", parent != null ? parent.duration : C.TIME_UNSET); in parseSegmentList() 727 long startNumber = parseLong(xpp, "startNumber", parent != null ? parent.startNumber : 1); in parseSegmentList() 777 long timescale = parseLong(xpp, "timescale", parent != null ? parent.timescale : 1); in parseSegmentTemplate() 778 long presentationTimeOffset = parseLong(xpp, "presentationTimeOffset", in parseSegmentTemplate() [all …]
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/ |
D | NumberInput.java | 110 public static long parseLong(char[] ch, int off, int len) in parseLong() method in NumberInput 118 public static long parseLong(String s) in parseLong() method in NumberInput 128 return Long.parseLong(s); in parseLong() 253 return Long.parseLong(s); in parseAsLong()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | RAckParser.java | 80 rack.setRSequenceNumber(Long.parseLong(number)); in parse() 83 rack.setCSequenceNumber(Long.parseLong(number)); in parse()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/subrip/ |
D | SubripDecoder.java | 235 long timestampMs = hours != null ? Long.parseLong(hours) * 60 * 60 * 1000 : 0; in parseTimecode() 237 Long.parseLong(Assertions.checkNotNull(matcher.group(groupOffset + 2))) * 60 * 1000; in parseTimecode() 238 timestampMs += Long.parseLong(Assertions.checkNotNull(matcher.group(groupOffset + 3))) * 1000; in parseTimecode() 241 timestampMs += Long.parseLong(millis); in parseTimecode()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 303 protected abstract void parseLong(CacheBuilderSpec spec, long value); in parseLong() method in CacheBuilderSpec.LongParser 309 parseLong(spec, Long.parseLong(value)); in parse() 332 protected void parseLong(CacheBuilderSpec spec, long value) { in parseLong() method in CacheBuilderSpec.MaximumSizeParser 343 protected void parseLong(CacheBuilderSpec spec, long value) { in parseLong() method in CacheBuilderSpec.MaximumWeightParser 437 long duration = Long.parseLong(value.substring(0, value.length() - 1)); in parse()
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 304 protected abstract void parseLong(CacheBuilderSpec spec, long value); in parseLong() method in CacheBuilderSpec.LongParser 310 parseLong(spec, Long.parseLong(value)); in parse() 333 protected void parseLong(CacheBuilderSpec spec, long value) { in parseLong() method in CacheBuilderSpec.MaximumSizeParser 344 protected void parseLong(CacheBuilderSpec spec, long value) { in parseLong() method in CacheBuilderSpec.MaximumWeightParser 438 long duration = Long.parseLong(value.substring(0, value.length() - 1)); in parse()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttParserUtil.java | 71 value = (value * 60) + Long.parseLong(subpart); in parseTimestampUs() 75 value += Long.parseLong(parts[1]); in parseTimestampUs()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/ |
D | SsManifestParser.java | 287 protected final long parseLong(XmlPullParser parser, String key, long defaultValue) in parseLong() method in SsManifestParser.ElementParser 292 return Long.parseLong(value); in parseLong() 306 return Long.parseLong(value); in parseRequiredLong() 360 timescale = parseLong(parser, KEY_TIME_SCALE, 10000000L); in parseStartTag() 362 dvrWindowLength = parseLong(parser, KEY_DVR_WINDOW_LENGTH, 0); in parseStartTag() 558 long startTime = parseLong(parser, KEY_FRAGMENT_START_TIME, C.TIME_UNSET); in parseStreamFragmentStartTag() 573 lastChunkDuration = parseLong(parser, KEY_FRAGMENT_DURATION, C.TIME_UNSET); in parseStreamFragmentStartTag() 575 long repeatCount = parseLong(parser, KEY_FRAGMENT_REPEAT_COUNT, 1L); in parseStreamFragmentStartTag()
|
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/ |
D | PhonePrefixMap.java | 161 phonePrefix = Long.parseLong(phonePrefixStr.substring(0, possibleLength)); in lookup() 184 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
D | TestOptions.java | 409 timeout = Long.parseLong(buf); in getTimeout() 443 waitingTime = Long.parseLong(buf); in getWaitingTime()
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | PhonePrefixMap.java | 159 phonePrefix = Long.parseLong(phonePrefixStr.substring(0, possibleLength)); in lookup() 182 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/ |
D | SsaDecoder.java | 289 Long.parseLong(castNonNull(matcher.group(1))) * 60 * 60 * C.MICROS_PER_SECOND; in parseTimecodeUs() 290 timestampUs += Long.parseLong(castNonNull(matcher.group(2))) * 60 * C.MICROS_PER_SECOND; in parseTimecodeUs() 291 timestampUs += Long.parseLong(castNonNull(matcher.group(3))) * C.MICROS_PER_SECOND; in parseTimecodeUs() 292 timestampUs += Long.parseLong(castNonNull(matcher.group(4))) * 10000; // 100ths of a second. in parseTimecodeUs()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPUtils.java | 368 return Long.parseLong(rawValue.substring(2), 16); in convertToLong() 372 return Long.parseLong(rawValue); in convertToLong()
|
/external/jcommander/src/main/java/com/beust/jcommander/converters/ |
D | LongConverter.java | 36 return Long.parseLong(value); in convert()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | SpecialRandom.java | 31 return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); in valueOf()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | SpecialRandom.java | 31 return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); in valueOf()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
D | AbstractAppleMetaDataBox.java | 115 IsoTypeWriter.writeUInt32(bb, Long.parseLong(value)); in setValue() 117 IsoTypeWriter.writeUInt64(bb, Long.parseLong(value)); in setValue()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/ |
D | TextBuffer.java | 519 return -NumberInput.parseLong(_inputBuffer, _inputStart+1, _inputLen-1); in contentsAsLong() 521 return NumberInput.parseLong(_inputBuffer, _inputStart, _inputLen); in contentsAsLong() 524 return -NumberInput.parseLong(_currentSegment, 1, _currentSize-1); in contentsAsLong() 526 return NumberInput.parseLong(_currentSegment, 0, _currentSize); in contentsAsLong()
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | FuzzyTestCase.java | 50 seed = Long.parseLong(seedStr);
|