Home
last modified time | relevance | path

Searched refs:lowestOneBit (Results 1 – 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DLongTest.java864 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 …]
DIntegerTest.java1028 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/
DBitTwiddle.java54 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/
DBitTwiddle.java54 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/
DInteger.annotated.java80 public static int lowestOneBit(int i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Integer
DLong.annotated.java80 public static long lowestOneBit(long i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Long
/libcore/ojluni/annotations/hiddenapi/java/lang/
DInteger.java205 public static int lowestOneBit(int i) { in lowestOneBit() method in Integer
DLong.java205 public static long lowestOneBit(long i) { in lowestOneBit() method in Long
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DLong.annotated.java111 public static long lowestOneBit(long i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Long
DInteger.annotated.java112 public static int lowestOneBit(int i) { throw new RuntimeException("Stub!"); } in lowestOneBit() method in Integer
/libcore/ojluni/src/main/java/java/lang/
DInteger.java1745 public static int lowestOneBit(int i) {
DLong.java1805 public static long lowestOneBit(long i) { in lowestOneBit() method
/libcore/api/
Dcurrent.txt3570 method public static int lowestOneBit(int);
3650 method public static long lowestOneBit(long);