Searched refs:toBinaryString (Results 1 – 11 of 11) sorted by relevance
/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 | 201 assertEquals(val, Integer.parseUnsignedInt(Integer.toBinaryString(val), 2)); 249 assertTrue(Integer.toUnsignedString(val, 2).equals(Integer.toBinaryString(val)));
|
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 | Integer.java | 60 public static java.lang.String toBinaryString(int i) { in toBinaryString() method in Integer
|
D | Long.java | 63 public static java.lang.String toBinaryString(long i) { in toBinaryString() method in Long
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Long.java | 179 return toBinaryString(i); in toUnsignedString() 344 public static String toBinaryString(long i) { in toBinaryString() method in Long
|
D | Integer.java | 303 public static String toBinaryString(int i) { in toBinaryString() method in Integer
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Long.annotated.java | 47 @libcore.util.NonNull public static java.lang.String toBinaryString(long i) { throw new RuntimeExce… in toBinaryString() method in Long
|
D | Integer.annotated.java | 46 @libcore.util.NonNull public static java.lang.String toBinaryString(int i) { throw new RuntimeExcep… in toBinaryString() method in Integer
|