Searched refs:lowestOneBit (Results 1 – 13 of 13) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | LongTest.java | 864 assertEquals(0x10, Long.lowestOneBit(0xF0)); in test_lowestOneBitJ() 866 assertEquals(0x10, Long.lowestOneBit(0x90)); in test_lowestOneBitJ() 867 assertEquals(0x10, Long.lowestOneBit(0xD0)); in test_lowestOneBitJ() 869 assertEquals(0x10, Long.lowestOneBit(0x123490)); in test_lowestOneBitJ() 870 assertEquals(0x10, Long.lowestOneBit(0x1234D0)); in test_lowestOneBitJ() 872 assertEquals(0x100000, Long.lowestOneBit(0x900000)); in test_lowestOneBitJ() 873 assertEquals(0x100000, Long.lowestOneBit(0xD00000)); in test_lowestOneBitJ() 875 assertEquals(0x40, Long.lowestOneBit(0x40)); in test_lowestOneBitJ() 876 assertEquals(0x40, Long.lowestOneBit(0xC0)); in test_lowestOneBitJ() 878 assertEquals(0x4000, Long.lowestOneBit(0x4000)); in test_lowestOneBitJ() [all …]
|
D | IntegerTest.java | 1028 assertEquals(0x10, Integer.lowestOneBit(0xF0)); in test_lowestOneBitI() 1030 assertEquals(0x10, Integer.lowestOneBit(0x90)); in test_lowestOneBitI() 1031 assertEquals(0x10, Integer.lowestOneBit(0xD0)); in test_lowestOneBitI() 1033 assertEquals(0x10, Integer.lowestOneBit(0x123490)); in test_lowestOneBitI() 1034 assertEquals(0x10, Integer.lowestOneBit(0x1234D0)); in test_lowestOneBitI() 1036 assertEquals(0x100000, Integer.lowestOneBit(0x900000)); in test_lowestOneBitI() 1037 assertEquals(0x100000, Integer.lowestOneBit(0xD00000)); in test_lowestOneBitI() 1039 assertEquals(0x40, Integer.lowestOneBit(0x40)); in test_lowestOneBitI() 1040 assertEquals(0x40, Integer.lowestOneBit(0xC0)); in test_lowestOneBitI() 1042 assertEquals(0x4000, Integer.lowestOneBit(0x4000)); in test_lowestOneBitI() [all …]
|
/libcore/ojluni/src/test/java/lang/Integer/ |
D | BitTwiddle.java | 54 if (lowestOneBit(0) != 0) in main() 56 if (lowestOneBit(-1) != 1) in main() 58 if (lowestOneBit(MIN_VALUE) != MIN_VALUE) in main() 78 if (highestOneBit(x) != reverse(lowestOneBit(reverse(x)))) in main()
|
/libcore/ojluni/src/test/java/lang/Long/ |
D | BitTwiddle.java | 54 if (lowestOneBit(0) != 0) in main() 56 if (lowestOneBit(-1) != 1) in main() 58 if (lowestOneBit(MIN_VALUE) != MIN_VALUE) in main() 78 if (highestOneBit(x) != reverse(lowestOneBit(reverse(x)))) in main()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Integer.annotated.java | 80 public static int lowestOneBit(int i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Integer
|
D | Long.annotated.java | 80 public static long lowestOneBit(long i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Long
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Integer.java | 205 public static int lowestOneBit(int i) { in lowestOneBit() method in Integer
|
D | Long.java | 205 public static long lowestOneBit(long i) { in lowestOneBit() method in Long
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Long.annotated.java | 111 public static long lowestOneBit(long i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Long
|
D | Integer.annotated.java | 112 public static int lowestOneBit(int i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Integer
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Integer.java | 1745 public static int lowestOneBit(int i) {
|
D | Long.java | 1805 public static long lowestOneBit(long i) { in lowestOneBit() method
|
/libcore/api/ |
D | current.txt | 3570 method public static int lowestOneBit(int); 3650 method public static long lowestOneBit(long);
|