Home
last modified time | relevance | path

Searched refs:parsePositiveLong (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DLongTest.java61 assertEquals(0, Long.parsePositiveLong("0", 10));
62 assertEquals(473, Long.parsePositiveLong("473", 10));
63 assertEquals(255, Long.parsePositiveLong("FF", 16));
66 Long.parsePositiveLong("-1", 10);
71 Long.parsePositiveLong("+1", 10);
76 Long.parsePositiveLong("+0", 16);
/libcore/luni/src/main/java/java/util/
DUUID.java190 long m1 = Long.parsePositiveLong(parts[0], 16); in fromString()
191 long m2 = Long.parsePositiveLong(parts[1], 16); in fromString()
192 long m3 = Long.parsePositiveLong(parts[2], 16); in fromString()
194 long lsb1 = Long.parsePositiveLong(parts[3], 16); in fromString()
195 long lsb2 = Long.parsePositiveLong(parts[4], 16); in fromString()
/libcore/luni/src/main/java/java/lang/
DLong.java390 public static long parsePositiveLong(String string) throws NumberFormatException { in parsePositiveLong() method in Long
391 return parsePositiveLong(string, 10); in parsePositiveLong()
406 public static long parsePositiveLong(String string, int radix) throws NumberFormatException { in parsePositiveLong() method in Long