Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 617) sorted by relevance

12345678910>>...25

/art/test/122-npe/src/
DMain.java46 } 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/
DMain.java49 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/
DMain.java23 } 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/
DTest1927.java28 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/
DMain.java26 } 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/
DJLI.java26 } 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/
DTest1929.java40 } 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/
DMain.java109 } 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/
DTest1928.java35 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/179-nonvirtual-jni/src/
DMain.java33 } 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/
DMain.java44 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/439-swap-double/src/
DMain.java28 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/1934-jvmti-signal-thread/src/art/
DTest1934.java61 } 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/
DReturnsAndArgPassing.java89 } 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/
DVarHandleTypeConversionTests.java32 } 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/
DMain.java48 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/
DHaddShort.java380 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 …]
DHaddOther.java142 short e = (short) (sA[i] >> 1); in main() local
143 expectEquals(e, sOut[i]); in main()
147 short e = (short) (sA[i] >>> 1); in main() local
148 expectEquals(e, sOut[i]); in main()
152 short e = (short) (iA[i] >> 1); in main() local
153 expectEquals(e, sOut[i]); in main()
157 int e = iA[i] >> 1; in main() local
158 expectEquals(e, iOut[i]); in main()
162 short e = (short) (((short) (sA[i] + sB[i])) >> 1); in main() local
163 expectEquals(e, sOut[i]); in main()
[all …]
/art/test/995-breakpoints-throw/src/art/
DTest995.java30 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/405-optimizing-long-allocator/src/
DMain.java91 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/1971-multi-force-early-return/src/art/
DTest1971.java61 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/921-hello-failure/src/
DMultiRedef.java85 } 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/660-checker-sad/src/
DSadShort.java140 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()
DSadChar.java140 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/
DUniqueProgramTrackerListener.java97 } 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 …]

12345678910>>...25