HomeSort by relevance Sort by last modified time
    Searched refs:assertIntEquals (Results 1 - 21 of 21) sorted by null

  /art/test/463-checker-boolean-simplifier/src/
Main.java 29 public static void assertIntEquals(int expected, int result) {
376 assertIntEquals(42, NegatedCondition(true));
377 assertIntEquals(43, NegatedCondition(false));
378 assertIntEquals(46, SimpleTrueBlock(true, 4));
379 assertIntEquals(43, SimpleTrueBlock(false, 4));
380 assertIntEquals(42, SimpleFalseBlock(true, 7));
381 assertIntEquals(50, SimpleFalseBlock(false, 7));
382 assertIntEquals(48, SimpleBothBlocks(true, 6, 2));
383 assertIntEquals(45, SimpleBothBlocks(false, 6, 2));
384 assertIntEquals(1, ThreeBlocks(true, true))
    [all...]
  /art/test/458-checker-instruction-simplification/src/
Main.java 27 public static void assertIntEquals(int expected, int result) {
    [all...]
  /art/test/521-regression-integer-field-set/src/
Main.java 18 public static void assertIntEquals(int expected, int result) {
28 assertIntEquals(123456, m.i);
31 assertIntEquals(456789, s);
  /art/test/527-checker-array-access-split/src/
Main.java 19 public static void assertIntEquals(int expected, int result) {
322 assertIntEquals(456, constantIndexGet(array));
325 assertIntEquals(2, array[1]);
327 assertIntEquals(789, get(array, 2));
330 assertIntEquals(456, array[1]);
333 assertIntEquals(124, array[0]);
336 assertIntEquals(125, array[0]);
338 assertIntEquals(4, canMergeAfterBCE1());
339 assertIntEquals(6, canMergeAfterBCE2());
  /art/test/552-checker-sharpening/src/
Main.java 19 public static void assertIntEquals(int expected, int result) {
255 assertIntEquals(1, testSimple(1));
256 assertIntEquals(1, testDiamond(false, 1));
257 assertIntEquals(-1, testDiamond(true, 1));
258 assertIntEquals(3, testLoop(new int[]{ 2 }, 1));
259 assertIntEquals(8, testLoop(new int[]{ 3, 4 }, 1));
260 assertIntEquals(1, testLoopWithDiamond(null, false, 1));
261 assertIntEquals(3, testLoopWithDiamond(new int[]{ 2 }, false, 1));
262 assertIntEquals(-6, testLoopWithDiamond(new int[]{ 3, 4 }, true, 1));
  /art/test/542-bitfield-rotates/src/
Main.java 19 public static void assertIntEquals(int expected, int actual) {
61 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, 0), 0x11);
63 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, 1), 0x80000008);
64 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, Integer.SIZE - 1), 0x22);
65 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, Integer.SIZE), 0x11);
66 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, Integer.SIZE + 1), 0x80000008);
68 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, -1), 0x22);
69 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, -(Integer.SIZE - 1)), 0x80000008);
70 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, -Integer.SIZE), 0x11);
71 assertIntEquals($noinline$rotate_int_right_reg_v_csubv(0x11, -(Integer.SIZE + 1)), 0x22)
    [all...]
  /art/test/478-checker-inliner-nested-loop/src/
