/external/smali/smali/src/test/java/ |
LongLiteralTest.java | 37 Assert.assertTrue(LiteralTools.parseLong("0x0L") == 0x0); 38 Assert.assertTrue(LiteralTools.parseLong("0x00L") == 0x0); 39 Assert.assertTrue(LiteralTools.parseLong("0x1L") == 0x1); 40 Assert.assertTrue(LiteralTools.parseLong("0x1234567890123456L") == 0x1234567890123456L); 41 Assert.assertTrue(LiteralTools.parseLong("0x7fffffffffffffffL") == 0x7fffffffffffffffL); 42 Assert.assertTrue(LiteralTools.parseLong("0x8000000000000000L") == Long.MIN_VALUE); 43 Assert.assertTrue(LiteralTools.parseLong("0xFFFFFFFFFFFFFFFFL") == -1); 45 Assert.assertTrue(LiteralTools.parseLong("-0x00L") == 0); 46 Assert.assertTrue(LiteralTools.parseLong("-0x01L") == -1); 47 Assert.assertTrue(LiteralTools.parseLong("-0x1234567890123456L") == -0x1234567890123456L) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
LongTest.java | 84 assertEquals(0, Long.parseLong("+0", 10)); 85 assertEquals(473, Long.parseLong("+473", 10)); 86 assertEquals(255, Long.parseLong("+FF", 16)); 87 assertEquals(102, Long.parseLong("+1100110", 2)); 88 assertEquals(Long.MAX_VALUE, Long.parseLong("+" + Long.MAX_VALUE, 10)); 89 assertEquals(411787, Long.parseLong("Kona", 27)); 90 assertEquals(411787, Long.parseLong("+Kona", 27)); 91 assertEquals(-145, Long.parseLong("-145", 10)); 94 Long.parseLong("--1", 10); // multiple sign chars 99 Long.parseLong("++1", 10); // multiple sign char [all...] |
/external/jcommander/src/main/java/com/beust/jcommander/converters/ |
LongConverter.java | 36 return Long.parseLong(value);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 51 long hours = Long.parseLong(in.split(":")[0].trim()); 52 long minutes = Long.parseLong(in.split(":")[1].trim()); 53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); 54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim());
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SpecialRandom.java | 33 : new SpecialRandom(Long.parseLong(s));
|
/frameworks/base/core/java/android/content/ |
ContentUris.java | 86 return last == null ? -1 : Long.parseLong(last);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
LongTest.java | 198 * java.lang.Long#parseLong(java.lang.String) 201 // Test for method long java.lang.Long.parseLong(java.lang.String) 203 long l = Long.parseLong("89000000005"); 205 assertEquals("Returned incorrect value for 0", 0, Long.parseLong("0")); 207 .parseLong("-9223372036854775808") == 0x8000000000000000L); 209 .parseLong("9223372036854775807") == 0x7fffffffffffffffL); 213 Long.parseLong("9223372036854775808"); 222 Long.parseLong("-9223372036854775809"); 231 * java.lang.Long#parseLong(java.lang.String, int) 234 // Test for method long java.lang.Long.parseLong(java.lang.String, int [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HeaderParser.java | 54 long seconds = Long.parseLong(value);
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
FuzzyTestCase.java | 50 seed = Long.parseLong(seedStr);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentUris.java | 24 return Long.parseLong(path);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
RAckParser.java | 80 rack.setRSequenceNumber(Long.parseLong(number)); 83 rack.setCSequenceNumber(Long.parseLong(number));
|
RSeqParser.java | 77 rseq.setSeqNumber(Long.parseLong(number));
|
/frameworks/base/core/java/com/android/internal/os/ |
KernelCpuSpeedReader.java | 71 Long.parseLong(splitter.next()); 73 long time = Long.parseLong(splitter.next()) * mJiffyMillis;
|
KernelUidCpuTimeReader.java | 78 final long userTimeUs = Long.parseLong(splitter.next(), 10); 79 final long systemTimeUs = Long.parseLong(splitter.next(), 10); 82 powerMaUs = Long.parseLong(splitter.next(), 10) / 1000;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WnmData.java | 49 return new WnmData(Long.parseLong(segments[0], 16), 61 return new WnmData(Long.parseLong(segments[0], 16),
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_DeletedContacts.java | 70 if (Long.parseLong(record[0]) == ids.mContactId) { 72 assertTrue(Long.parseLong(record[1]) > start); 124 long contactId = Long.parseLong(record[0]); 129 assertTrue(Long.parseLong(record[1]) > start);
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultConnectionKeepAliveStrategy.java | 73 return Long.parseLong(value) * 1000;
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
InclusiveByteRange.java | 114 last = Long.parseLong(t.substring(d + 1).trim()); 123 first = Long.parseLong(t.substring(0,d).trim()); 124 last = Long.parseLong(t.substring(d + 1).trim()); 127 first = Long.parseLong(t.substring(0,d).trim());
|
/external/vogar/src/vogar/ |
CommandBugDatabase.java | 44 openBugsSet.add(Long.parseLong(bug));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
XmlUtils_Delegate.java | 72 return ((int)Long.parseLong(nm.substring(index), base)) * sign;
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventInfoActivity.java | 100 mEventId = Long.parseLong(pathSegments.get(1)); 102 mStartMillis = Long.parseLong(pathSegments.get(3)); 103 mEndMillis = Long.parseLong(pathSegments.get(4)); 106 mEventId = Long.parseLong(data.getLastPathSegment());
|
/frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/ |
SvcMonitor.java | 184 psTime = Long.parseLong(statBreakDown[1]) 185 + Long.parseLong(statBreakDown[2]) 186 + Long.parseLong(statBreakDown[3]) 187 + Long.parseLong(statBreakDown[4]); 189 psTime = Long.parseLong(statBreakDown[13]) 190 + Long.parseLong(statBreakDown[14]);
|
/packages/apps/Settings/src/com/android/settings/ |
TimeoutListPreference.java | 89 long timeout = Long.parseLong(mInitialValues[i].toString()); 113 && Long.parseLong(revisedValues.get(revisedValues.size() - 1).toString())
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
MetadataParser.java | 82 Long.parseLong(arguments.get(UPDATE_FIELD_NAME)), 83 Long.parseLong(arguments.get(FILESIZE_FIELD_NAME)),
|
/external/apache-http/src/org/apache/http/impl/entity/ |
StrictContentLengthStrategy.java | 215 long len = Long.parseLong(s);
|