/art/test/044-proxy/src/ |
D | ReturnsAndArgPassing.java | 22 static void check(boolean x) { in check() method in ReturnsAndArgPassing 57 check(proxy instanceof Proxy); in invoke() 58 check(method.getDeclaringClass() == MyInterface.class); in invoke() 63 check(args == null); in invoke() 66 check(args == null); in invoke() 78 check(args.length == 6); in invoke() 86 check(name.endsWith("Bar")); in invoke() 103 check(fooInvocations == 0); in testProxyReturns() 105 check(fooInvocations == 1); in testProxyReturns() 107 check(barInvocations == 0); in testProxyReturns() [all …]
|
D | HotProxy.java | 26 static void check(boolean x) { in check() method in HotProxy 34 check(proxy instanceof Proxy); in invoke() 35 check(method.getDeclaringClass() == MyInterface.class); in invoke()
|
/art/test/530-instanceof-checkcast/src/ |
D | Main.java | 42 check(true, exactCheck instanceof ExactCheck); in checkInstanceOfNonTryCatch() 43 check(false, regularObject instanceof ExactCheck); in checkInstanceOfNonTryCatch() 45 check(true, abstractCheckImpl instanceof AbstractCheck); in checkInstanceOfNonTryCatch() 46 check(false, regularObject instanceof AbstractCheck); in checkInstanceOfNonTryCatch() 48 check(true, interfaceCheckImpl instanceof InterfaceCheck); in checkInstanceOfNonTryCatch() 49 check(false, regularObject instanceof InterfaceCheck); in checkInstanceOfNonTryCatch() 51 check(true, normalCheck instanceof NormalCheck); in checkInstanceOfNonTryCatch() 52 check(true, exactCheck instanceof NormalCheck); in checkInstanceOfNonTryCatch() 53 check(false, regularObject instanceof NormalCheck); in checkInstanceOfNonTryCatch() 55 check(false, regularObject instanceof int[]); in checkInstanceOfNonTryCatch() [all …]
|
/art/test/064-field-access/src/ |
D | Main.java | 245 private static void check(boolean b) { in check() method in SubClass 252 check(otherProtectedClassPublicBooleanInstanceField == true); in doDirectTests() 253 check(otherProtectedClassPublicByteInstanceField == 2); in doDirectTests() 254 check(otherProtectedClassPublicCharInstanceField == 3); in doDirectTests() 255 check(otherProtectedClassPublicShortInstanceField == 4); in doDirectTests() 256 check(otherProtectedClassPublicIntInstanceField == 5); in doDirectTests() 257 check(otherProtectedClassPublicLongInstanceField == 6); in doDirectTests() 258 check(otherProtectedClassPublicFloatInstanceField == 7.0f); in doDirectTests() 259 check(otherProtectedClassPublicDoubleInstanceField == 8.0); in doDirectTests() 260 check(otherProtectedClassPublicObjectInstanceField == "9"); in doDirectTests() [all …]
|
/art/test/122-npe/src/ |
D | Main.java | 51 check(npe, thisLine += 4); in methodTwo() 59 check(npe, thisLine += 8); in methodTwo() 67 check(npe, thisLine += 8); in methodTwo() 74 check(npe, thisLine += 7); in methodTwo() 81 check(npe, thisLine += 7); in methodTwo() 88 check(npe, thisLine += 7); in methodTwo() 95 check(npe, thisLine += 7); in methodTwo() 102 check(npe, thisLine += 7); in methodTwo() 109 check(npe, thisLine += 7); in methodTwo() 116 check(npe, thisLine += 7); in methodTwo() [all …]
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 21 private static void check(int actual, int expected, String msg) { in check() method in Main 28 private static void check(long actual, long expected, String msg) { in check() method in Main 35 private static void check(float actual, float expected, String msg) { in check() method in Main 42 private static void check(double actual, double expected, String msg) { in check() method in Main 49 private static void check(Object actual, Object expected, String msg) { in check() method in Main 75 check(unsafe.arrayBaseOffset(boolean[].class), vmArrayBaseOffset(boolean[].class), in testArrayBaseOffset() 77 check(unsafe.arrayBaseOffset(byte[].class), vmArrayBaseOffset(byte[].class), in testArrayBaseOffset() 79 check(unsafe.arrayBaseOffset(char[].class), vmArrayBaseOffset(char[].class), in testArrayBaseOffset() 81 check(unsafe.arrayBaseOffset(double[].class), vmArrayBaseOffset(double[].class), in testArrayBaseOffset() 83 check(unsafe.arrayBaseOffset(float[].class), vmArrayBaseOffset(float[].class), in testArrayBaseOffset() [all …]
|
/art/compiler/optimizing/ |
D | prepare_for_register_allocation.cc | 52 void PrepareForRegisterAllocation::VisitNullCheck(HNullCheck* check) { in VisitNullCheck() argument 53 check->ReplaceWith(check->InputAt(0)); in VisitNullCheck() 55 HInstruction* next = check->GetNext(); in VisitNullCheck() 63 if (next->CanDoImplicitNullCheckOn(check->InputAt(0))) { in VisitNullCheck() 64 check->MarkEmittedAtUseSite(); in VisitNullCheck() 69 void PrepareForRegisterAllocation::VisitDivZeroCheck(HDivZeroCheck* check) { in VisitDivZeroCheck() argument 70 check->ReplaceWith(check->InputAt(0)); in VisitDivZeroCheck() 81 void PrepareForRegisterAllocation::VisitBoundsCheck(HBoundsCheck* check) { in VisitBoundsCheck() argument 82 check->ReplaceWith(check->InputAt(0)); in VisitBoundsCheck() 83 if (check->IsStringCharAt()) { in VisitBoundsCheck() [all …]
|
D | x86_memory_gen.cc | 34 void VisitBoundsCheck(HBoundsCheck* check) override { in VisitBoundsCheck() argument 36 HArrayLength* array_len = check->InputAt(1)->AsArrayLength(); in VisitBoundsCheck() 55 if (array_len->GetNextDisregardingMoves() != check) { in VisitBoundsCheck() 65 array_len->MoveBefore(check); in VisitBoundsCheck()
|
D | prepare_for_register_allocation.h | 48 void VisitNullCheck(HNullCheck* check) override; 49 void VisitDivZeroCheck(HDivZeroCheck* check) override; 50 void VisitBoundsCheck(HBoundsCheck* check) override; 53 void VisitClinitCheck(HClinitCheck* check) override;
|
/art/test/439-npe/src/ |
D | Main.java | 317 check(npe, thisLine += 2, methodLine, "$opt$noinline$setObjectField"); in main() 323 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setIntField"); in main() 329 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setFloatField"); in main() 335 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setLongField"); in main() 341 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setDoubleField"); in main() 347 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setByteField"); in main() 353 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setBooleanField"); in main() 359 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setCharField"); in main() 365 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setShortField"); in main() 371 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$getObjectField"); in main() [all …]
|
/art/test/108-check-cast/ |
D | Android.bp | 3 // Build rules for ART run-test `108-check-cast`. 16 name: "art-run-test-108-check-cast", 21 ":art-run-test-108-check-cast-expected-stdout", 22 ":art-run-test-108-check-cast-expected-stderr", 28 name: "art-run-test-108-check-cast-expected-stdout", 29 out: ["art-run-test-108-check-cast-expected-stdout.txt"], 36 name: "art-run-test-108-check-cast-expected-stderr", 37 out: ["art-run-test-108-check-cast-expected-stderr.txt"],
|
/art/test/109-suspend-check/ |
D | Android.bp | 3 // Build rules for ART run-test `109-suspend-check`. 16 name: "art-run-test-109-suspend-check", 21 ":art-run-test-109-suspend-check-expected-stdout", 22 ":art-run-test-109-suspend-check-expected-stderr", 28 name: "art-run-test-109-suspend-check-expected-stdout", 29 out: ["art-run-test-109-suspend-check-expected-stdout.txt"], 36 name: "art-run-test-109-suspend-check-expected-stderr", 37 out: ["art-run-test-109-suspend-check-expected-stderr.txt"],
|
/art/test/121-simple-suspend-check/ |
D | Android.bp | 3 // Build rules for ART run-test `121-simple-suspend-check`. 16 name: "art-run-test-121-simple-suspend-check", 21 ":art-run-test-121-simple-suspend-check-expected-stdout", 22 ":art-run-test-121-simple-suspend-check-expected-stderr", 28 name: "art-run-test-121-simple-suspend-check-expected-stdout", 29 out: ["art-run-test-121-simple-suspend-check-expected-stdout.txt"], 36 name: "art-run-test-121-simple-suspend-check-expected-stderr", 37 out: ["art-run-test-121-simple-suspend-check-expected-stderr.txt"],
|
/art/test/542-unresolved-access-check/ |
D | Android.bp | 3 // Build rules for ART run-test `542-unresolved-access-check`. 16 name: "art-run-test-542-unresolved-access-check", 21 ":art-run-test-542-unresolved-access-check-expected-stdout", 22 ":art-run-test-542-unresolved-access-check-expected-stderr", 28 name: "art-run-test-542-unresolved-access-check-expected-stdout", 29 out: ["art-run-test-542-unresolved-access-check-expected-stdout.txt"], 36 name: "art-run-test-542-unresolved-access-check-expected-stderr", 37 out: ["art-run-test-542-unresolved-access-check-expected-stderr.txt"],
|
/art/test/136-daemon-jni-shutdown/ |
D | expected-stdout.txt | 2 About to call exception check 3 About to call exception check 4 About to call exception check 5 About to call exception check
|
/art/test/479-regression-implicit-null-check/ |
D | Android.bp | 3 // Build rules for ART run-test `479-regression-implicit-null-check`. 16 name: "art-run-test-479-regression-implicit-null-check", 21 ":art-run-test-479-regression-implicit-null-check-expected-stdout", 22 ":art-run-test-479-regression-implicit-null-check-expected-stderr", 28 name: "art-run-test-479-regression-implicit-null-check-expected-stdout", 29 out: ["art-run-test-479-regression-implicit-null-check-expected-stdout.txt"], 36 name: "art-run-test-479-regression-implicit-null-check-expected-stderr", 37 out: ["art-run-test-479-regression-implicit-null-check-expected-stderr.txt"],
|
/art/test/478-checker-clinit-check-pruning/ |
D | Android.bp | 3 // Build rules for ART run-test `478-checker-clinit-check-pruning`. 16 name: "art-run-test-478-checker-clinit-check-pruning", 21 ":art-run-test-478-checker-clinit-check-pruning-expected-stdout", 22 ":art-run-test-478-checker-clinit-check-pruning-expected-stderr", 31 name: "art-run-test-478-checker-clinit-check-pruning-expected-stdout", 32 out: ["art-run-test-478-checker-clinit-check-pruning-expected-stdout.txt"], 39 name: "art-run-test-478-checker-clinit-check-pruning-expected-stderr", 40 out: ["art-run-test-478-checker-clinit-check-pruning-expected-stderr.txt"],
|
/art/test/609-checker-x86-bounds-check/ |
D | Android.bp | 3 // Build rules for ART run-test `609-checker-x86-bounds-check`. 16 name: "art-run-test-609-checker-x86-bounds-check", 21 ":art-run-test-609-checker-x86-bounds-check-expected-stdout", 22 ":art-run-test-609-checker-x86-bounds-check-expected-stderr", 31 name: "art-run-test-609-checker-x86-bounds-check-expected-stdout", 32 out: ["art-run-test-609-checker-x86-bounds-check-expected-stdout.txt"], 39 name: "art-run-test-609-checker-x86-bounds-check-expected-stderr", 40 out: ["art-run-test-609-checker-x86-bounds-check-expected-stderr.txt"],
|
/art/test/486-checker-must-do-null-check/ |
D | Android.bp | 3 // Build rules for ART run-test `486-checker-must-do-null-check`. 16 name: "art-run-test-486-checker-must-do-null-check", 21 ":art-run-test-486-checker-must-do-null-check-expected-stdout", 22 ":art-run-test-486-checker-must-do-null-check-expected-stderr", 31 name: "art-run-test-486-checker-must-do-null-check-expected-stdout", 32 out: ["art-run-test-486-checker-must-do-null-check-expected-stdout.txt"], 39 name: "art-run-test-486-checker-must-do-null-check-expected-stderr", 40 out: ["art-run-test-486-checker-must-do-null-check-expected-stderr.txt"],
|
/art/test/022-interface/src/ |
D | Main.java | 40 static void check(boolean z) { in check() method in Main 91 check(o.equals(null)); in doObjectOverrideTests() 92 check(o.hashCode() == 0xC001D00D); in doObjectOverrideTests() 93 check(o.toString().equals("Mallet's Mallet")); in doObjectOverrideTests() 94 check(subObjectOverrideTests(new SubInterfaceImpl()) != null); in doObjectOverrideTests()
|
/art/test/1947-breakpoint-redefine-deopt/src/ |
D | Main.java | 63 public static void check(boolean b, String msg) { in check() method in Main 80 check(isInterpretOnly() || !isMethodDeoptimized(targetMethod), in main() 86 check(isInterpretOnly() || isMethodDeoptimized(targetMethod), in main() 92 check(isInterpretOnly() || !isMethodDeoptimized(targetMethod), in main() 97 check(isInterpretOnly() || isMethodDeoptimized(targetMethod), in main()
|
/art/test/692-vdex-secondary-loader/src/ |
D | Main.java | 24 private static void check(boolean expected, boolean actual, String message) { in check() method in Main 46 check(expectedClassesVerified, areClassesVerified(loader), "areClassesVerified"); in test() 47 check(expectedHasVdexFile, hasVdexFile(loader), "hasVdexFile"); in test() 48 check(expectedBackedByOat, isBackedByOatFile(loader), "isBackedByOatFile"); in test() 49 check(expectedBackedByOat, areClassesPreverified(loader), "areClassesPreverified"); in test()
|
/art/test/476-checker-ctor-fence-redun-elim/src/ |
D | Main.java | 77 public void check(); in check() method 111 public void check() { in check() method in TestOneFinal 183 public void check() { in check() method in TestThreeFinal 222 public void check() { in check() method in TestMultiAlloc 277 public void check() { in check() method in TestThreeFinalTwice 324 public void check() { in check() method in TestNonEscaping.Invoke 367 public void check() { in check() method in TestNonEscaping.Store 419 public void check() { in check() method in TestDontOptimizeAcrossBlocks 470 public void check() { in check() method in TestDontOptimizeAcrossEscape.Invoke 525 public void check() { in check() method in TestDontOptimizeAcrossEscape.StoreIput [all …]
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 126 struct sigaction check; in Java_Main_initSignalTest() local 127 sigaction(SIGSEGV, nullptr, &check); in Java_Main_initSignalTest() 128 if (!compare_sigaction(&check, &action)) { in Java_Main_initSignalTest() 132 *reinterpret_cast<void**>(&check.sa_mask)); in Java_Main_initSignalTest() 134 action.sa_sigaction, check.sa_sigaction); in Java_Main_initSignalTest() 136 action.sa_flags, check.sa_flags); in Java_Main_initSignalTest()
|
/art/test/121-modifiers/src2/ |
D | Main.java | 70 check("Inf"); in main() 71 check("NonInf"); in main() 72 check("A"); in main() 73 check("A$B"); in main() 76 private static void check(String className) throws Exception { in check() method in Main
|