/external/smali/smali/src/test/java/ |
D | LongLiteralTest.java | 37 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | LongTest.java | 203 long l = Long.parseLong("89000000005"); in test_parseLongLjava_lang_String2() 205 assertEquals("Returned incorrect value for 0", 0, Long.parseLong("0")); in test_parseLongLjava_lang_String2() 207 .parseLong("-9223372036854775808") == 0x8000000000000000L); in test_parseLongLjava_lang_String2() 209 .parseLong("9223372036854775807") == 0x7fffffffffffffffL); in test_parseLongLjava_lang_String2() 213 Long.parseLong("9223372036854775808"); in test_parseLongLjava_lang_String2() 222 Long.parseLong("-9223372036854775809"); in test_parseLongLjava_lang_String2() 236 100000000L, Long.parseLong("100000000", 10)); in test_parseLongLjava_lang_StringI() 237 assertEquals("Returned incorrect value from hex string", 68719476735L, Long.parseLong( in test_parseLongLjava_lang_StringI() 240 + Long.parseLong("77777777777"), Long.parseLong("77777777777", in test_parseLongLjava_lang_StringI() 243 .parseLong("0", 16)); in test_parseLongLjava_lang_StringI() [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/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()
|
D | RSeqParser.java | 77 rseq.setSeqNumber(Long.parseLong(number)); in parse()
|
D | CSeqParser.java | 64 c.setSeqNumber(Long.parseLong(number)); in parse()
|
D | TimeStampParser.java | 88 long ts = Long.parseLong(firstNumber); in parse()
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | DateMath.cpp | 545 static bool parseLong(const char* string, char** stopPosition, int base, long* result) in parseLong() function 602 if (!parseLong(dateString, &newPosStr, 10, &day)) in parseDateFromNullTerminatedCharacters() 623 if (!parseLong(dateString, &newPosStr, 10, &month)) in parseDateFromNullTerminatedCharacters() 629 if (!parseLong(dateString, &newPosStr, 10, &day)) in parseDateFromNullTerminatedCharacters() 636 if (!parseLong(dateString, &newPosStr, 10, &day)) in parseDateFromNullTerminatedCharacters() 700 parseLong(dateString, &newPosStr, 10, &hour); in parseDateFromNullTerminatedCharacters() 719 if (!parseLong(dateString, &newPosStr, 10, &minute)) in parseDateFromNullTerminatedCharacters() 734 if (!parseLong(dateString, &newPosStr, 10, &second)) in parseDateFromNullTerminatedCharacters()
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
D | AreaCodeMap.java | 151 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup() 158 phonePrefix = Long.parseLong(phonePrefixStr.substring(0, possibleLength)); in lookup()
|
/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/smack/src/com/kenai/jbosh/ |
D | BOSHClient.java | 1315 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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowContentUris.java | 24 return Long.parseLong(path); in parseId()
|
/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/apache-http/src/org/apache/http/impl/client/ |
D | DefaultConnectionKeepAliveStrategy.java | 68 return Long.parseLong(value) * 1000; in getKeepAliveDuration()
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/provider/ |
D | DataPacketProvider.java | 34 long seq = Long.parseLong(parser.getAttributeValue("", "seq")); in parseExtension()
|
/external/apache-http/src/org/apache/http/impl/entity/ |
D | StrictContentLengthStrategy.java | 210 long len = Long.parseLong(s); in determineLength()
|
D | LaxContentLengthStrategy.java | 241 contentlen = Long.parseLong(header.getValue()); in determineLength()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HeaderParser.java | 97 long seconds = Long.parseLong(value); in parseSeconds()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | ColorResourceLoader.java | 49 long color = Long.parseLong(rawValue.substring(1), 16); in convertRawValue()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DERObjectIdentifier.java | 239 writeField(aOut, first + Long.parseLong(secondToken)); in doOutput() 251 writeField(aOut, Long.parseLong(token)); in doOutput()
|
/external/oauth/core/src/main/java/net/oauth/ |
D | SimpleOAuthValidator.java | 89 long timestamp = Long.parseLong(message.getParameter(OAuth.OAUTH_TIMESTAMP)) * 1000L; in validateTimestampAndNonce()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ContentProviderOperationBuilderTest.java | 42 assertThat(Long.parseLong(values.get("longTest").toString()), equalTo(10L)); in withValue()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | MessageLog.java | 98 long ts = Long.parseLong(timeStamp); in MessageLog()
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
D | StreamInitiationProvider.java | 90 fileSize = Long.parseLong(size); in parseIQ()
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
D | LastActivity.java | 122 lastActivity.setLastActivity(Long.parseLong(seconds)); in parseIQ()
|