Searched refs:rotateRight (Results 1 – 6 of 6) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | LongTest.java | 1024 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()
|
D | IntegerTest.java | 1189 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/ojluni/src/main/java/java/lang/ |
D | Long.java | 1168 public static long rotateRight(long i, int distance) { in rotateRight() method in Long
|
D | Integer.java | 1242 public static int rotateRight(int i, int distance) { in rotateRight() method in Integer
|
/libcore/ojluni/src/main/java/java/util/ |
D | TreeMap.java | 2286 private void rotateRight(TreeMapEntry<K,V> p) { in rotateRight() method in TreeMap 2321 rotateRight(parentOf(parentOf(x))); in fixAfterInsertion() 2333 rotateRight(x); in fixAfterInsertion() 2416 rotateRight(sib); in fixAfterDeletion() 2431 rotateRight(parentOf(x)); in fixAfterDeletion() 2449 rotateRight(parentOf(x)); in fixAfterDeletion()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 3084 static <K,V> TreeNode<K,V> rotateRight(TreeNode<K,V> root, in rotateRight() method in ConcurrentHashMap.TreeBin 3128 root = rotateRight(root, xpp); in balanceInsertion() 3142 root = rotateRight(root, x = xp); in balanceInsertion() 3191 root = rotateRight(root, xpr); in balanceDeletion() 3212 root = rotateRight(root, xp); in balanceDeletion() 3240 root = rotateRight(root, xp); in balanceDeletion()
|