Home
last modified time | relevance | path

Searched refs:parseUnsignedLong (Results 1 – 4 of 4) 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/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/annotations/sdk/nullability/java/lang/
DLong.annotated.java57 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.String s, int radix) throws ja… in parseUnsignedLong() method in Long
59 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.String s) throws java.lang.Num… in parseUnsignedLong() method in Long
/libcore/ojluni/src/main/java/java/lang/
DLong.java682 public static long parseUnsignedLong(String s, int radix) in parseUnsignedLong() method in Long
750 public static long parseUnsignedLong(String s) throws NumberFormatException { in parseUnsignedLong() method in Long
751 return parseUnsignedLong(s, 10); in parseUnsignedLong()