Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 137) sorted by relevance

123456

/art/test/044-proxy/src/
DReturnsAndArgPassing.java22 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 …]
/art/test/530-instanceof-checkcast/src/
DMain.java42 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/
DMain.java245 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/
DMain.java49 check(npe, thisLine += 4); in methodTwo()
57 check(npe, thisLine += 8); in methodTwo()
65 check(npe, thisLine += 8); in methodTwo()
72 check(npe, thisLine += 7); in methodTwo()
79 check(npe, thisLine += 7); in methodTwo()
86 check(npe, thisLine += 7); in methodTwo()
93 check(npe, thisLine += 7); in methodTwo()
100 check(npe, thisLine += 7); in methodTwo()
107 check(npe, thisLine += 7); in methodTwo()
114 check(npe, thisLine += 7); in methodTwo()
[all …]
/art/test/004-UnsafeTest/src/
DMain.java21 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/
Dprepare_for_register_allocation.cc52 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 …]
Dx86_memory_gen.cc34 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()
Dprepare_for_register_allocation.h48 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/
DMain.java317 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/136-daemon-jni-shutdown/
Dexpected.txt2 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/022-interface/src/
DMain.java40 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/
DMain.java63 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/476-checker-ctor-fence-redun-elim/src/
DMain.java77 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/
Dsignaltest.cc126 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/692-vdex-inmem-loader/src/
DMain.java24 private static void check(boolean expected, boolean actual, String message) { in check() method in Main
53 check(expectedClassesVerified, areClassesVerified(loader), "areClassesVerified"); in test()
54 check(expectedHasVdexFile, hasVdexFile(loader), "areClassesVerified"); in test()
55 check(expectedBackedByOat, isBackedByOatFile(loader), "isBackedByOatFile"); in test()
56 check(expectedBackedByOat, areClassesPreverified(loader), "areClassesPreverified"); in test()
/art/test/1954-pop-frame-jit/
Dcheck20 ./default-check "$@" || \
21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1955-pop-frame-jit-called/
Dcheck20 ./default-check "$@" || \
21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1956-pop-frame-jit-calling/
Dcheck20 ./default-check "$@" || \
21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1953-pop-frame/
Dcheck20 ./default-check "$@" || \
21 (patch -p0 expected.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
/art/test/121-modifiers/src2/
DMain.java70 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
/art/test/693-vdex-inmem-loader-evict/src/
DMain.java50 check(0, getCurrentCacheSize(), "There should be no vdex files in the beginning"); in main()
54 check(true, hasVdexFile(loader), "Loading dex file should have produced a vdex"); in main()
55 check(Math.min(i + 1, maxCacheSize), getCurrentCacheSize(), in main()
64 check(true, hasVdexFile(loader), "Loading dex file should have produced a vdex"); in main()
65 check(maxCacheSize, getCurrentCacheSize(), "Unexpected number of cache entries"); in main()
79 private static <T> void check(T expected, T actual, String message) { in check() method in Main
/art/test/596-monitor-inflation/
Dexpected.txt4 Finished first check
5 Finished second check
/art/test/093-serialization/src/
DMain.java75 sub.check(); in checkStream()
76 inner.check(); in checkStream()
86 public void check() { in check() method in Main.Inner
126 public void check() { in check() method in Sub
/art/test/111-unresolvable-exception/src/
DMain.java20 check(false); in main()
26 private static void check(boolean b) { in check() method in Main
/art/test/1946-list-descriptors/src-art/art/
DTest1946.java52 private static void check(boolean b, String msg) { in check() method in Test1946
60 check(full.length == sub.length, "not equal length"); in checkEq()
62 check(Arrays.asList(full).containsAll(Arrays.asList(sub)), msg); in checkEq()
67 check(Arrays.asList(full).containsAll(Arrays.asList(sub)), msg); in checkSubset()

123456