Home
last modified time | relevance | path

Searched refs:parseUnsignedLong (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DLongTest.java217 assertEquals(val, Long.parseUnsignedLong(Long.toBinaryString(val), 2));
218 assertEquals(val, Long.parseUnsignedLong(Long.toOctalString(val), 8));
219 assertEquals(val, Long.parseUnsignedLong(Long.toUnsignedString(val)));
220 assertEquals(val, Long.parseUnsignedLong(Long.toHexString(val), 16));
224 Long.parseUnsignedLong(Long.toUnsignedString(val, radix), radix));
229 Long.parseUnsignedLong("-1");
233 Long.parseUnsignedLong("123", 2);
237 Long.parseUnsignedLong(null, 2);
241 Long.parseUnsignedLong("0", Character.MAX_RADIX + 1);
245 Long.parseUnsignedLong("0", Character.MIN_RADIX - 1);
/libcore/ojluni/src/test/java/lang/Long/
DUnsigned.java51 Long.parseUnsignedLong(Long.toBinaryString(datum), 2), in testRoundtrip()
56 Long.parseUnsignedLong(Long.toOctalString(datum), 8), in testRoundtrip()
61 Long.parseUnsignedLong(Long.toHexString(datum), 16), in testRoundtrip()
220 long parseResult = Long.parseUnsignedLong(result1, radix); in testToStringUnsigned()
259 long longResult = Long.parseUnsignedLong(bigString, radix); in testParseUnsignedLong()
293 long result = Long.parseUnsignedLong(s); in testParseUnsignedLong()
334 result = Long.parseUnsignedLong(s, radix); in testUnsignedOverflow()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DLong.annotated.java59 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.String s, int radix) throws ja… in parseUnsignedLong() method in Long
61 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.String s) throws java.lang.Num… in parseUnsignedLong() method in Long
63 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex… in parseUnsignedLong() method in Long
/libcore/ojluni/annotations/hiddenapi/java/lang/
DLong.java100 public static long parseUnsignedLong(java.lang.String s, int radix) in parseUnsignedLong() method in Long
105 public static long parseUnsignedLong(java.lang.String s) in parseUnsignedLong() method in Long
/libcore/ojluni/src/main/java/java/lang/
DLong.java915 public static long parseUnsignedLong(String s, int radix) in parseUnsignedLong() method
1031 public static long parseUnsignedLong(CharSequence s, int beginIndex, int endIndex, int radix) in parseUnsignedLong() method
1138 public static long parseUnsignedLong(String s) throws NumberFormatException { in parseUnsignedLong() method
1139 return parseUnsignedLong(s, 10); in parseUnsignedLong()
/libcore/ojluni/src/test/java/lang/invoke/common/test/java/lang/invoke/lib/
DHelper.java60 TEST_LIMIT = str != null ? Long.parseUnsignedLong(str) : 2000L;
/libcore/api/
Dcurrent.txt3528 …method public static long parseUnsignedLong(@NonNull String, int) throws java.lang.NumberFormatExc…
3529 …method public static long parseUnsignedLong(@NonNull CharSequence, int, int, int) throws java.lang…
3530 …method public static long parseUnsignedLong(@NonNull String) throws java.lang.NumberFormatExceptio…