Home
last modified time | relevance | path

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

12345

/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/064-field-access/src/
DMain.java237 private static void check(boolean b) { in check() method in SubClass
244 check(otherProtectedClassPublicBooleanInstanceField == true); in doDirectTests()
245 check(otherProtectedClassPublicByteInstanceField == 2); in doDirectTests()
246 check(otherProtectedClassPublicCharInstanceField == 3); in doDirectTests()
247 check(otherProtectedClassPublicShortInstanceField == 4); in doDirectTests()
248 check(otherProtectedClassPublicIntInstanceField == 5); in doDirectTests()
249 check(otherProtectedClassPublicLongInstanceField == 6); in doDirectTests()
250 check(otherProtectedClassPublicFloatInstanceField == 7.0f); in doDirectTests()
251 check(otherProtectedClassPublicDoubleInstanceField == 8.0); in doDirectTests()
252 check(otherProtectedClassPublicObjectInstanceField == "9"); in doDirectTests()
[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/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(Object actual, Object expected, String msg) { in check() method in Main
60 check(unsafe.arrayBaseOffset(boolean[].class), vmArrayBaseOffset(boolean[].class), in testArrayBaseOffset()
62 check(unsafe.arrayBaseOffset(byte[].class), vmArrayBaseOffset(byte[].class), in testArrayBaseOffset()
64 check(unsafe.arrayBaseOffset(char[].class), vmArrayBaseOffset(char[].class), in testArrayBaseOffset()
66 check(unsafe.arrayBaseOffset(double[].class), vmArrayBaseOffset(double[].class), in testArrayBaseOffset()
68 check(unsafe.arrayBaseOffset(float[].class), vmArrayBaseOffset(float[].class), in testArrayBaseOffset()
70 check(unsafe.arrayBaseOffset(int[].class), vmArrayBaseOffset(int[].class), in testArrayBaseOffset()
72 check(unsafe.arrayBaseOffset(long[].class), vmArrayBaseOffset(long[].class), in testArrayBaseOffset()
[all …]
/art/compiler/optimizing/
Dprepare_for_register_allocation.cc35 void PrepareForRegisterAllocation::VisitNullCheck(HNullCheck* check) { in VisitNullCheck() argument
36 check->ReplaceWith(check->InputAt(0)); in VisitNullCheck()
39 void PrepareForRegisterAllocation::VisitDivZeroCheck(HDivZeroCheck* check) { in VisitDivZeroCheck() argument
40 check->ReplaceWith(check->InputAt(0)); in VisitDivZeroCheck()
51 void PrepareForRegisterAllocation::VisitBoundsCheck(HBoundsCheck* check) { in VisitBoundsCheck() argument
52 check->ReplaceWith(check->InputAt(0)); in VisitBoundsCheck()
53 if (check->IsStringCharAt()) { in VisitBoundsCheck()
62 check); in VisitBoundsCheck()
63 check->InsertRawEnvironment(environment); in VisitBoundsCheck()
85 void PrepareForRegisterAllocation::VisitClinitCheck(HClinitCheck* check) { in VisitClinitCheck() argument
[all …]
Dprepare_for_register_allocation.h39 void VisitNullCheck(HNullCheck* check) OVERRIDE;
40 void VisitDivZeroCheck(HDivZeroCheck* check) OVERRIDE;
41 void VisitBoundsCheck(HBoundsCheck* check) OVERRIDE;
44 void VisitClinitCheck(HClinitCheck* check) OVERRIDE;
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()
Dgraph_checker.h56 void VisitBoundsCheck(HBoundsCheck* check) OVERRIDE;
57 void VisitCheckCast(HCheckCast* check) OVERRIDE;
62 void VisitInstanceOf(HInstanceOf* 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/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/compiler/utils/
Dintrusive_forward_list_test.cc325 std::forward_list<int> check({ 3, 1, 7, 4, 5, 4, 8, 7, 2 }); in TEST() local
326 ASSERT_LISTS_EQUAL(check, ifl1); in TEST()
355 check.assign({ 8, 7, 2, 3, 4, 5, 4 }); in TEST()
356 ASSERT_LISTS_EQUAL(check, ifl1); in TEST()
357 check.assign({ 1, 7 }); in TEST()
358 ASSERT_LISTS_EQUAL(check, ifl2); in TEST()
370 check.assign({8}); in TEST()
371 ASSERT_LISTS_EQUAL(check, ifl1); in TEST()
377 ASSERT_LISTS_EQUAL(check, ifl1); in TEST()
383 ASSERT_LISTS_EQUAL(check, ifl1); in TEST()
[all …]
/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/596-monitor-inflation/
Dexpected.txt4 Finished first check
5 Finished second check
/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/003-omnibus-opcodes/
Dexpected.txt2 InstField check...
5 StaticField check...
43 Array check...
/art/test/004-SignalTest/
Dsignaltest.cc113 struct sigaction check; in Java_Main_initSignalTest() local
114 sigaction(SIGSEGV, nullptr, &check); in Java_Main_initSignalTest()
115 if (memcmp(&action, &check, sizeof(action)) != 0) { in Java_Main_initSignalTest()
/art/tools/checker/
DREADME11 passes. Each group of check lines therefore must start with a 'CHECK-START'
16 Matching of check lines is carried out in the order of appearance in the
17 source file. There are three types of check lines:
20 lines must therefore match the check lines in the same order.
32 matched the previous check. Cannot be used after any but the
56 The engine will attempt to match the check lines against the output of the
71 A group of check lines can be made architecture-specific by inserting '-<arch>'
/art/test/703-floating-point-div/
Dinfo.txt1 Simple tests to check floating point division.
/art/test/582-checker-bce-length/
Dinfo.txt1 Regression test on deopt bounds check elimination.
/art/test/449-checker-bce/
Dinfo.txt1 Checker test for testing array bounds check elimination.
/art/test/620-checker-bce-intrinsics/
Dinfo.txt1 Test on bounds check elimination in loops using intrinsics.
/art/test/804-class-extends-itself/
Dinfo.txt1 Exercise class linker check for classes extending themselves (b/28685551).

12345