Main.java 20 public static void assertIntEquals(int expected, int result) {
54 assertIntEquals(0, NestedLoop(1, 1));
55 assertIntEquals(3, NestedLoop(2, 3));
  /art/test/526-checker-caller-callee-regs/src/
Main.java 19 public static void assertIntEquals(int expected, int result) {
87 assertIntEquals($opt$LiveInCall(arg), arg);
  /art/test/480-checker-dead-blocks/src/
Main.java 19 public static void assertIntEquals(int expected, int result) {
192 assertIntEquals(7, testTrueBranch(4, 3));
193 assertIntEquals(1, testFalseBranch(4, 3));
194 assertIntEquals(42, testRemoveLoop(42));
195 assertIntEquals(23, testUpdateLoopInformation(23));
196 assertIntEquals(12, testRemoveSuspendCheck(12, 5));
  /art/test/564-checker-negbitwise/src/
Main.java 22 public static void assertIntEquals(int expected, int result) {
293 assertIntEquals(0xe, $opt$noinline$notAnd(0xf, 0x1));
295 assertIntEquals(~0xe, $opt$noinline$notXor(0xf, 0x1));
296 assertIntEquals(0xe, $opt$noinline$notAndConstant(0x1));
297 assertIntEquals(0xe, $opt$noinline$notAndMultipleUses(0xf, 0x1));
298 assertIntEquals(~0x1, $opt$noinline$deMorganOr(0x3, 0x1));
  /art/test/530-checker-lse/src/
Main.java 689 public static void assertIntEquals(int result, int expected) {
709 assertIntEquals(test1(new TestClass(), new TestClass()), 3);
710 assertIntEquals(test2(new TestClass()), 1);
714 assertIntEquals(test3(obj1), 10);
715 assertIntEquals(test4(new TestClass(), true), 1);
716 assertIntEquals(test4(new TestClass(), false), 1);
717 assertIntEquals(test5(new TestClass(), true), 1);
718 assertIntEquals(test5(new TestClass(), false), 2);
719 assertIntEquals(test6(new TestClass(), new TestClass(), true), 4);
720 assertIntEquals(test6(new TestClass(), new TestClass(), false), 2)
    [all...]
  /art/test/557-checker-instruction-simplifier-ror/src/
Main.java 19 public static void assertIntEquals(int expected, int actual) {
632 assertIntEquals(2, ror_int_constant_c_c(8));
633 assertIntEquals(2, ror_int_constant_c_c_0(8));
636 assertIntEquals(2, ror_int_constant_c_negc(8));
639 assertIntEquals(2, ror_int_reg_v_csubv(8, 2));
642 assertIntEquals(2, ror_int_subv_csubv(8, 2, 0));
643 assertIntEquals(32, ror_int_subv_csubv_env(8, 2, 0));
644 assertIntEquals(32, rol_int_csubv_subv(8, 2, 0));
646 assertIntEquals(32, rol_int_reg_csubv_v(8, 2));
649 assertIntEquals(2, ror_int_reg_v_negv(8, 2))
    [all...]
  /art/test/594-load-string-regression/src/
Main.java 59 assertIntEquals(0x12345678 ^ (0x12345678 >> 5), $noinline$test());
62 public static void assertIntEquals(int expected, int result) {
  /art/test/550-checker-multiply-accumulate/src/
Main.java 22 public static void assertIntEquals(int expected, int result) {
428 assertIntEquals(7, $opt$noinline$mulAdd(1, 2, 3));
430 assertIntEquals(79, $opt$noinline$multipleUses1(7, 8, 9));
432 assertIntEquals(195, $opt$noinline$mulPlusOne(13, 14));
434 assertIntEquals(-306, $opt$noinline$mulNeg(17, 18));
  /art/test/442-checker-constant-folding/src/
Main.java 30 public static void assertIntEquals(int expected, int result) {
    [all...]
  /art/test/551-checker-shifter-operand/src/
Main.java 40 public static void assertIntEquals(int expected, int result) {
200 assertIntEquals((a | $noinline$IntShr(b, 6)) | (a | $noinline$intToChar(b)),
230 assertIntEquals(-$noinline$IntShl(a, 8) | -$noinline$intToShort(a),
250 assertIntEquals(a + $noinline$byteToChar (b), a + (char)b);
252 assertIntEquals(a + $noinline$byteToShort(b), a + (short)b);
261 assertIntEquals (a + $noinline$byteToInt (b), a + (int)b);
305 assertIntEquals(a + $noinline$charToByte (b), a + (byte)b);
306 assertIntEquals(a + $noinline$charToShort(b), a + (short)b);
315 assertIntEquals (a + $noinline$charToInt (b), a + (int)b);
353 assertIntEquals(a + $noinline$shortToByte (b), a + (byte)b)
    [all...]
  /art/test/565-checker-doublenegbitwise/src/
Main.java 22 public static void assertIntEquals(int expected, int result) {
309 assertIntEquals(~0xff, $opt$noinline$andToOr(0xf, 0xff));
311 assertIntEquals(0xf0, $opt$noinline$notXorToXor(0xf, 0xff));
312 assertIntEquals(~0xff, $opt$noinline$notMultipleUses(0xf, 0xff));
  /art/test/566-checker-codegen-select/src/
Main.java 75 assertIntEquals(5, m.$noinline$intSelect_Constant(4));
76 assertIntEquals(7, m.$noinline$intSelect_Constant(2));
79 public static void assertIntEquals(int expected, int actual) {
  /art/test/422-type-conversion/src/
Main.java 33 public static void assertIntEquals(int expected, int result) {
280 assertIntEquals(1, $opt$noinline$LongToInt(1L));
281 assertIntEquals(0, $opt$noinline$LongToInt(0L));
282 assertIntEquals(-1, $opt$noinline$LongToInt(-1L));
283 assertIntEquals(51, $opt$noinline$LongToInt(51L));
284 assertIntEquals(-51, $opt$noinline$LongToInt(-51L));
285 assertIntEquals(2147483647, $opt$noinline$LongToInt(2147483647L)); // 2^31 - 1
286 assertIntEquals(-2147483647, $opt$noinline$LongToInt(-2147483647L)); // -(2^31 - 1)
287 assertIntEquals(-2147483648, $opt$noinline$LongToInt(-2147483648L)); // -(2^31)
288 assertIntEquals(-2147483648, $opt$noinline$LongToInt(2147483648L)); // (2^31
    [all...]
  /art/test/538-checker-embed-constants/src/
Main.java 19 public static void assertIntEquals(int expected, int result) {
500 assertIntEquals(and255(arg), 0x21);
501 assertIntEquals(and511(arg), 0x121);
502 assertIntEquals(andNot15(arg), 0x87654320);
503 assertIntEquals(or255(arg), 0x876543ff);
504 assertIntEquals(or511(arg), 0x876543ff);
505 assertIntEquals(orNot15(arg), 0xfffffff1);
506 assertIntEquals(xor255(arg), 0x876543de);
507 assertIntEquals(xor511(arg), 0x876542de);
508 assertIntEquals(xorNot15(arg), 0x789abcd1)
    [all...]
  /art/test/570-checker-osr/src/
Main.java 266 assertIntEquals(12, $opt$inline$testRemoveSuspendCheck(12, 5));
293 public static void assertIntEquals(int expected, int result) {

Completed in 3257 milliseconds