Home
last modified time | relevance | path

Searched refs:parseLong (Results 1 – 25 of 56) 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/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()
DTimeStampParser.java88 long ts = Long.parseLong(firstNumber); in parse()
/external/chromium_org/third_party/WebKit/Source/wtf/
DDateMath.cpp492 static bool parseLong(const char* string, char** stopPosition, int base, long* result) in parseLong() function
549 if (!parseLong(dateString, &newPosStr, 10, &day)) in parseDateFromNullTerminatedCharacters()
570 if (!parseLong(dateString, &newPosStr, 10, &month)) in parseDateFromNullTerminatedCharacters()
576 if (!parseLong(dateString, &newPosStr, 10, &day)) in parseDateFromNullTerminatedCharacters()
583 if (!parseLong(dateString, &newPosStr, 10, &day)) in parseDateFromNullTerminatedCharacters()
647 parseLong(dateString, &newPosStr, 10, &hour); in parseDateFromNullTerminatedCharacters()
666 if (!parseLong(dateString, &newPosStr, 10, &minute)) in parseDateFromNullTerminatedCharacters()
681 if (!parseLong(dateString, &newPosStr, 10, &second)) in parseDateFromNullTerminatedCharacters()
/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/java/src/com/android/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java159 phonePrefix = Long.parseLong(phonePrefixStr.substring(0, possibleLength)); in lookup()
182 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
DPrefixTimeZonesMap.java91 long phonePrefix = Long.parseLong(number.getCountryCode() + in lookupTimeZonesForNumber()
/external/smack/src/com/kenai/jbosh/
DBOSHClient.java1315 ackUpTo = Long.parseLong(req.getAttribute(Attributes.RID)); in processRequestAcknowledgements()
1317 ackUpTo = Long.parseLong(acked); in processRequestAcknowledgements()
1327 Long pendingRID = Long.parseLong( in processRequestAcknowledgements()
1347 Long rid = Long.parseLong(req.getAttribute(Attributes.RID)); in processResponseAcknowledgementData()
1385 Long report = Long.parseLong(reportStr); in processResponseAcknowledgementReport()
1386 Long time = Long.parseLong(resp.getAttribute(Attributes.TIME)); in processResponseAcknowledgementReport()
1397 Long pendingRID = Long.parseLong( in processResponseAcknowledgementReport()
/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/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/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHeaderParser.java54 long seconds = Long.parseLong(value); in parseSeconds()
DCacheStrategy.java156 sentRequestMillis = Long.parseLong(value); in Factory()
158 receivedResponseMillis = Long.parseLong(value); in Factory()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultConnectionKeepAliveStrategy.java73 return Long.parseLong(value) * 1000; in getKeepAliveDuration()
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/provider/
DDataPacketProvider.java34 long seq = Long.parseLong(parser.getAttributeValue("", "seq")); in parseExtension()
/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/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DDM.java43 return new Long(Long.parseLong(text)); in readInstance()
/external/chromium_org/components/bookmarks/common/android/java/src/org/chromium/components/bookmarks/
DBookmarkId.java67 id = Long.parseLong(s); in getBookmarkIdFromString()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DColorResourceLoader.java49 long color = Long.parseLong(rawValue.substring(1), 16); in convertRawValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERObjectIdentifier.java260 writeField(aOut, first + Long.parseLong(secondToken)); in doOutput()
272 writeField(aOut, Long.parseLong(token)); in doOutput()

123