/art/test/636-arm64-veneer-pool/src/ |
D | Main.java | 17 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 18 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 19 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 20 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 21 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 23 …tic void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } in m() 24 …void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } in mImpl() 26 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 27 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 28 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() [all …]
|
/art/test/514-shifts/src/ |
D | Main.java | 31 throw new Error("Expected -2147483648, got " + b); in testIntShiftLeft() 34 throw new Error("Expected 0xFFF, got " + a); in testIntShiftLeft() 42 throw new Error("Expected 0, got " + b); in testIntShiftRight() 45 throw new Error("Expected 0xFFF, got " + a); in testIntShiftRight() 53 throw new Error("Expected 0, got " + b); in testIntUnsignedShiftRight() 56 throw new Error("Expected 0xFFF, got " + a); in testIntUnsignedShiftRight() 64 throw new Error("Expected 0x2468ACF13579BDEL, got " + b); in testLongShiftLeft() 69 throw new Error("Expected 0x41, got " + a); in testLongShiftLeft() 77 throw new Error("Expected 0x91A2B3C4D5E6F7L, got " + b); in testLongShiftRight() 82 throw new Error("Expected 0x41, got " + a); in testLongShiftRight() [all …]
|
/art/test/638-checker-inline-caches/src/ |
D | Main.java | 139 throw new Error("Expected 42"); in testInlineMonomorphic() 144 throw new Error("Expected 38"); in testInlineMonomorphic() 150 throw new Error("Expected 42"); in testInlinePolymorhic() 154 throw new Error("Expected 38"); in testInlinePolymorhic() 159 throw new Error("Expected 25"); in testInlinePolymorhic() 163 throw new Error("Expected 42"); in testInlinePolymorhic() 167 throw new Error("Expected 24"); in testInlinePolymorhic() 172 throw new Error("Expected 38"); in testInlinePolymorhic() 178 throw new Error("Expected 42"); in testInlineMegamorphic() 185 throw new Error("Expected 42"); in testNoInlineCache()
|
/art/test/441-checker-inliner/src/ |
D | Main.java | 208 throw new Error(); in main() 212 throw new Error(); in main() 216 throw new Error(); in main() 220 throw new Error(); in main() 224 throw new Error(); in main() 228 throw new Error(); in main() 232 throw new Error(); in main() 236 throw new Error(); in main() 240 throw new Error(); in main() 244 throw new Error(); in main() [all …]
|
/art/test/639-checker-code-sinking/src/ |
D | Main.java | 32 } catch (Error e) { in main() 38 } catch (Error e) { in main() 45 } catch (Error e) { in main() 74 throw new Error(o.toString()); in testSimpleUse() 99 throw new Error(o.toString() + o.toString()); in testTwoUses() 130 throw new Error(m.toString()); in testFieldStores() 161 throw new Error(m1.toString() + m2.toString()); in testFieldStoreCycle() 194 throw new Error(o.toString()); in testArrayStores() 205 throw new Error(m.toString()); in testOnlyStoreUses() 217 throw new Error(m.toString()); in testNoUse() [all …]
|
/art/test/462-checker-inlining-dex-files/src/ |
D | Main.java | 166 throw new Error("Expected 38"); in main() 170 throw new Error("Expected 1"); in main() 174 throw new Error("Expected 42"); in main() 178 throw new Error("Expected OtherDex"); in main() 182 throw new Error("Expected " + OtherDex.class); in main() 186 throw new Error("Expected " + OtherDex.class); in main() 190 throw new Error("Expected " + Main.class); in main() 194 throw new Error("Expected " + Main.class); in main()
|
/art/test/542-bitfield-rotates/src/ |
D | Main.java | 21 throw new Error("Expected: " + expected + ", found: " + actual); in assertIntEquals() 27 throw new Error("Expected: " + expected + ", found: " + actual); in assertLongEquals() 55 throw new Error(); in $noinline$rotate_int_right_reg_v_csubv() 78 throw new Error(); in $noinline$rotate_long_right_reg_v_csubv() 101 throw new Error(); in $noinline$rotate_int_left_reg_csubv_v() 124 throw new Error(); in $noinline$rotate_long_left_reg_csubv_v() 147 throw new Error(); in $noinline$rotate_int_right_reg_v_negv() 170 throw new Error(); in $noinline$rotate_long_right_reg_v_negv() 193 throw new Error(); in $noinline$rotate_int_left_reg_negv_v() 216 throw new Error(); in $noinline$rotate_long_left_reg_negv_v() [all …]
|
/art/test/570-checker-osr-locals/src/ |
D | Main.java | 39 throw new Error("Unexpected return value"); in runTests() 42 throw new Error("Unexpected return value"); in runTests() 46 throw new Error("Unexpected return value "); in runTests() 49 throw new Error("Unexpected return value"); in runTests() 54 throw new Error("Corrupted int local variable in caller"); in runTests() 57 throw new Error("Corrupted long local variable in caller"); in runTests() 60 throw new Error("Corrupted float local variable in caller"); in runTests() 63 throw new Error("Corrupted double local variable in caller"); in runTests()
|
/art/test/530-instanceof-checkcast/src/ |
D | Main.java | 117 throw new Error("Unreachable"); in checkInstanceOfTryCatch() 123 throw new Error("Expected " + expected + ", got " + actual); in check() 132 throw new Error("Can't reach here"); in checkCheckCast() 139 throw new Error("Can't reach here"); in checkCheckCast() 146 throw new Error("Can't reach here"); in checkCheckCast() 154 throw new Error("Can't reach here"); in checkCheckCast() 160 throw new Error("Can't reach here"); in checkCheckCast() 165 throw new Error("Can't reach here"); in checkCheckCast() 171 throw new Error("Can't reach here"); in checkCheckCast() 177 throw new Error("Can't reach here"); in checkCheckCast() [all …]
|
/art/test/564-checker-negbitwise/src/ |
D | Main.java | 24 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 30 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals() 80 if (doThrow) throw new Error(); in $opt$noinline$notAnd() 130 if (doThrow) throw new Error(); in $opt$noinline$notOr() 177 if (doThrow) throw new Error(); in $opt$noinline$notXor() 213 if (doThrow) throw new Error(); in $opt$noinline$notAndConstant() 269 if (doThrow) throw new Error(); in $opt$noinline$notAndMultipleUses() 288 if (doThrow) throw new Error(); in $opt$noinline$deMorganOr()
|
/art/test/570-checker-select/src/ |
D | Main.java | 42 throw new Error(); in BoolCond_IntVarVar() 68 throw new Error(); in BoolCond_IntVarCst() 94 throw new Error(); in BoolCond_IntCstVar() 121 throw new Error(); in BoolCond_LongVarVar() 148 throw new Error(); in BoolCond_LongVarCst() 175 throw new Error(); in BoolCond_LongCstVar() 191 throw new Error(); in BoolCond_FloatVarVar() 207 throw new Error(); in BoolCond_FloatVarCst() 223 throw new Error(); in BoolCond_FloatCstVar() 250 throw new Error(); in IntNonmatCond_IntVarVar() [all …]
|
/art/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 24 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 30 throw new Error("Expected: " + expected + ", found: " + result); in assertBooleanEquals() 36 throw new Error("Expected: " + expected + ", found: " + result); in assertCharEquals() 42 throw new Error("Search term: " + searchTerm + ", not found in: " + result); in assertStringContains() 66 throw new Error("Should throw SIOOB."); in main() 73 throw new Error("Should throw SIOOB."); in main() 80 throw new Error("Should throw SIOOB."); in main() 95 throw new Error("Should throw SIOOB."); in main() 104 throw new Error("Should throw SIOOB."); in main() 126 if (doThrow) { throw new Error(); } in $opt$noinline$getStringLength() [all …]
|
/art/test/401-optimizing-compiler/src/ |
D | Main.java | 22 Error error = null; in main() 25 } catch (Error e) { in main() 34 throw new Error("Different value returned: " + result); in main() 43 throw new Error("Different object returned " + a + " " + b); in main() 48 throw new Error("Unexpected result: " + result); in main() 53 throw new Error("Unexpected result: " + result); in main() 58 throw new Error("Unexpected result: " + result); in main() 63 throw new Error("Unexpected result: " + result); in main() 68 throw new Error("Unexpected value returned"); in main() 72 throw new Error("Unexpected value returned"); in main() [all …]
|
/art/test/437-inline/src/ |
D | Main.java | 20 throw new Error(); in main() 24 throw new Error(); in main() 28 throw new Error(); in main() 32 throw new Error(); in main() 36 throw new Error(); in main() 43 throw new Error(); in main() 47 throw new Error(); in main()
|
/art/test/586-checker-null-array-get/src/ |
D | Main.java | 43 throw new Error(ex); in $noinline$runSmaliTest() 50 throw new Error("Expected NullPointerException"); in main() 56 throw new Error("Expected NullPointerException"); in main() 62 throw new Error("Expected NullPointerException"); in main() 66 throw new Error("Unexpected Throwable", t); in main() 70 throw new Error("Expected NullPointerException"); in main() 74 throw new Error("Unexpected Throwable", t); in main() 79 throw new Error("Expected NullPointerException"); in main()
|
/art/test/439-npe/src/ |
D | Main.java | 41 if (doThrow) { throw new Error(); } in $opt$noinline$setObjectField() 46 if (doThrow) { throw new Error(); } in $opt$noinline$setIntField() 51 if (doThrow) { throw new Error(); } in $opt$noinline$setFloatField() 56 if (doThrow) { throw new Error(); } in $opt$noinline$setLongField() 61 if (doThrow) { throw new Error(); } in $opt$noinline$setDoubleField() 66 if (doThrow) { throw new Error(); } in $opt$noinline$setByteField() 71 if (doThrow) { throw new Error(); } in $opt$noinline$setBooleanField() 76 if (doThrow) { throw new Error(); } in $opt$noinline$setCharField() 81 if (doThrow) { throw new Error(); } in $opt$noinline$setShortField() 86 if (doThrow) { throw new Error(); } in $opt$noinline$getObjectField() [all …]
|
/art/test/552-checker-sharpening/src/ |
D | Main.java | 21 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 27 throw new Error("Expected: " + expected + ", found: " + result); in assertStringEquals() 33 throw new Error("Expected: " + expected + ", found: " + result); in assertClassEquals() 40 if (doThrow) { throw new Error(); } in $noinline$foo() 140 if (doThrow) { throw new Error(); } in $noinline$getBootImageString() 157 if (doThrow) { throw new Error(); } in $noinline$getNonBootImageString() 167 if (doThrow) { throw new Error(); } in $noinline$getStringClass() 184 if (doThrow) { throw new Error(); } in $noinline$getOtherClass()
|
/art/test/466-get-live-vreg/src/ |
D | Main.java | 30 throw new Error(e); in moveArgToCalleeSave() 48 throw new Error(""); in $noinline$testIntervalHole() 57 throw new Error("Expected " + staticField3 + 1); in main() 61 throw new Error("Expected " + staticField3 + 1); in main() 77 throw new Error(e); in testWrapperIntervalHole() 88 throw new Error(o.toString()); in $noinline$testCodeSinking()
|
/art/test/593-checker-boolean-2-integral-conv/src/ |
D | Main.java | 146 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsByte() 152 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsShort() 158 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsChar() 164 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsInt() 170 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsLong() 180 throw new Error(ex); in $noinline$runSmaliTest() 190 throw new Error(ex); in $noinline$runSmaliTest()
|
/art/test/672-checker-throw-method/src/ |
D | Main.java | 27 throw new Error("you are null: " + par); in doThrow() 32 throw new Error("you are null: " + par); in checkNotNullDirect() 75 throw new Error("you are null: " + par); in doit1() 249 } catch (Error e) { in main() 259 } catch (Error e) { in main() 269 } catch (Error e) { in main() 279 } catch (Error e) { in main() 289 } catch (Error e) { in main() 305 } catch (Error e) { in main() 313 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
|
/art/test/673-checker-throw-vmethod/src/ |
D | Main.java | 27 throw new Error("you are null: " + par); in doThrow() 32 throw new Error("you are null: " + par); in checkNotNullDirect() 69 throw new Error("you are null: " + par); in doit1() 174 } catch (Error e) { in main() 184 } catch (Error e) { in main() 194 } catch (Error e) { in main() 204 } catch (Error e) { in main() 216 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
|
/art/test/663-checker-select-generator/src/ |
D | Main.java | 26 throw new Error("Expected true"); in assertTrue() 32 throw new Error("Expected false"); in assertFalse() 38 throw new Error("Expected instance of Sub1"); in assertInstanceOfSub1() 44 throw new Error("Expected instance of Sub2"); in assertInstanceOfSub2() 59 throw new Error(e); in main()
|
/art/test/495-checker-checkcast-tests/src/ |
D | Main.java | 146 throw new Error("ClassCastException expected"); in main() 160 throw new Error("ClassCastException expected"); in main() 170 throw new Error("ClassCastException expected"); in main() 178 throw new Error("ClassCastException expected"); in main() 184 throw new Error("ClassCastException expected"); in main() 198 throw new Error("ClassCastException expected"); in main() 208 throw new Error("ClassCastException expected"); in main() 216 throw new Error("ClassCastException expected"); in main()
|
/art/test/551-checker-shifter-operand/src/ |
D | Main.java | 24 throw new Error("Expected: " + expected + ", found: " + result); in assertByteEquals() 30 throw new Error("Expected: " + expected + ", found: " + result); in assertCharEquals() 36 throw new Error("Expected: " + expected + ", found: " + result); in assertShortEquals() 42 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 48 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals() 53 static char $noinline$byteToChar (byte v) { if (doThrow) throw new Error(); return (char)v; } in $noinline$byteToChar() 54 static short $noinline$byteToShort (byte v) { if (doThrow) throw new Error(); return (short)v; } in $noinline$byteToShort() 55 static int $noinline$byteToInt (byte v) { if (doThrow) throw new Error(); return (int)v; } in $noinline$byteToInt() 56 static long $noinline$byteToLong (byte v) { if (doThrow) throw new Error(); return (long)v; } in $noinline$byteToLong() 57 static byte $noinline$charToByte (char v) { if (doThrow) throw new Error(); return (byte)v; } in $noinline$charToByte() [all …]
|
/art/test/529-checker-unresolved/src/ |
D | Main.java | 143 throw new Error("Expected NPE"); in callUnresolvedNull() 150 throw new Error("Expected NPE"); in callUnresolvedNull() 157 throw new Error("Expected NPE"); in callUnresolvedNull() 216 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals() 222 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals() 228 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals() 234 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals() 240 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals() 246 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals() 252 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
|