Home
last modified time | relevance | path

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

123

/external/smali/smali/src/test/java/
DLongLiteralTest.java37 Assert.assertTrue(LiteralTools.parseLong("0x0L") == 0x0); in SuccessHexTests()
38 Assert.assertTrue(LiteralTools.parseLong("0x00L") == 0x0); in SuccessHexTests()
39 Assert.assertTrue(LiteralTools.parseLong("0x1L") == 0x1); in SuccessHexTests()
40 Assert.assertTrue(LiteralTools.parseLong("0x1234567890123456L") == 0x1234567890123456L); in SuccessHexTests()
41 Assert.assertTrue(LiteralTools.parseLong("0x7fffffffffffffffL") == 0x7fffffffffffffffL); in SuccessHexTests()
42 Assert.assertTrue(LiteralTools.parseLong("0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
43 Assert.assertTrue(LiteralTools.parseLong("0xFFFFFFFFFFFFFFFFL") == -1); in SuccessHexTests()
45 Assert.assertTrue(LiteralTools.parseLong("-0x00L") == 0); in SuccessHexTests()
46 Assert.assertTrue(LiteralTools.parseLong("-0x01L") == -1); in SuccessHexTests()
47 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/jetty/src/java/org/eclipse/jetty/server/
DInclusiveByteRange.java114 last = Long.parseLong(t.substring(d + 1).trim()); in satisfiableRanges()
123 first = Long.parseLong(t.substring(0,d).trim()); in satisfiableRanges()
124 last = Long.parseLong(t.substring(d + 1).trim()); in satisfiableRanges()
127 first = Long.parseLong(t.substring(0,d).trim()); in satisfiableRanges()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilderSpec.java304 protected abstract void parseLong(CacheBuilderSpec spec, long value); in parseLong() method in CacheBuilderSpec.LongParser
310 parseLong(spec, Long.parseLong(value)); in parse()
331 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
435 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()
DRSeqParser.java77 rseq.setSeqNumber(Long.parseLong(number)); in parse()
DCSeqParser.java64 c.setSeqNumber(Long.parseLong(number)); in parse()
/external/jetty/src/java/org/eclipse/jetty/util/
DStringUtil.java427 sidString.append(Long.parseLong(tmpBuilder.toString(), 16)); // '-' is in the subauth loop in sidBytesToString()
443 sidString.append('-').append(Long.parseLong(tmpBuilder.toString(), 16)); in sidBytesToString()
472 String hexStr = Long.toHexString(Long.parseLong(sidTokens[2])); in sidStringToBytes()
488 hexStr = Long.toHexString(Long.parseLong(sidTokens[i])); in sidStringToBytes()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DTestOptions.java402 timeout = Long.parseLong(buf); in getTimeout()
436 waitingTime = Long.parseLong(buf); in getWaitingTime()
/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/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/guava/guava-tests/test/com/google/common/collect/
DSpecialRandom.java33 : new SpecialRandom(Long.parseLong(s)); in valueOf()
/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/owasp/sanitizer/src/tests/org/owasp/html/
DFuzzyTestCase.java50 seed = Long.parseLong(seedStr);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContentUris.java24 return Long.parseLong(path); in parseId()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHeaderParser.java54 long seconds = Long.parseLong(value); in parseSeconds()
DCacheStrategy.java149 sentRequestMillis = Long.parseLong(value); in Factory()
151 receivedResponseMillis = Long.parseLong(value); in Factory()
/external/vogar/src/vogar/
DCommandBugDatabase.java28 openBugsSet.add(Long.parseLong(bug)); in bugsToOpenBugs()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenFormatTest.java121 fromDate = new Date(Long.parseLong(date.substring(kMILLIS.length()))); in testConvertDate()
124 fromDate = new Date(now+Long.parseLong(date.substring(kRELATIVE_MILLIS.length()))); in testConvertDate()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DDoSFilter.java222 delay = Long.parseLong(parameter); in init()
234 maxWait = Long.parseLong(parameter); in init()
240 throttle = Long.parseLong(parameter); in init()
246 maxRequestMs = Long.parseLong(parameter); in init()
252 maxIdleTrackerMs = Long.parseLong(parameter); in init()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultConnectionKeepAliveStrategy.java73 return Long.parseLong(value) * 1000; in getKeepAliveDuration()
/external/okhttp/android/main/java/com/squareup/okhttp/
DConfigAwareConnectionPool.java39 ? Long.parseLong(keepAliveDurationProperty)
/external/apache-http/src/org/apache/http/impl/entity/
DStrictContentLengthStrategy.java215 long len = Long.parseLong(s); in determineLength()
/external/jetty/src/java/org/eclipse/jetty/http/gzip/
DCompressedResponseWrapper.java216 _contentLength=Long.parseLong(value); in addHeader()
380 setContentLength(Long.parseLong(value)); in setHeader()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DDM.java43 return new Long(Long.parseLong(text)); in readInstance()

123