Home
last modified time | relevance | path

Searched refs:npe (Results 1 – 25 of 29) sorted by relevance

12

/art/test/122-npe/src/
DMain.java41 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/
DMain.java316 } 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/
DAndroid.bp3 // 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"],
Dinfo.txt1 More tests for NullPointerExceptions to complement 122-npe.
/art/test/122-npe/
DAndroid.bp3 // 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/
DMain.java156 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/
DAndroid.bp3 // 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/
DMain.java70 } 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/
DInstField.java42 } catch (NullPointerException npe) { in nullCheck()
48 } catch (NullPointerException npe) { in nullCheck()
54 } catch (NullPointerException npe) { in nullCheck()
60 } catch (NullPointerException npe) { in nullCheck()
DThrow.java55 } catch (NullPointerException npe) { in twoA()
77 } catch (NullPointerException npe) { in twoN()
DMonitor.java44 } catch (NullPointerException npe) { in run()
DMethodCall.java64 } catch (NullPointerException npe) { in run()
/art/test/008-exceptions/src/
DMain.java75 } 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/
DMain.java21 npe(); in main()
45 static void npe() { in npe() method in Main
/art/test/671-npe-field-opts/src/
DMain.java59 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/
DMain.java25 } catch (NullPointerException npe) { in testArrayLength()
/art/test/524-boolean-simplifier-regression/src/
DMain.java27 } catch (NullPointerException npe) { in test1()
/art/test/021-string2/
Dexpected-stdout.txt1 Got expected npe
/art/test/081-hot-exceptions/src/
DMain.java35 } catch (NullPointerException npe) { in main()
/art/test/127-checker-secondarydex/src/
DMain.java38 } catch (NullPointerException npe) { in testSlowPathDirectInvoke()
/art/test/083-compiler-regressions/src/
DMain.java243 } 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/
DMain.java30 } catch (NullPointerException npe) { in main()
/art/test/201-built-in-except-detail-messages/src/
DMain.java437 } catch (NullPointerException npe) { in reflection()
438 assertEquals("null receiver", npe.getMessage()); in reflection()
/art/test/020-string/src/
DMain.java137 } catch (NullPointerException npe) { in copyTest()
/art/test/107-int-math2/src/
DMain.java137 } catch (NullPointerException npe) { in catchBlock()
146 } catch (NullPointerException npe) { in catchBlockNoThrow()
741 } catch (NullPointerException npe) { in throwAndCatch()

12