Searched refs:rotateRight (Results 1 – 4 of 4) sorted by relevance
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | LongTest.java | 1271 assertEquals(0xF, Long.rotateRight(0xF0, 4)); in test_rotateRightJI() 1272 assertEquals(0xF, Long.rotateRight(0xF00, 8)); in test_rotateRightJI() 1273 assertEquals(0xF, Long.rotateRight(0xF000, 12)); in test_rotateRightJI() 1274 assertEquals(0xF, Long.rotateRight(0xF0000, 16)); in test_rotateRightJI() 1275 assertEquals(0xF, Long.rotateRight(0xF00000, 20)); in test_rotateRightJI() 1276 assertEquals(0xF, Long.rotateRight(0xF000000, 24)); in test_rotateRightJI() 1277 assertEquals(0xF, Long.rotateRight(0xF0000000L, 28)); in test_rotateRightJI() 1278 assertEquals(0xF000000000000000L, Long.rotateRight(0xF000000000000000L, 64)); in test_rotateRightJI() 1279 assertEquals(0xF000000000000000L, Long.rotateRight(0xF000000000000000L, 0)); in test_rotateRightJI()
|
D | IntegerTest.java | 1471 assertEquals(0xF, Integer.rotateRight(0xF0, 4)); in test_rotateRightII() 1472 assertEquals(0xF, Integer.rotateRight(0xF00, 8)); in test_rotateRightII() 1473 assertEquals(0xF, Integer.rotateRight(0xF000, 12)); in test_rotateRightII() 1474 assertEquals(0xF, Integer.rotateRight(0xF0000, 16)); in test_rotateRightII() 1475 assertEquals(0xF, Integer.rotateRight(0xF00000, 20)); in test_rotateRightII() 1476 assertEquals(0xF, Integer.rotateRight(0xF000000, 24)); in test_rotateRightII() 1477 assertEquals(0xF, Integer.rotateRight(0xF0000000, 28)); in test_rotateRightII() 1478 assertEquals(0xF0000000, Integer.rotateRight(0xF0000000, 32)); in test_rotateRightII() 1479 assertEquals(0xF0000000, Integer.rotateRight(0xF0000000, 0)); in test_rotateRightII()
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
D | Long.java | 695 public static long rotateRight(long lng, int distance) { in rotateRight() method
|
D | Integer.java | 809 public static int rotateRight(int i, int distance) { in rotateRight() method
|