Home
last modified time | relevance | path

Searched refs:expectEqualsInt (Results 1 – 3 of 3) sorted by relevance

/art/test/567-checker-builder-intrinsics/src/
DTestRotate.java233 expectEqualsInt(0, rotateLeftBoolean(false, i)); in testRotateLeftBoolean()
234 expectEqualsInt(1 << j, rotateLeftBoolean(true, i)); in testRotateLeftBoolean()
239 expectEqualsInt(0x00000001, rotateLeftByte((byte)0x01, 0)); in testRotateLeftByte()
240 expectEqualsInt(0x00000002, rotateLeftByte((byte)0x01, 1)); in testRotateLeftByte()
241 expectEqualsInt(0x80000000, rotateLeftByte((byte)0x01, 31)); in testRotateLeftByte()
242 expectEqualsInt(0x00000001, rotateLeftByte((byte)0x01, 32)); // overshoot in testRotateLeftByte()
243 expectEqualsInt(0xFFFFFF03, rotateLeftByte((byte)0x81, 1)); in testRotateLeftByte()
244 expectEqualsInt(0xFFFFFE07, rotateLeftByte((byte)0x81, 2)); in testRotateLeftByte()
245 expectEqualsInt(0x00000120, rotateLeftByte((byte)0x12, 4)); in testRotateLeftByte()
246 expectEqualsInt(0xFFFF9AFF, rotateLeftByte((byte)0x9A, 8)); in testRotateLeftByte()
[all …]
/art/test/564-checker-bitcount/src/
DMain.java73 expectEqualsInt($noinline$BitCountBoolean(false), 0); in testBitCountBoolean()
74 expectEqualsInt($noinline$BitCountBoolean(true), 1); in testBitCountBoolean()
84 expectEqualsInt($noinline$BitCountByte((byte) 0x00), 0); in testBitCountByte()
85 expectEqualsInt($noinline$BitCountByte((byte) 0x01), 1); in testBitCountByte()
86 expectEqualsInt($noinline$BitCountByte((byte) 0x10), 1); in testBitCountByte()
87 expectEqualsInt($noinline$BitCountByte((byte) 0x11), 2); in testBitCountByte()
88 expectEqualsInt($noinline$BitCountByte((byte) 0x03), 2); in testBitCountByte()
89 expectEqualsInt($noinline$BitCountByte((byte) 0x70), 3); in testBitCountByte()
90 expectEqualsInt($noinline$BitCountByte((byte) 0xF0), 4 + signExtensionSize); in testBitCountByte()
91 expectEqualsInt($noinline$BitCountByte((byte) 0x0F), 4); in testBitCountByte()
[all …]
/art/test/593-checker-boolean-2-integral-conv/src/
DMain.java25 expectEqualsInt(1, booleanToInt(true)); in main()
29 expectEqualsInt(1, longToIntOfBoolean()); in main()
30 expectEqualsInt(1, $noinline$runSmaliTest("longToIntOfBoolean")); in main()
162 private static void expectEqualsInt(int expected, int result) { in expectEqualsInt() method in Main