/libcore/harmony-tests/src/test/java/org/apache/harmony/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 …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LongTest.java | 85 assertEquals(0, Long.parseLong("+0", 10)); 86 assertEquals(473, Long.parseLong("+473", 10)); 87 assertEquals(255, Long.parseLong("+FF", 16)); 88 assertEquals(102, Long.parseLong("+1100110", 2)); 89 assertEquals(Long.MAX_VALUE, Long.parseLong("+" + Long.MAX_VALUE, 10)); 90 assertEquals(411787, Long.parseLong("Kona", 27)); 91 assertEquals(411787, Long.parseLong("+Kona", 27)); 92 assertEquals(-145, Long.parseLong("-145", 10)); 95 Long.parseLong("--1", 10); // multiple sign chars 100 Long.parseLong("++1", 10); // multiple sign chars [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Long.java | 553 public static long parseLong(String s, int radix) in parseLong() method in Long 635 public static long parseLong(String s) throws NumberFormatException { in parseLong() method in Long 636 return parseLong(s, 10); in parseLong() 698 return parseLong(s, radix); in parseUnsignedLong() 702 long first = parseLong(s.substring(0, len - 1), radix); in parseUnsignedLong() 781 return Long.valueOf(parseLong(s, radix)); in valueOf() 808 return Long.valueOf(parseLong(s, 10)); in valueOf() 970 this.value = parseLong(s, 10); in Long()
|
D | Integer.java | 714 long ell = Long.parseLong(s, radix);
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 292 long l = Long.parseLong(s); in saveAndRemoveProperties()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | LocalGregorianCalendar.java | 156 since = Long.parseLong(value.substring(0, value.length() - 1)); in getLocalGregorianCalendar() 158 since = Long.parseLong(value); in getLocalGregorianCalendar()
|
/libcore/json/src/main/java/org/json/ |
D | JSONTokener.java | 305 long longValue = Long.parseLong(number, base); in readLiteral()
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 283 file.setSize(Long.parseLong(fsize)).setLastModified(d); in parseLine() 326 file.setSize(Long.parseLong(s)); in parseLine() 387 lastTransSize = Long.parseLong(s); in getTransferSize() 1749 return Long.parseLong(s); in getSize()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 445 result = Long.parseLong(value); in getLong()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 2175 typeCache = Long.parseLong(s, radix); in hasNextLong() 2242 return Long.parseLong(s, radix); in nextLong()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 637 return Long.parseLong(value); in getHeaderFieldLong()
|
D | HttpCookie.java | 942 long maxage = Long.parseLong(attrValue);
|
/libcore/luni/src/main/java/libcore/util/ |
D | TimeZoneFinder.java | 437 return Long.parseLong(attributeValueString); in parseLongAttribute()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 415 long val = Long.parseLong(parsed); in parseNumber()
|
/libcore/luni/src/main/java/java/math/ |
D | BigDecimal.java | 344 smallValue = Long.parseLong(unscaledBuffer.toString()); in BigDecimal()
|
/libcore/annotations/ |
D | ojluni.jaif | 722 method parseLong(Ljava/lang/String;I)J: 727 method parseLong(Ljava/lang/String;)J:
|