Searched refs:parseByte (Results 1 – 6 of 6) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ByteTest.java | 210 assertEquals(0, Byte.parseByte("0")); in test_parseByteLjava_lang_String() 211 assertEquals(1, Byte.parseByte("1")); in test_parseByteLjava_lang_String() 212 assertEquals(-1, Byte.parseByte("-1")); in test_parseByteLjava_lang_String() 215 Byte.parseByte("0x1"); in test_parseByteLjava_lang_String() 221 Byte.parseByte("9.2"); in test_parseByteLjava_lang_String() 227 Byte.parseByte(""); in test_parseByteLjava_lang_String() 233 Byte.parseByte(null); in test_parseByteLjava_lang_String() 243 assertEquals(0, Byte.parseByte("0", 10)); in test_parseByteLjava_lang_StringI() 244 assertEquals(1, Byte.parseByte("1", 10)); in test_parseByteLjava_lang_StringI() 245 assertEquals(-1, Byte.parseByte("-1", 10)); in test_parseByteLjava_lang_StringI() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Byte.java | 149 public static byte parseByte(String s, int radix) in parseByte() method in Byte 176 public static byte parseByte(String s) throws NumberFormatException { in parseByte() method in Byte 177 return parseByte(s, 10); in parseByte() 207 return valueOf(parseByte(s, radix)); in valueOf() 318 this.value = parseByte(s, 10); in Byte()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Byte.annotated.java | 41 public static byte parseByte(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.… in parseByte() method in Byte 43 public static byte parseByte(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberForma… in parseByte() method in Byte
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Byte.java | 50 public static byte parseByte(java.lang.String s, int radix) in parseByte() method in Byte 55 public static byte parseByte(java.lang.String s) throws java.lang.NumberFormatException { in parseByte() method in Byte
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTest.java | 233 array[i] = Byte.parseByte(bytes.substring(i * 2, i * 2 + 2), 16); in createStream()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 1839 typeCache = Byte.parseByte(s, radix); in hasNextByte() 1907 return Byte.parseByte(s, radix); in nextByte()
|