Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 190) sorted by relevance

12345678

/art/test/514-shifts/src/
DMain.java31 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/441-checker-inliner/src/
DMain.java227 throw new Error(); in main()
231 throw new Error(); in main()
235 throw new Error(); in main()
239 throw new Error(); in main()
243 throw new Error(); in main()
247 throw new Error(); in main()
251 throw new Error(); in main()
255 throw new Error(); in main()
259 throw new Error(); in main()
263 throw new Error(); in main()
[all …]
/art/test/462-checker-inlining-across-dex-files/src/
DMain.java166 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/565-checker-doublenegbitwise/src/
DMain.java24 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
30 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals()
61 if (doThrow) throw new Error(); in $opt$noinline$andToOr()
98 if (doThrow) throw new Error(); in $opt$noinline$booleanAndToOr()
129 if (doThrow) throw new Error(); in $opt$noinline$orToAnd()
166 if (doThrow) throw new Error(); in $opt$noinline$booleanOrToAnd()
206 if (doThrow) throw new Error(); in $opt$noinline$regressInputsAway()
237 if (doThrow) throw new Error(); in $opt$noinline$notXorToXor()
269 if (doThrow) throw new Error(); in $opt$noinline$booleanNotXorToXor()
303 if (doThrow) throw new Error(); in $opt$noinline$notMultipleUses()
/art/test/542-bitfield-rotates/src/
DMain.java21 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/550-checker-multiply-accumulate/src/
DMain.java24 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
30 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals()
83 if (doThrow) throw new Error(); in $opt$noinline$mulAdd()
125 if (doThrow) throw new Error(); in $opt$noinline$mulSub()
177 if (doThrow) throw new Error(); in $opt$noinline$multipleUses1()
235 if (doThrow) throw new Error(); in $opt$noinline$multipleUses2()
288 if (doThrow) throw new Error(); in $opt$noinline$mulPlusOne()
329 if (doThrow) throw new Error(); in $opt$noinline$mulMinusOne()
376 if (doThrow) throw new Error(); in $opt$noinline$mulNeg()
423 if (doThrow) throw new Error(); in $opt$noinline$mulNeg()
/art/test/530-instanceof-checkcast/src/
DMain.java117 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/
DMain.java24 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/401-optimizing-compiler/src/
DMain.java22 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/
DMain.java20 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/570-checker-osr/src/
DMain.java42 throw new Error("Unexpected return value"); in performTest()
45 throw new Error("Unexpected return value"); in performTest()
48 throw new Error("Unexpected return value "); in performTest()
51 throw new Error("Unexpected return value"); in performTest()
61 throw new Error("Unexpected return value"); in performTest()
66 throw new Error("Unexpected return value"); in performTest()
73 throw new Error("Unexpected return value"); in performTest()
84 if (doThrow) throw new Error(""); in $noinline$returnInt()
94 if (doThrow) throw new Error(""); in $noinline$returnFloat()
104 if (doThrow) throw new Error(""); in $noinline$returnDouble()
[all …]
/art/test/551-checker-shifter-operand/src/
DMain.java24 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/466-get-live-vreg/src/
DMain.java30 throw new Error(e); in moveArgToCalleeSave()
48 throw new Error(""); in $opt$noinline$testIntervalHole()
57 throw new Error("Expected " + staticField3); in main()
61 throw new Error("Expected " + staticField3); in main()
75 throw new Error(e); in testWrapperIntervalHole()
/art/test/495-checker-checkcast-tests/src/
DMain.java146 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/415-optimizing-arith-neg/src/
DMain.java24 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
30 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
36 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
42 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
48 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
54 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
60 throw new Error("Expected NaN: " + result); in assertIsNaN()
66 throw new Error("Expected NaN: " + result); in assertIsNaN()
177 throw new Error(); in $opt$noinline$InplaceNegOneInt()
186 throw new Error(); in $opt$noinline$InplaceNegOneLong()
[all …]
/art/test/461-get-reference-vreg/src/
DMain.java45 throw new Error("Expected 1"); in main()
49 throw new Error("Expected 2"); in main()
53 throw new Error("Expected 3"); in main()
57 throw new Error("Expected 4"); in main()
/art/test/593-checker-boolean-to-integral-conv/src/
DMain.java201 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsByte()
207 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsShort()
213 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsChar()
219 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsInt()
225 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsLong()
/art/test/506-verify-aput/src/
DMain.java25 throw new Error("expected verification error"); in main()
27 } catch (Error e) { System.out.println(e.getClass() + " " + e.getClass().getClassLoader()); } in main()
30 throw new Error("expected verification error"); in main()
32 } catch (Error e) { System.out.println(e.getClass() + " " + e.getClass().getClassLoader()); } in main()
/art/test/575-checker-string-init-alias/src/
DMain.java29 throw new Error("Assertion failed: " + expected + " != " + actual); in assertEqual()
42 throw new Error("Expected AIOOBE"); in main()
45 throw new Error("Expected AIOOBE"); in main()
57 throw new Error("Expected AIOOBE"); in main()
60 throw new Error("Expected AIOOBE"); in main()
/art/test/566-checker-codegen-select/src/
DMain.java24 if (doThrow) { throw new Error(); } in $noinline$longSelect()
49 if (doThrow) { throw new Error(); } in $noinline$longSelect_Constant()
63 if (doThrow) { throw new Error(); } in $noinline$intSelect_Constant()
81 throw new Error(expected + " != " + actual); in assertIntEquals()
87 throw new Error(expected + " != " + actual); in assertLongEquals()
/art/test/537-checker-arraycopy/src/
DMain.java23 throw new Error("Should not be here"); in main()
29 throw new Error("Should not be here"); in main()
36 throw new Error("Should not be here"); in main()
46 throw new Error("Should not be here"); in main()
/art/tools/checker/common/
Dlogger.py22 NoOutput, Error, Info = range(3) variable in Logger.Level
59 Logger.log("error: ", Logger.Level.Error, color=Logger.Color.Red, newLine=False, out=sys.stderr)
60 Logger.log(msg, Logger.Level.Error, out=sys.stderr)
70 Logger.log(loc, Logger.Level.Error, color=Logger.Color.Gray, newLine=False, out=sys.stderr)
71 Logger.log(lineText, Logger.Level.Error, out=sys.stderr)
80 Logger.log(var, Logger.Level.Error, color=Logger.Color.Green, newLine=False, out=sys.stderr)
81 Logger.log(padding, Logger.Level.Error, newLine=False, out=sys.stderr)
82 Logger.log(" = ", Logger.Level.Error, newLine=False, out=sys.stderr)
83 Logger.log(variables[var], Logger.Level.Error, out=sys.stderr)
/art/test/552-checker-sharpening/src/
DMain.java21 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
27 throw new Error("Expected: " + expected + ", found: " + result); in assertStringEquals()
34 if (doThrow) { throw new Error(); } in $noinline$foo()
219 if (doThrow) { throw new Error(); } in $noinline$getBootImageString()
249 if (doThrow) { throw new Error(); } in $noinline$getNonBootImageString()
/art/test/576-polymorphic-inlining/src/
DMain.java36 throw new Error("Expected " + expected + ", got " + actual); in assertIdentical()
41 if (doThrow) throw new Error(""); in $noinline$testVoid()
47 if (doThrow) throw new Error(""); in $noinline$testWithReturnValue()
53 if (doThrow) throw new Error(""); in $noinline$testWithBackEdge()
80 if (doThrow) throw new Error(""); in willOnlyInlineForMainVoid()
/art/test/529-long-split/src/
DMain.java20 throw new Error(); in main()
24 throw new Error(); in main()
28 throw new Error(); in main()
170 if (doThrow) throw new Error(); in $noinline$doCall()
174 if (doThrow) throw new Error(); in $noinline$doCall()

12345678