/art/test/122-npe/src/ |
D | Main.java | 48 } catch (NullPointerException e) { in methodTwo() 49 npe = e; in methodTwo() 56 } catch (NullPointerException e) { in methodTwo() 57 npe = e; in methodTwo() 64 } catch (NullPointerException e) { in methodTwo() 65 npe = e; in methodTwo() 71 } catch (NullPointerException e) { in methodTwo() 72 npe = e; in methodTwo() 78 } catch (NullPointerException e) { in methodTwo() 79 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/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/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/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/816-illegal-new-array/src/ |
D | Main.java | 28 } catch (InvocationTargetException e) { in main() 29 if (!(e.getCause() instanceof IllegalAccessError)) { in main() 30 throw new Error("Expected IllegalAccessError, got " + e.getCause()); in main() 38 } catch (InvocationTargetException e) { in main() 39 if (!(e.getCause() instanceof IllegalAccessError)) { in main() 40 throw new Error("Expected IllegalAccessError, got " + e.getCause()); in main() 48 } catch (InvocationTargetException e) { in main() 49 if (!(e.getCause() instanceof IllegalAccessError)) { in main() 50 throw new Error("Expected IllegalAccessError, got " + e.getCause()); in main()
|
/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/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/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/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/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/179-nonvirtual-jni/src/ |
D | Main.java | 33 } catch (Exception e) { in main() 34 System.out.println("Caught exception " + e); in main() 39 } catch (Exception e) { in main() 40 System.out.println("Caught exception " + e); in main() 45 } catch (Exception e) { in main() 46 System.out.println("Caught exception " + e); in main() 51 } catch (Exception e) { in main() 52 System.out.println("Caught exception " + e); 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/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/823-cha-inlining/src/ |
D | Main.java | 60 } catch (Exception e) { in main() 68 } catch (Exception e) { in main() 76 } catch (Exception e) { in main() 78 } catch (IncompatibleClassChangeError e) { in main() 94 } catch (Exception e) { in main() 95 throw new Error("Unexpected exception " + e); in main() 96 } catch (IncompatibleClassChangeError e) { in main() 104 } catch (Exception e) { in main() 106 } catch (IncompatibleClassChangeError e) { in main()
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleTypeConversionTests.java | 32 } catch (Exception e) { 33 throw new RuntimeException(e); 71 } catch (Exception e) { 72 throw new RuntimeException(e); 99 } catch (Exception e) { 100 throw new RuntimeException(e); 125 } catch (Exception e) { 126 throw new RuntimeException(e); 153 } catch (Exception e) { 154 throw new RuntimeException(e); [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/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/646-checker-simd-hadd/src/ |
D | HaddShort.java | 547 short e = (short) ((sB1[i] + sB2[i]) >> 1); in main() local 548 expectEquals(e, sBo[i]); in main() 552 short e = (short) ((sB1[i] + sB2[i]) >> 1); in main() local 553 expectEquals(e, sBo[i]); in main() 557 short e = (short) (((sB1[i] & 0xffff) + (sB2[i] & 0xffff)) >> 1); in main() local 558 expectEquals(e, sBo[i]); in main() 562 short e = (short) ((sB1[i] + sB2[i] + 1) >> 1); in main() local 563 expectEquals(e, sBo[i]); in main() 567 short e = (short) ((sB1[i] + sB2[i] + 1) >> 1); in main() local 568 expectEquals(e, sBo[i]); in main() [all …]
|
D | HaddOther.java | 155 short e = (short) (sA[i] >> 1); in main() local 156 expectEquals(e, sOut[i]); in main() 160 short e = (short) (sA[i] >>> 1); in main() local 161 expectEquals(e, sOut[i]); in main() 165 short e = (short) (iA[i] >> 1); in main() local 166 expectEquals(e, sOut[i]); in main() 170 int e = iA[i] >> 1; in main() local 171 expectEquals(e, iOut[i]); in main() 175 short e = (short) (((short) (sA[i] + sB[i])) >> 1); in main() local 176 expectEquals(e, sOut[i]); in main() [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/1971-multi-force-early-return/src/art/ |
D | Test1971.java | 61 for (StackTraceElement e : st) { in safeDumpStackTrace() 64 + e.getClassName() in safeDumpStackTrace() 66 + e.getMethodName() in safeDumpStackTrace() 68 + (e.isNativeMethod() ? "Native Method" : e.getFileName()) in safeDumpStackTrace() 70 if (e.getClassName().equals("art.Test1971") && e.getMethodName().equals("runTests")) { in safeDumpStackTrace() 118 } catch (Exception e) { in run() 119 throw new Error("Failed to run test!", e); in run() 132 } catch (RuntimeException e) { in run() 133 if (e.getMessage().equals("JVMTI_ERROR_DUPLICATE")) { in run() 136 throw e; in run() [all …]
|
/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/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/660-checker-sad/src/ |
D | SadChar.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()
|