Searched refs:parseUnsignedInt (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntegerTest.java | 197 assertEquals(value, Integer.parseUnsignedInt(Integer.toBinaryString(value), 2)); in testParseUnsignedInt() 198 assertEquals(value, Integer.parseUnsignedInt(Integer.toOctalString(value), 8)); in testParseUnsignedInt() 199 assertEquals(value, Integer.parseUnsignedInt(Integer.toUnsignedString(value))); in testParseUnsignedInt() 200 assertEquals(value, Integer.parseUnsignedInt(Integer.toHexString(value), 16)); in testParseUnsignedInt() 205 Integer.parseUnsignedInt(Integer.toUnsignedString(value, radix), radix)); in testParseUnsignedInt() 213 () -> Integer.parseUnsignedInt(Long.toBinaryString(longValue), 2)); in testParseUnsignedInt() 216 () -> Integer.parseUnsignedInt(Long.toOctalString(longValue), 8)); in testParseUnsignedInt() 219 () -> Integer.parseUnsignedInt(Long.toUnsignedString(longValue), 10)); in testParseUnsignedInt() 222 () -> Integer.parseUnsignedInt(Long.toHexString(longValue), 16)); in testParseUnsignedInt() 227 () -> Integer.parseUnsignedInt(Long.toUnsignedString(longValue, r), r)); in testParseUnsignedInt() [all …]
|
/libcore/ojluni/src/test/java/lang/Integer/ |
D | Unsigned.java | 42 Integer.parseUnsignedInt(Integer.toBinaryString(datum), 2), in testRoundtrip() 46 Assert.assertEquals(Integer.parseUnsignedInt(Integer.toOctalString(datum), 8), in testRoundtrip() 50 Assert.assertEquals(Integer.parseUnsignedInt(Integer.toHexString(datum), 16), in testRoundtrip() 221 int parseResult = Integer.parseUnsignedInt(result1, radix); in testToStringUnsigned() 253 int intResult = Integer.parseUnsignedInt(longString, radix); in testParseUnsignedInt() 262 intResult = Integer.parseUnsignedInt("prefix" + longString + "suffix", in testParseUnsignedInt() 283 int result = Integer.parseUnsignedInt(s); in testParseUnsignedInt()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Integer.annotated.java | 58 public static int parseUnsignedInt(@libcore.util.NonNull java.lang.String s, int radix) throws java… in parseUnsignedInt() method in Integer 60 public static int parseUnsignedInt(@libcore.util.NonNull java.lang.String s) throws java.lang.Numbe… in parseUnsignedInt() method in Integer 62 public static int parseUnsignedInt(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, … in parseUnsignedInt() method in Integer
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Integer.java | 97 public static int parseUnsignedInt(java.lang.String s, int radix) in parseUnsignedInt() method in Integer 102 public static int parseUnsignedInt(java.lang.String s) throws java.lang.NumberFormatException { in parseUnsignedInt() method in Integer
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Integer.java | 954 public static int parseUnsignedInt(String s, int radix) 1014 public static int parseUnsignedInt(CharSequence s, int beginIndex, int endIndex, int radix) 1065 public static int parseUnsignedInt(String s) throws NumberFormatException { 1066 return parseUnsignedInt(s, 10);
|
/libcore/api/ |
D | current.txt | 3450 …method public static int parseUnsignedInt(@NonNull String, int) throws java.lang.NumberFormatExcep… 3451 …method public static int parseUnsignedInt(@NonNull CharSequence, int, int, int) throws java.lang.N… 3452 … method public static int parseUnsignedInt(@NonNull String) throws java.lang.NumberFormatException;
|