Home
last modified time | relevance | path

Searched refs:rotateLeft (Results 1 – 4 of 4) sorted by relevance

/art/test/565-checker-rotate/src/
DMain.java66 return Integer.rotateLeft(value ? 1 : 0, distance); in rotateLeftBoolean()
87 return Integer.rotateLeft(value, distance); in rotateLeftByte()
108 return Integer.rotateLeft(value, distance); in rotateLeftShort()
129 return Integer.rotateLeft(value, distance); in rotateLeftChar()
150 return Integer.rotateLeft(value, distance); in rotateLeftInt()
171 return Long.rotateLeft(value, distance); in rotateLeftLong()
341 return Integer.rotateLeft(value, distance); in rotateLeftIntWithByteDistance()
/art/test/557-checker-instruction-simplifier-ror/src/
DMain.java67 return java.lang.Integer.rotateLeft(value, distance); in rotateIntegerLeft()
106 return java.lang.Long.rotateLeft(value, distance); in rotateLongLeft()
/art/test/082-inline-execute/src/
DMain.java1555 Assert.assertEquals(Integer.rotateLeft(0x11, 0), 0x11);
1557 Assert.assertEquals(Integer.rotateLeft(0x11, 1), 0x22);
1558 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE - 1), 0x80000008);
1559 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE), 0x11);
1560 Assert.assertEquals(Integer.rotateLeft(0x11, Integer.SIZE + 1), 0x22);
1562 Assert.assertEquals(Integer.rotateLeft(0x11, -1), 0x80000008);
1563 Assert.assertEquals(Integer.rotateLeft(0x11, -(Integer.SIZE - 1)), 0x22);
1564 Assert.assertEquals(Integer.rotateLeft(0x11, -Integer.SIZE), 0x11);
1565 Assert.assertEquals(Integer.rotateLeft(0x11, -(Integer.SIZE + 1)), 0x80000008);
1567 Assert.assertEquals(Integer.rotateLeft(0xC0000000, 1), 0x80000001);
[all …]
/art/test/083-compiler-regressions/src/
DMain.java872 int b = rotateLeft(x, dist); in b2296099Test()
878 long bl = rotateLeft(xl, distl); in b2296099Test()
886 static int rotateLeft(int i, int distance) { in rotateLeft() method in Main