/art/test/122-npe/src/ |
D | Main.java | 41 NullPointerException npe = null; in methodTwo() local 49 npe = e; in methodTwo() 51 check(npe, thisLine += 4); in methodTwo() 57 npe = e; in methodTwo() 59 check(npe, thisLine += 8); in methodTwo() 65 npe = e; in methodTwo() 67 check(npe, thisLine += 8); in methodTwo() 72 npe = e; in methodTwo() 74 check(npe, thisLine += 7); in methodTwo() 79 npe = e; in methodTwo() [all …]
|
/art/test/439-npe/src/ |
D | Main.java | 316 } catch (NullPointerException npe) { in main() 317 check(npe, thisLine += 2, methodLine, "$opt$noinline$setObjectField"); in main() 322 } catch (NullPointerException npe) { in main() 323 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setIntField"); in main() 328 } catch (NullPointerException npe) { in main() 329 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setFloatField"); in main() 334 } catch (NullPointerException npe) { in main() 335 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setLongField"); in main() 340 } catch (NullPointerException npe) { in main() 341 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setDoubleField"); in main() [all …]
|
/art/test/439-npe/ |
D | Android.bp | 3 // Build rules for ART run-test `439-npe`. 16 name: "art-run-test-439-npe", 21 ":art-run-test-439-npe-expected-stdout", 22 ":art-run-test-439-npe-expected-stderr", 28 name: "art-run-test-439-npe-expected-stdout", 29 out: ["art-run-test-439-npe-expected-stdout.txt"], 36 name: "art-run-test-439-npe-expected-stderr", 37 out: ["art-run-test-439-npe-expected-stderr.txt"],
|
D | info.txt | 1 More tests for NullPointerExceptions to complement 122-npe.
|
/art/test/122-npe/ |
D | Android.bp | 3 // Build rules for ART run-test `122-npe`. 16 name: "art-run-test-122-npe", 21 ":art-run-test-122-npe-expected-stdout", 22 ":art-run-test-122-npe-expected-stderr", 28 name: "art-run-test-122-npe-expected-stdout", 29 out: ["art-run-test-122-npe-expected-stdout.txt"], 36 name: "art-run-test-122-npe-expected-stderr", 37 out: ["art-run-test-122-npe-expected-stderr.txt"],
|
/art/test/814-large-field-offsets/src/ |
D | Main.java | 156 static void check(NullPointerException npe, int firstLine) { in check() argument 157 StackTraceElement[] trace = npe.getStackTrace(); in check() 183 NullPointerException npe = null; in test() local 192 npe = e; in test() 194 check(npe, thisLine += 6); in test() 199 npe = e; in test() 201 check(npe, thisLine += 7); in test() 206 npe = e; in test() 208 check(npe, thisLine += 7); in test() 213 npe = e; in test() [all …]
|
/art/test/671-npe-field-opts/ |
D | Android.bp | 3 // Build rules for ART run-test `671-npe-field-opts`. 16 name: "art-run-test-671-npe-field-opts", 21 ":art-run-test-671-npe-field-opts-expected-stdout", 22 ":art-run-test-671-npe-field-opts-expected-stderr", 28 name: "art-run-test-671-npe-field-opts-expected-stdout", 29 out: ["art-run-test-671-npe-field-opts-expected-stdout.txt"], 36 name: "art-run-test-671-npe-field-opts-expected-stderr", 37 out: ["art-run-test-671-npe-field-opts-expected-stderr.txt"],
|
/art/test/106-exceptions2/src/ |
D | Main.java | 70 } catch (NullPointerException npe) { in checkThrow() 77 } catch (NullPointerException npe) { in checkThrow() 84 } catch (NullPointerException npe) { in checkThrow() 98 } catch (NullPointerException npe) { in checkThrow() 107 } catch (NullPointerException npe) { in checkThrow() 126 } catch (NullPointerException npe) { in checkThrow() 165 } catch (NullPointerException npe) { in checkAIOBE() 173 } catch (NullPointerException npe) { in checkAIOBE() 189 } catch (NullPointerException npe) { in checkDivZero()
|
/art/test/003-omnibus-opcodes/src/ |
D | InstField.java | 42 } catch (NullPointerException npe) { in nullCheck() 48 } catch (NullPointerException npe) { in nullCheck() 54 } catch (NullPointerException npe) { in nullCheck() 60 } catch (NullPointerException npe) { in nullCheck()
|
D | Throw.java | 55 } catch (NullPointerException npe) { in twoA() 77 } catch (NullPointerException npe) { in twoN()
|
D | Monitor.java | 44 } catch (NullPointerException npe) { in run()
|
D | MethodCall.java | 64 } catch (NullPointerException npe) { in run()
|
/art/test/008-exceptions/src/ |
D | Main.java | 75 } catch (NullPointerException npe) { in exceptions_007() 77 System.out.println(npe.getMessage()); in exceptions_007() 78 npe.printStackTrace(System.out); in exceptions_007() 92 } catch (NullPointerException npe) { in catchAndRethrow() 95 npe2.initCause(npe); in catchAndRethrow()
|
/art/test/408-move-bug/src/ |
D | Main.java | 21 npe(); in main() 45 static void npe() { in npe() method in Main
|
/art/test/671-npe-field-opts/src/ |
D | Main.java | 59 static void check(NullPointerException npe, int mainLine, int methodLine, String methodName) { in check() argument 60 StackTraceElement[] trace = npe.getStackTrace(); in check()
|
/art/test/140-dce-regression/src/ |
D | Main.java | 25 } catch (NullPointerException npe) { in testArrayLength()
|
/art/test/524-boolean-simplifier-regression/src/ |
D | Main.java | 27 } catch (NullPointerException npe) { in test1()
|
/art/test/021-string2/ |
D | expected-stdout.txt | 1 Got expected npe
|
/art/test/081-hot-exceptions/src/ |
D | Main.java | 35 } catch (NullPointerException npe) { in main()
|
/art/test/127-checker-secondarydex/src/ |
D | Main.java | 38 } catch (NullPointerException npe) { in testSlowPathDirectInvoke()
|
/art/test/083-compiler-regressions/src/ |
D | Main.java | 243 } catch(NullPointerException npe) { in getterSetterTest() 291 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 296 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 301 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 306 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 311 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 316 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 321 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 326 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() 331 } catch(NullPointerException npe) { in setterTestWithReturnArgIgnoreReturn() [all …]
|
/art/test/537-checker-arraycopy/src/ |
D | Main.java | 30 } catch (NullPointerException npe) { in main()
|
/art/test/201-built-in-except-detail-messages/src/ |
D | Main.java | 441 } catch (NullPointerException npe) { in reflection() 442 assertEquals("null receiver", npe.getMessage()); in reflection()
|
/art/test/020-string/src/ |
D | Main.java | 137 } catch (NullPointerException npe) { in copyTest()
|
/art/test/107-int-math2/src/ |
D | Main.java | 137 } catch (NullPointerException npe) { in catchBlock() 146 } catch (NullPointerException npe) { in catchBlockNoThrow() 741 } catch (NullPointerException npe) { in throwAndCatch()
|