/art/test/122-npe/src/ |
D | Main.java | 46 } catch (NullPointerException e) { in methodTwo() 47 npe = e; in methodTwo() 54 } catch (NullPointerException e) { in methodTwo() 55 npe = e; in methodTwo() 62 } catch (NullPointerException e) { in methodTwo() 63 npe = e; in methodTwo() 69 } catch (NullPointerException e) { in methodTwo() 70 npe = e; in methodTwo() 76 } catch (NullPointerException e) { in methodTwo() 77 npe = e; in methodTwo() [all …]
|
/art/test/123-inline-execute2/src/ |
D | Main.java | 49 double e = (double) j; in main() local 50 System.out.println("Math.cbrt(" + e + ") = " in main() 51 + String.format(Locale.US, "%.12f", Math.cbrt(e))); in main() 52 System.out.println("Math.log(" + e + ") = " in main() 53 + String.format(Locale.US, "%.12f", Math.log(e))); in main() 54 System.out.println("Math.log10(" + e + ") = " in main() 55 + String.format(Locale.US, "%.12f", Math.log10(e))); in main() 56 System.out.println("Math.log1p(" + e + ") = " in main() 57 + String.format(Locale.US, "%.12f", Math.log1p(e))); in main() 58 System.out.println("Math.exp(" + e + ") = " in main() [all …]
|
/art/test/972-iface-super-multidex/src/ |
D | Main.java | 23 } catch (Exception e) { in main() 25 e.printStackTrace(System.out); in main() 31 } catch (Exception e) { in main() 33 e.printStackTrace(System.out); in main() 39 } catch (InvocationTargetException e) { in main() 40 throw e.getCause(); in main() 42 } catch (AbstractMethodError e) { in main() 44 e.printStackTrace(System.out); in main() 45 } catch (NoSuchMethodError e) { in main() 47 e.printStackTrace(System.out); in main() [all …]
|
/art/test/1927-exception-event/src/art/ |
D | Test1927.java | 28 for (StackTrace.StackFrameData e : StackTrace.GetStackTrace(Thread.currentThread())) { in PrintStack() 29 if (Objects.equals(e.method.getDeclaringClass().getPackage(), Test1927.class.getPackage())) { in PrintStack() 30 System.out.println("\t\t" + e.method + " @ line = " + in PrintStack() 31 Breakpoint.locationToLine(e.method, e.current_location)); in PrintStack() 111 } catch (TestException e) { in test_J() 112 printException(e); in test_J() 122 } catch (TestException e) { in test_J_J() 123 printException(e); in test_J_J() 130 } catch (TestException e) { in test_J_N() 131 printException(e); in test_J_N() [all …]
|
/art/test/506-verify-aput/src/ |
D | Main.java | 26 } catch (VerifyError e) { /* ignore */ in main() 27 } catch (Error e) { System.out.println(e.getClass() + " " + e.getClass().getClassLoader()); } in main() 31 } catch (VerifyError e) { /* ignore */ in main() 32 } catch (Error e) { System.out.println(e.getClass() + " " + e.getClass().getClassLoader()); } in main()
|
/art/test/674-hiddenapi/src-ex/ |
D | JLI.java | 26 } catch (NoSuchFieldException e) { in canDiscoverWithLookupFindGetter() 28 } catch (IllegalAccessException e) { in canDiscoverWithLookupFindGetter() 37 } catch (NoSuchFieldException e) { in canDiscoverWithLookupFindSetter() 39 } catch (IllegalAccessException e) { in canDiscoverWithLookupFindSetter() 48 } catch (NoSuchFieldException e) { in canDiscoverWithLookupFindStaticGetter() 50 } catch (IllegalAccessException e) { in canDiscoverWithLookupFindStaticGetter() 59 } catch (NoSuchFieldException e) { in canDiscoverWithLookupFindStaticSetter() 61 } catch (IllegalAccessException e) { in canDiscoverWithLookupFindStaticSetter() 70 } catch (NoSuchMethodException e) { in canDiscoverWithLookupFindConstructor() 72 } catch (IllegalAccessException e) { in canDiscoverWithLookupFindConstructor() [all …]
|
/art/test/1929-exception-catch-exception/src/art/ |
D | Test1929.java | 40 } catch (Exception e) { 41 throw new Error("Unable to list test methods!", e); 52 for (StackTrace.StackFrameData e : StackTrace.GetStackTrace(Thread.currentThread())) { in PrintStack() 53 if (Objects.equals(e.method.getDeclaringClass().getPackage(), Test1929.class.getPackage())) { in PrintStack() 54 System.out.println("\t\t" + e.method + " @ line = " + in PrintStack() 55 Breakpoint.locationToLine(e.method, e.current_location)); in PrintStack() 76 public BaseTestException(String e) { super(e); } in BaseTestException() argument 77 public BaseTestException(String e, Throwable t) { super(e, t); } in BaseTestException() argument 80 public TestException(String e) { super(e); } in TestException() argument 81 public TestException(String e, Throwable t) { super(e, t); } in TestException() argument [all …]
|
/art/test/008-exceptions/src/ |
D | Main.java | 109 } catch (BadError e) { in exceptionsRethrowClassInitFailure() 110 System.out.println(e); in exceptionsRethrowClassInitFailure() 118 } catch (NoClassDefFoundError e) { in exceptionsRethrowClassInitFailure() 119 System.out.println(e); in exceptionsRethrowClassInitFailure() 120 System.out.println(e.getCause()); in exceptionsRethrowClassInitFailure() 132 } catch (BadErrorNoStringInit e) { in exceptionsRethrowClassInitFailureNoStringInit() 133 System.out.println(e); in exceptionsRethrowClassInitFailureNoStringInit() 141 } catch (NoClassDefFoundError e) { in exceptionsRethrowClassInitFailureNoStringInit() 142 System.out.println(e); in exceptionsRethrowClassInitFailureNoStringInit() 143 System.out.println(e.getCause()); in exceptionsRethrowClassInitFailureNoStringInit() [all …]
|
/art/test/1928-exception-event-exception/src/art/ |
D | Test1928.java | 35 for (StackTrace.StackFrameData e : StackTrace.GetStackTrace(Thread.currentThread())) { in PrintStack() 36 if (Objects.equals(e.method.getDeclaringClass().getPackage(), Test1928.class.getPackage())) { in PrintStack() 37 System.out.println("\t\t" + e.method + " @ line = " + in PrintStack() 38 Breakpoint.locationToLine(e.method, e.current_location)); in PrintStack() 72 public BaseTestException(String e) { super(e); } in BaseTestException() argument 73 public BaseTestException(String e, Throwable t) { super(e, t); } in BaseTestException() argument 76 public TestException(String e) { super(e); } in TestException() argument 77 public TestException(String e, Throwable t) { super(e, t); } in TestException() argument 81 public TestExceptionNoRethrow(String e) { super(e); } in TestExceptionNoRethrow() argument 82 public TestExceptionNoRethrow(String e, Throwable t) { super(e, t); } in TestExceptionNoRethrow() argument [all …]
|
/art/test/439-swap-double/src/ |
D | Main.java | 28 callWithDoubles(a, b, c, d, e, f, g); in foo() 29 callWithDoubles(b, c, d, e, f, g, a); in foo() 30 callWithDoubles(c, d, e, f, g, a, b); in foo() 31 callWithDoubles(d, e, f, g, a, b, c); in foo() 35 double a, double b, double c, double d, double e, double f, double g) { in callWithDoubles() argument 36 System.out.println(a - b - c - d - e - f - g); in callWithDoubles() 43 double e = 5.0; field in Main
|
/art/test/484-checker-register-hints/src/ |
D | Main.java | 44 int e = live1; in test1() local 53 foo.field2 = e + i + h; in test1() 59 live1 = e + f + g + j; in test1() 79 int e = live1; in test2() local 87 foo.field2 = e + i + h; in test2() 94 live1 = e + f + g + j; in test2() 104 int e = live1; in test3() local 109 live1 = e; in test3() 112 live1 = e; in test3() 116 foo.field2 = e + i + h; in test3() [all …]
|
/art/test/1934-jvmti-signal-thread/src/art/ |
D | Test1934.java | 61 } catch (Exception e) { in ensureInitialized() 62 throw new Error("Failed to initialize " + c, e); in ensureInitialized() 82 target.setUncaughtExceptionHandler((t, e) -> { out_err[0] = e; }); in testStopBeforeStart() argument 92 } catch (Exception e) { in testStopBeforeStart() 93 System.out.println("Caught exception " + e); in testStopBeforeStart() 101 target.setUncaughtExceptionHandler((t, e) -> { out_err[0] = e; }); in testInterruptBeforeStart() argument 111 } catch (Exception e) { in testInterruptBeforeStart() 112 System.out.println("Caught exception " + e); in testInterruptBeforeStart() 127 } catch (InterruptedException e) { throw new Error("Interrupted!", e); } in testStopWait() 130 target.setUncaughtExceptionHandler((t, e) -> { out_err[0] = e; }); in testStopWait() argument [all …]
|
/art/test/044-proxy/src/ |
D | ReturnsAndArgPassing.java | 89 } catch (Exception e) { in invoke() 90 throw new Error("return type = " + returnType, e); in invoke() 190 } catch (NullPointerException e) { in testProxyReturns() 198 } catch (NullPointerException e) { in testProxyReturns() 206 } catch (NullPointerException e) { in testProxyReturns() 214 } catch (NullPointerException e) { in testProxyReturns() 222 } catch (NullPointerException e) { in testProxyReturns() 230 } catch (NullPointerException e) { in testProxyReturns() 238 } catch (NullPointerException e) { in testProxyReturns() 246 } catch (NullPointerException e) { in testProxyReturns() [all …]
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleTypeConversionTests.java | 32 } catch (Exception e) { 33 throw new RuntimeException(e); 69 } catch (Exception e) { 70 throw new RuntimeException(e); 97 } catch (Exception e) { 98 throw new RuntimeException(e); 123 } catch (Exception e) { 124 throw new RuntimeException(e); 151 } catch (Exception e) { 152 throw new RuntimeException(e); [all …]
|
/art/test/412-new-array/src/ |
D | Main.java | 48 short[] e = new short[5]; in $opt$TestAllocations() local 49 assertEquals(5, e.length); in $opt$TestAllocations() 85 short[] e = {4, 5, 6}; in $opt$TestWithInitializations() local 86 assertEquals(3, e.length); in $opt$TestWithInitializations() 87 assertEquals(4, e[0]); in $opt$TestWithInitializations() 88 assertEquals(5, e[1]); in $opt$TestWithInitializations() 89 assertEquals(6, e[2]); in $opt$TestWithInitializations() 137 } catch (NegativeArraySizeException e) { in testNegativeArraySize() 214 } catch (VerifyError e) { in testSmaliVerifyError() 215 error = e; in testSmaliVerifyError() [all …]
|
/art/test/995-breakpoints-throw/src/art/ |
D | Test995.java | 30 public void breakpointReached(Executable e, long loc); in breakpointReached() argument 54 public static void notifyBreakpointReached(Thread thr, Executable e, long loc) { in notifyBreakpointReached() argument 55 System.out.println("\tBreakpoint: " + e + " @ line=" + Breakpoint.locationToLine(e, loc)); in notifyBreakpointReached() 56 HANDLER.breakpointReached(e, loc); in notifyBreakpointReached() 65 public void breakpointReached(Executable e, long loc) { in makeHandler() argument 66 h.breakpointReached(e, loc); in makeHandler() 97 makeHandler("do nothing", (e, l) -> {}), 98 makeHandler("throw", (e, l) -> { throw new Error("throwing error!"); }), 124 } catch (Throwable e) { 126 test, e.getClass().getName(), e.getMessage(), handler);
|
/art/test/646-checker-hadd-short/src/ |
D | Main.java | 380 short e = (short) ((sB1[i] + sB2[i]) >> 1); in main() local 381 expectEquals(e, sBo[i]); in main() 385 short e = (short) ((sB1[i] + sB2[i]) >> 1); in main() local 386 expectEquals(e, sBo[i]); in main() 390 short e = (short) (((sB1[i] & 0xffff) + (sB2[i] & 0xffff)) >> 1); in main() local 391 expectEquals(e, sBo[i]); in main() 395 short e = (short) ((sB1[i] + sB2[i] + 1) >> 1); in main() local 396 expectEquals(e, sBo[i]); in main() 400 short e = (short) ((sB1[i] + sB2[i] + 1) >> 1); in main() local 401 expectEquals(e, sBo[i]); in main() [all …]
|
/art/test/921-hello-failure/src/ |
D | MultiRedef.java | 85 } catch (Exception e) { in doTest() 87 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest() 93 } catch (Exception e) { in doTest() 95 "Transformation error : " + e.getClass().getName() + "(" + e.getMessage() + ")"); in doTest()
|
/art/test/405-optimizing-long-allocator/src/ |
D | Main.java | 91 long e = 0; in $opt$TestMultipleLive() local 99 e += 3; in $opt$TestMultipleLive() 124 long e = 0; in $opt$testSpillInIf() local 129 e += 3; in $opt$testSpillInIf() 132 return a - b - c - d - e; in $opt$testSpillInIf() 135 …public static long $opt$TestAgressiveLive1(long a, long b, long c, long d, long e, long f, long g)… in $opt$TestAgressiveLive1() argument 138 long j = e - f; in $opt$TestAgressiveLive1() 153 return a - b - c - d - e - f - g - h - i - j - k; in $opt$TestAgressiveLive1() 156 …public static long $opt$TestAgressiveLive2(long a, long b, long c, long d, long e, long f, long g)… in $opt$TestAgressiveLive2() argument 159 long j = e - f; in $opt$TestAgressiveLive2() [all …]
|
/art/test/700-LoadArgRegs/ |
D | expected.txt | 25 a, b, c, d, e 26 a, b, c, d, e, f 27 a, b, c, d, e, f, g 32 11, b, true, 12, e 33 11, b, true, 12, e, false 34 11, b, true, 12, e, false, 13
|
/art/test/660-checker-sad-char/src/ |
D | Main.java | 140 int e = Math.abs(x - y); in main() local 141 expectEquals(e, sad1(x, y)); in main() 142 expectEquals(e, sad2(x, y)); in main() 143 expectEquals(e, sad3(x, y)); in main() 144 expectEquals(e, sad3Alt(x, y)); in main() 145 expectEquals(e, sadL1(x, y)); in main() 146 expectEquals(e, sadL2(x, y)); in main() 147 expectEquals(e, sadL3(x, y)); in main() 148 expectEquals(e, sadL3Alt(x, y)); in main()
|
/art/test/660-checker-sad-short/src/ |
D | Main.java | 140 int e = Math.abs(x - y); in main() local 141 expectEquals(e, sad1(x, y)); in main() 142 expectEquals(e, sad2(x, y)); in main() 143 expectEquals(e, sad3(x, y)); in main() 144 expectEquals(e, sad3Alt(x, y)); in main() 145 expectEquals(e, sadL1(x, y)); in main() 146 expectEquals(e, sadL2(x, y)); in main() 147 expectEquals(e, sadL3(x, y)); in main() 148 expectEquals(e, sadL3Alt(x, y)); in main()
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
D | UniqueProgramTrackerListener.java | 97 } catch (FileNotFoundException e) { in getMD5SumOfProgram() 98 e.printStackTrace(); in getMD5SumOfProgram() 99 } catch (IOException e) { in getMD5SumOfProgram() 100 e.printStackTrace(); in getMD5SumOfProgram() 125 } catch (FileNotFoundException e) { in loadUniqueProgsData() 126 e.printStackTrace(); in loadUniqueProgsData() 127 } catch (IOException e) { in loadUniqueProgsData() 128 e.printStackTrace(); in loadUniqueProgsData() 129 } catch (ClassNotFoundException e) { in loadUniqueProgsData() 130 e.printStackTrace(); in loadUniqueProgsData() [all …]
|
/art/test/952-invoke-custom/src/ |
D | Main.java | 28 } catch (IllegalStateException e) { in TestUninitializedCallSite() 36 } catch (IllegalStateException e) { in TestUninitializedCallSite() 54 } catch (BootstrapMethodError e) { in TestLinkerMethodMinimalArguments() 55 assertEquals(e.getCause().getClass(), ClassCastException.class); in TestLinkerMethodMinimalArguments() 62 } catch (BootstrapMethodError e) { in TestLinkerMethodMinimalArguments() 63 assertEquals(e.getCause().getClass(), InstantiationException.class); in TestLinkerMethodMinimalArguments() 70 } catch (ArithmeticException e) { in TestLinkerMethodMinimalArguments()
|
/art/test/1902-suspend/src/art/ |
D | Test1902.java | 39 } catch (Exception e) { in waitFor() 40 System.out.println("Unexpected error: " + e); in waitFor() 41 e.printStackTrace(); in waitFor() 69 } catch (Exception e) { in run() 70 if (!e.getMessage().equals("JVMTI_ERROR_THREAD_NOT_SUSPENDED")) { in run() 76 } catch (Exception e) { in run() 77 if (!e.getMessage().equals("JVMTI_ERROR_THREAD_NOT_SUSPENDED")) { in run()
|