/libcore/ojluni/src/test/java/lang/String/CompactString/ |
D | Numbers.java | 49 { Integer.toBinaryString(Integer.MAX_VALUE), in numbers() 51 { Integer.toBinaryString(Integer.MIN_VALUE), in numbers() 53 { Integer.toBinaryString(7), "111" }, in numbers() 54 { Integer.toBinaryString(0), "0" }, in numbers() 75 { Long.toBinaryString(Long.MAX_VALUE), in numbers() 77 { Long.toBinaryString(Long.MIN_VALUE), in numbers()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | IntegralToStringBenchmark.java | 99 Integer.toBinaryString(SMALL); in time_IntegerToBinaryString_small() 105 Integer.toBinaryString(MEDIUM); in time_IntegerToBinaryString_medium() 111 Integer.toBinaryString(LARGE); in time_IntegerToBinaryString_large()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntegerTest.java | 197 assertEquals(value, Integer.parseUnsignedInt(Integer.toBinaryString(value), 2)); in testParseUnsignedInt() 213 () -> Integer.parseUnsignedInt(Long.toBinaryString(longValue), 2)); in testParseUnsignedInt() 254 String binary = leftPad + Integer.toBinaryString(value) + rightPad; in testParseUnsignedIntSubstring() 277 final String input = leftPad + Long.toBinaryString(large_value) + rightPad; in testParseUnsignedIntSubstring() 345 assertTrue(Integer.toUnsignedString(val, 2).equals(Integer.toBinaryString(val))); in testToUnsignedString()
|
D | LongTest.java | 217 assertEquals(val, Long.parseUnsignedLong(Long.toBinaryString(val), 2)); 256 assertTrue(Long.toUnsignedString(val, 2).equals(Long.toBinaryString(val)));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | LongTest.java | 319 … assertEquals("Incorrect binary string returned", "11011001010010010000", Long.toBinaryString( in test_toBinaryStringJ() 324 .toBinaryString(Long.MIN_VALUE) in test_toBinaryStringJ() 329 .toBinaryString(Long.MAX_VALUE) in test_toBinaryStringJ()
|
D | IntegerTest.java | 447 …ssertEquals("Incorrect string returned", "1111111111111111111111111111111", Integer.toBinaryString( in test_toBinaryStringI() 449 …sertEquals("Incorrect string returned", "10000000000000000000000000000000", Integer.toBinaryString( in test_toBinaryStringI()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Long.java | 63 public static java.lang.String toBinaryString(long i) { in toBinaryString() method in Long
|
D | Integer.java | 60 public static java.lang.String toBinaryString(int i) { in toBinaryString() method in Integer
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Integer.annotated.java | 46 @libcore.util.NonNull public static java.lang.String toBinaryString(int i) { throw new RuntimeExcep… in toBinaryString() method in Integer
|
D | Long.annotated.java | 47 @libcore.util.NonNull public static java.lang.String toBinaryString(long i) { throw new RuntimeExce… in toBinaryString() method in Long
|
/libcore/ojluni/src/test/java/lang/Integer/ |
D | Unsigned.java | 42 Integer.parseUnsignedInt(Integer.toBinaryString(datum), 2), in testRoundtrip()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Long.java | 231 case 2 -> toBinaryString(i); in toUnsignedString() 387 public static String toBinaryString(long i) { in toBinaryString() method
|
D | Integer.java | 362 public static String toBinaryString(int i) { in toBinaryString() method in Integer
|
/libcore/ojluni/src/test/java/lang/Long/ |
D | Unsigned.java | 51 Long.parseUnsignedLong(Long.toBinaryString(datum), 2), in testRoundtrip()
|
/libcore/api/ |
D | current.txt | 3460 method @NonNull public static String toBinaryString(int); 3538 method @NonNull public static String toBinaryString(long);
|