Home
last modified time | relevance | path

Searched refs:parseLong (Results 1 – 25 of 127) sorted by relevance

123456

/external/smali/smali/src/test/java/org/jf/smali/
DLongLiteralTest.java40 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/
DSrtParser.java51 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/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthSpanTest.java57 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()
DOpenCensusSleuthSpanContextHolderTest.java142 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/guava/guava/src/com/google/common/cache/
DCacheBuilderSpec.java305 protected abstract void parseLong(CacheBuilderSpec spec, long value); in parseLong() method in CacheBuilderSpec.LongParser
311 parseLong(spec, Long.parseLong(value)); in parse()
332 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
440 long duration = Long.parseLong(value.substring(0, value.length() - 1)); in parse()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DRAckParser.java80 rack.setRSequenceNumber(Long.parseLong(number)); in parse()
83 rack.setCSequenceNumber(Long.parseLong(number)); in parse()
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java159 phonePrefix = Long.parseLong(phonePrefixStr.substring(0, possibleLength)); in lookup()
182 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java161 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/
DTestOptions.java409 timeout = Long.parseLong(buf); in getTimeout()
443 waitingTime = Long.parseLong(buf); in getWaitingTime()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPUtils.java368 return Long.parseLong(rawValue.substring(2), 16); in convertToLong()
372 return Long.parseLong(rawValue); in convertToLong()
/external/archive-patcher/tools/src/main/java/com/google/archivepatcher/tools/
DFileByFileTool.java131 totalRecompressionLimit = Long.parseLong(popOrDie(argIterator, "--trl")); in run()
136 deltaFriendlyOldBlobSizeLimit = Long.parseLong(popOrDie(argIterator, "--dfobsl")); in run()
DPatchExplainerTool.java117 totalRecompressionLimit = Long.parseLong(popOrDie(argIterator, "--trl")); in run()
122 deltaFriendlyOldBlobSizeLimit = Long.parseLong(popOrDie(argIterator, "--dfobsl")); in run()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
DAbstractAppleMetaDataBox.java115 IsoTypeWriter.writeUInt32(bb, Long.parseLong(value)); in setValue()
117 IsoTypeWriter.writeUInt64(bb, Long.parseLong(value)); in setValue()
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java81 maxAge = Long.parseLong(token.substring(8)); in parseCacheHeaders()
86 staleWhileRevalidate = Long.parseLong(token.substring(23)); in parseCacheHeaders()
/external/jcommander/src/main/java/com/beust/jcommander/converters/
DLongConverter.java36 return Long.parseLong(value); in convert()
/external/guava/guava-tests/test/com/google/common/collect/
DSpecialRandom.java33 : new SpecialRandom(Long.parseLong(s)); in valueOf()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DFuzzyTestCase.java50 seed = Long.parseLong(seedStr);
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DFunctionalInterfaceWithInitializerAndDefaultMethods.java29 long LONG = Long.parseLong("0");
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentUris.java23 return Long.parseLong(path); in parseId()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java155 primary = Long.parseLong(temp.charAt(0) + temp.substring(2, expPos)); in DecimalQuantity_SimpleStorage()
161 primary = Long.parseLong(temp.substring(2)); // ignores leading zeros in DecimalQuantity_SimpleStorage()
171 primary = Long.parseLong(temp.substring(0, rightmostNonzeroDigitIndex + 1)); in DecimalQuantity_SimpleStorage()
185 primary = Long.parseLong(temp.substring(0, decimalPos) + temp.substring(decimalPos + 1)); in DecimalQuantity_SimpleStorage()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java507 _setToLong(Long.parseLong(dstr.charAt(0) + dstr.substring(2, expPos))); in convertToAccurateDouble()
512 _setToLong(Long.parseLong(dstr.substring(2))); in convertToAccurateDouble()
520 _setToLong(Long.parseLong(dstr.substring(0, dstr.length() - 2))); in convertToAccurateDouble()
525 … _setToLong(Long.parseLong(dstr.substring(0, decimalPos) + dstr.substring(decimalPos + 1))); in convertToAccurateDouble()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java152 primary = Long.parseLong(temp.charAt(0) + temp.substring(2, expPos)); in DecimalQuantity_SimpleStorage()
158 primary = Long.parseLong(temp.substring(2)); // ignores leading zeros in DecimalQuantity_SimpleStorage()
168 primary = Long.parseLong(temp.substring(0, rightmostNonzeroDigitIndex + 1)); in DecimalQuantity_SimpleStorage()
182 primary = Long.parseLong(temp.substring(0, decimalPos) + temp.substring(decimalPos + 1)); in DecimalQuantity_SimpleStorage()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveEntry.java1079 setGroupId(Long.parseLong(val)); in processPaxHeader()
1085 setUserId(Long.parseLong(val)); in processPaxHeader()
1091 setSize(Long.parseLong(val)); in processPaxHeader()
1436 realSize = Long.parseLong(headers.get("SCHILY.realsize")); in fillStarSparseData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java505 _setToLong(Long.parseLong(dstr.charAt(0) + dstr.substring(2, expPos))); in convertToAccurateDouble()
510 _setToLong(Long.parseLong(dstr.substring(2))); in convertToAccurateDouble()
518 _setToLong(Long.parseLong(dstr.substring(0, dstr.length() - 2))); in convertToAccurateDouble()
523 … _setToLong(Long.parseLong(dstr.substring(0, decimalPos) + dstr.substring(decimalPos + 1))); in convertToAccurateDouble()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java243 long seconds = Long.parseLong(secondValue); in parseDuration()
547 return (Long.parseLong(hours) * 60 + Long.parseLong(minutes)) * 60; in parseTimezoneOffset()

123456