Home
last modified time | relevance | path

Searched refs:rotateRight (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DLongTest.java1024 assertEquals(0xF, Long.rotateRight(0xF0, 4)); in test_rotateRightJI()
1025 assertEquals(0xF, Long.rotateRight(0xF00, 8)); in test_rotateRightJI()
1026 assertEquals(0xF, Long.rotateRight(0xF000, 12)); in test_rotateRightJI()
1027 assertEquals(0xF, Long.rotateRight(0xF0000, 16)); in test_rotateRightJI()
1028 assertEquals(0xF, Long.rotateRight(0xF00000, 20)); in test_rotateRightJI()
1029 assertEquals(0xF, Long.rotateRight(0xF000000, 24)); in test_rotateRightJI()
1030 assertEquals(0xF, Long.rotateRight(0xF0000000L, 28)); in test_rotateRightJI()
1031 assertEquals(0xF000000000000000L, Long.rotateRight(0xF000000000000000L, 64)); in test_rotateRightJI()
1032 assertEquals(0xF000000000000000L, Long.rotateRight(0xF000000000000000L, 0)); in test_rotateRightJI()
DIntegerTest.java1189 assertEquals(0xF, Integer.rotateRight(0xF0, 4)); in test_rotateRightII()
1190 assertEquals(0xF, Integer.rotateRight(0xF00, 8)); in test_rotateRightII()
1191 assertEquals(0xF, Integer.rotateRight(0xF000, 12)); in test_rotateRightII()
1192 assertEquals(0xF, Integer.rotateRight(0xF0000, 16)); in test_rotateRightII()
1193 assertEquals(0xF, Integer.rotateRight(0xF00000, 20)); in test_rotateRightII()
1194 assertEquals(0xF, Integer.rotateRight(0xF000000, 24)); in test_rotateRightII()
1195 assertEquals(0xF, Integer.rotateRight(0xF0000000, 28)); in test_rotateRightII()
1196 assertEquals(0xF0000000, Integer.rotateRight(0xF0000000, 32)); in test_rotateRightII()
1197 assertEquals(0xF0000000, Integer.rotateRight(0xF0000000, 0)); in test_rotateRightII()
/libcore/luni/src/main/java/java/lang/
DInteger.java677 public static int rotateRight(int i, int distance) { in rotateRight() method in Integer
DLong.java695 public static long rotateRight(long v, int distance) { in rotateRight() method in Long
/libcore/luni/src/main/java/java/util/
DTreeMap.java478 rotateRight(right); // AVL right left in rebalance()
493 rotateRight(node); // AVL left left in rebalance()
497 rotateRight(node); in rebalance()
550 private void rotateRight(Node<K, V> root) { in rotateRight() method in TreeMap
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java2317 static <K,V> TreeNode<K,V> rotateRight(TreeNode<K,V> root, in rotateRight() method in ConcurrentHashMap.TreeBin
2361 root = rotateRight(root, xpp); in balanceInsertion()
2375 root = rotateRight(root, x = xp); in balanceInsertion()
2424 root = rotateRight(root, xpr); in balanceDeletion()
2445 root = rotateRight(root, xp); in balanceDeletion()
2473 root = rotateRight(root, xp); in balanceDeletion()