/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntegerTest.java | 199 assertEquals(value, Integer.parseUnsignedInt(Integer.toUnsignedString(value))); in testParseUnsignedInt() 205 Integer.parseUnsignedInt(Integer.toUnsignedString(value, radix), radix)); in testParseUnsignedInt() 219 () -> Integer.parseUnsignedInt(Long.toUnsignedString(longValue), 10)); in testParseUnsignedInt() 227 () -> Integer.parseUnsignedInt(Long.toUnsignedString(longValue, r), r)); in testParseUnsignedInt() 261 String denary = leftPad + Integer.toUnsignedString(value) + rightPad; in testParseUnsignedIntSubstring() 269 String arb = leftPad + Integer.toUnsignedString(value, radix) + rightPad; in testParseUnsignedIntSubstring() 290 leftPad + Long.toUnsignedString(large_value) + rightPad; in testParseUnsignedIntSubstring() 304 leftPad + Long.toUnsignedString(large_value, radix) + rightPad; in testParseUnsignedIntSubstring() 345 assertTrue(Integer.toUnsignedString(val, 2).equals(Integer.toBinaryString(val))); in testToUnsignedString() 346 assertTrue(Integer.toUnsignedString(val, 8).equals(Integer.toOctalString(val))); in testToUnsignedString() [all …]
|
D | LongTest.java | 219 assertEquals(val, Long.parseUnsignedLong(Long.toUnsignedString(val))); 224 Long.parseUnsignedLong(Long.toUnsignedString(val, radix), radix)); 256 assertTrue(Long.toUnsignedString(val, 2).equals(Long.toBinaryString(val))); 257 assertTrue(Long.toUnsignedString(val, 8).equals(Long.toOctalString(val))); 258 assertTrue(Long.toUnsignedString(val, 10).equals(Long.toUnsignedString(val))); 259 assertTrue(Long.toUnsignedString(val, 16).equals(Long.toHexString(val))); 266 assertTrue(Long.toUnsignedString(val, radix).equals(b.toString(radix)));
|
/libcore/ojluni/src/test/java/lang/Integer/ |
D | Unsigned.java | 203 String result1 = Integer.toUnsignedString(datum, radix); in testToStringUnsigned() 213 String result3 = Integer.toUnsignedString(datum); in testToStringUnsigned() 334 Integer.toUnsignedString(quotient), in testDivideAndRemainder() 335 Integer.toUnsignedString((int) dividend), in testDivideAndRemainder() 336 Integer.toUnsignedString((int) divisor))); in testDivideAndRemainder() 344 Integer.toUnsignedString(remainder), in testDivideAndRemainder() 345 Integer.toUnsignedString((int) dividend), in testDivideAndRemainder() 346 Integer.toUnsignedString((int) divisor))); in testDivideAndRemainder()
|
/libcore/ojluni/src/test/java/lang/Long/ |
D | Unsigned.java | 202 String result1 = Long.toUnsignedString(datum, radix); in testToStringUnsigned() 212 String result3 = Long.toUnsignedString(datum); in testToStringUnsigned() 400 Long.toUnsignedString(quotient), in testDivideAndRemainder() 401 Long.toUnsignedString(dividend.longValue()), in testDivideAndRemainder() 402 Long.toUnsignedString(divisor.longValue()))); in testDivideAndRemainder() 411 Long.toUnsignedString(remainder), in testDivideAndRemainder() 412 Long.toUnsignedString(dividend.longValue()), in testDivideAndRemainder() 413 Long.toUnsignedString(divisor.longValue()))); in testDivideAndRemainder()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Long.java | 47 public static java.lang.String toUnsignedString(long i, int radix) { in toUnsignedString() method in Long 79 public static java.lang.String toUnsignedString(long i) { in toUnsignedString() method in Long
|
D | Integer.java | 48 public static java.lang.String toUnsignedString(int i, int radix) { in toUnsignedString() method in Integer 76 public static java.lang.String toUnsignedString(int i) { in toUnsignedString() method in Integer
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Integer.annotated.java | 40 @libcore.util.NonNull public static java.lang.String toUnsignedString(int i, int radix) { throw new… in toUnsignedString() method in Integer 50 @libcore.util.NonNull public static java.lang.String toUnsignedString(int i) { throw new RuntimeExc… in toUnsignedString() method in Integer
|
D | Long.annotated.java | 41 @libcore.util.NonNull public static java.lang.String toUnsignedString(long i, int radix) { throw ne… in toUnsignedString() method in Long 51 @libcore.util.NonNull public static java.lang.String toUnsignedString(long i) { throw new RuntimeEx… in toUnsignedString() method in Long
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Integer.java | 245 public static String toUnsignedString(int i, int radix) { in toUnsignedString() method in Integer 246 return Long.toUnsignedString(toUnsignedLong(i), radix); in toUnsignedString() 564 public static String toUnsignedString(int i) {
|
D | Long.java | 226 public static String toUnsignedString(long i, int radix) { in toUnsignedString() method in Long 500 public static String toUnsignedString(long i) { in toUnsignedString() method 501 return toUnsignedString(i, 10); in toUnsignedString()
|
/libcore/api/ |
D | current.txt | 3466 method @NonNull public static String toUnsignedString(int, int); 3467 method @NonNull public static String toUnsignedString(int); 3543 method @NonNull public static String toUnsignedString(long, int); 3544 method @NonNull public static String toUnsignedString(long);
|