Searched defs:check (Results 1 - 23 of 23) sorted by relevance

/art/test/111-unresolvable-exception/src/
H A DMain.java20 check(false);
26 private static void check(boolean b) { method in class:Main
/art/test/022-interface/classes/
H A DMain.class ... static void main (java.lang.String[]) static void check (boolean) static void objectOverrideTests () static java.lang.String ...
/art/test/072-precise-gc/src/
H A DMain.java29 check(wrefs);
65 static void check(WeakReference[] wrefs) { method in class:Main
/art/test/004-UnsafeTest/src/
H A DMain.java21 private static void check(int actual, int expected, String msg) { method in class:Main
28 private static void check(long actual, long expected, String msg) { method in class:Main
35 private static void check(Object actual, Object expected, String msg) { method in class:Main
52 check(unsafe.arrayBaseOffset(boolean[].class), vmArrayBaseOffset(boolean[].class),
54 check(unsafe.arrayBaseOffset(byte[].class), vmArrayBaseOffset(byte[].class),
56 check(unsafe.arrayBaseOffset(char[].class), vmArrayBaseOffset(char[].class),
58 check(unsafe.arrayBaseOffset(double[].class), vmArrayBaseOffset(double[].class),
60 check(unsafe.arrayBaseOffset(float[].class), vmArrayBaseOffset(float[].class),
62 check(unsafe.arrayBaseOffset(int[].class), vmArrayBaseOffset(int[].class),
64 check(unsaf
[all...]
/art/test/121-modifiers/classes/
H A DMain.class ... String[]) throws java.lang.Exception private static void check (java.lang.String) throws java.lang. ...
/art/test/121-modifiers/src/
H A DMain.java17 // These classes are to check the additional flags for inner classes.
78 check("Inf");
79 check("NonInf");
80 check("A");
81 check("A$B");
84 private static void check(String className) throws Exception { method in class:Main
118 // Interface field, just check generically.
/art/test/022-interface/src/
H A DMain.java40 static void check(boolean z) { method in class:Main
91 check(o.equals(null));
92 check(o.hashCode() == 0xC001D00D);
93 check(o.toString().equals("Mallet's Mallet"));
94 check(subObjectOverrideTests(new SubInterfaceImpl()) != null);
/art/test/093-serialization/src/
H A DMain.java75 sub.check();
76 inner.check();
86 public void check() { method in class:Main.Inner
126 public void check() { method in class:Sub
/art/test/530-instanceof-checkcast/src/
H A DMain.java34 // We also check for a method with try/catch because the compiler then makes a slow
42 check(true, exactCheck instanceof ExactCheck);
43 check(false, regularObject instanceof ExactCheck);
45 check(true, abstractCheckImpl instanceof AbstractCheck);
46 check(false, regularObject instanceof AbstractCheck);
48 check(true, interfaceCheckImpl instanceof InterfaceCheck);
49 check(false, regularObject instanceof InterfaceCheck);
51 check(true, normalCheck instanceof NormalCheck);
52 check(true, exactCheck instanceof NormalCheck);
53 check(fals
121 public static void check(boolean expected, boolean actual) { method in class:Main
[all...]
/art/compiler/optimizing/
H A Dprepare_for_register_allocation.cc33 void PrepareForRegisterAllocation::VisitNullCheck(HNullCheck* check) { argument
34 check->ReplaceWith(check->InputAt(0));
37 void PrepareForRegisterAllocation::VisitDivZeroCheck(HDivZeroCheck* check) { argument
38 check->ReplaceWith(check->InputAt(0));
41 void PrepareForRegisterAllocation::VisitBoundsCheck(HBoundsCheck* check) { argument
42 check->ReplaceWith(check->InputAt(0));
54 // If so, this ArraySet no longer needs a type check
63 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dgraph_checker.cc249 void GraphChecker::VisitBoundsCheck(HBoundsCheck* check) { argument
253 check->DebugName(),
254 check->GetId()));
258 VisitInstruction(check);
496 AddError(StringPrintf("Static invoke %s:%d marked as having an explicit clinit check "
502 AddError(StringPrintf("Static invoke %s:%d marked as having an explicit clinit check "
503 "has a last instruction (%s:%d) which is neither a clinit check "
533 void GraphChecker::VisitCheckCast(HCheckCast* check) { argument
534 VisitInstruction(check);
535 HInstruction* input = check
[all...]
H A Dbounds_check_elimination.cc299 * comparisons related to array bounds, array bounds check, add/sub on top
855 // Existing range isn't strong enough to eliminate the bounds check.
857 // bounds check.
884 // Remember the first bounds check against each array_length. That bounds check
1218 // Another bounds check in same or dominated block?
1234 // the other bounds check if it is in same block or both blocks dominate the exit.
1271 // bounds check twice if it occurred multiple times in the use list.
1282 * check on the given array range is always satisfied with the computed index range. The output
1318 * When the compiler fails to remove a bounds check staticall
1437 CanHandleNullCheck(HLoopInformation* loop, HInstruction* check, bool needs_taken_test) argument
1464 CanHandleInfiniteLoop( HLoopInformation* loop, HBoundsCheck* check, HInstruction* index, bool needs_infinite_test) argument
[all...]
H A Dcode_generator_mips64.cc217 // (Might be the load class or an initialization check).
320 // If not null, the block to branch to after the suspend check.
323 // If `successor_` is null, the label to branch to after the suspend check.
1634 // TODO: avoid this check if we know obj is not null.
1642 void LocationsBuilderMIPS64::VisitClinitCheck(HClinitCheck* check) { argument
1644 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummary::kCallOnSlowPath);
1646 if (check->HasUses()) {
1651 void InstructionCodeGeneratorMIPS64::VisitClinitCheck(HClinitCheck* check) { argument
1654 check->GetLoadClass(),
1655 check,
[all...]
H A Dcode_generator_arm64.cc323 // (Might be the load class or an initialization check).
422 // If not null, the block to branch to after the suspend check.
425 // If `successor_` is null, the label to branch to after the suspend check.
1654 // Note that a potential implicit null check is handled in this
2067 // Note that a potential implicit null check is handled in the
2345 void LocationsBuilderARM64::VisitClinitCheck(HClinitCheck* check) { argument
2347 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummary::kCallOnSlowPath);
2349 if (check->HasUses()) {
2354 void InstructionCodeGeneratorARM64::VisitClinitCheck(HClinitCheck* check) { argument
2357 check
[all...]
H A Dcode_generator_mips.cc262 // (Might be the load class or an initialization check).
368 // If not null, the block to branch to after the suspend check.
371 // If `successor_` is null, the label to branch to after the suspend check.
2011 // TODO: avoid this check if we know obj is not null.
2019 void LocationsBuilderMIPS::VisitClinitCheck(HClinitCheck* check) { argument
2021 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummary::kCallOnSlowPath);
2023 if (check->HasUses()) {
2028 void InstructionCodeGeneratorMIPS::VisitClinitCheck(HClinitCheck* check) { argument
2031 check->GetLoadClass(),
2032 check,
[all...]
H A Dcode_generator_arm.cc145 // If not null, the block to branch to after the suspend check.
148 // If `successor_` is null, the label to branch to after the suspend check.
237 // (Might be the load class or an initialization check).
4047 // Note that a potential implicit null check is handled in this
4369 // Note that a potential implicit null check is handled in this
4812 // The back edge will generate the suspend check.
4816 // The goto will generate the suspend check.
5136 void LocationsBuilderARM::VisitClinitCheck(HClinitCheck* check) { argument
5138 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummary::kCallOnSlowPath);
5140 if (check
5145 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dcode_generator_x86.cc282 // (Might be the load class or an initialization check).
4324 // For register locations, check if the register was saved. If so, get it from the stack.
4618 // Note that a potential implicit null check is handled in this
5117 // Note that a potential implicit null check is handled in this
5530 // BCE will remove the bounds check if we are guarenteed to pass.
5537 // generate a bounds check if it is a valid range.
5576 // The back edge will generate the suspend check.
5580 // The goto will generate the suspend check.
5938 void LocationsBuilderX86::VisitClinitCheck(HClinitCheck* check) { argument
5940 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummar
5947 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dcode_generator_x86_64.cc270 // (Might be the load class or an initialization check).
4145 // Note that a potential implicit null check is handled in this
4617 // Note that a potential implicit null check is handled in this
5005 // BCE will remove the bounds check if we are guarenteed to pass.
5012 // generate a bounds check if it is a valid range.
5071 // The back edge will generate the suspend check.
5075 // The goto will generate the suspend check.
5380 void LocationsBuilderX86_64::VisitClinitCheck(HClinitCheck* check) { argument
5382 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummary::kCallOnSlowPath);
5384 if (check
5389 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dnodes.h674 void SetSuspendCheck(HSuspendCheck* check) { suspend_check_ = check; } argument
866 // Back edges generate a suspend check.
1094 // Note that we cannot do the check `info->Contains(loop_information_)->GetHeader()`
1825 // simplifies the null check elimination.
3116 // Instruction to check if two inputs are equal to each other.
3512 // Instruction to check how two inputs compare to each other.
3831 // initialization (clinit) check of its declaring class.
3834 kExplicit, // Static call having explicit clinit check as last input.
3835 kImplicit, // Static call implicitly requiring a clinit check
[all...]
/art/test/044-proxy/src/
H A DReturnsAndArgPassing.java22 static void check(boolean x) { method in class:ReturnsAndArgPassing
57 check(proxy instanceof Proxy);
58 check(method.getDeclaringClass() == MyInterface.class);
63 check(args == null);
66 check(args == null);
78 check(args.length == 6);
86 check(name.endsWith("Bar"));
103 check(fooInvocations == 0);
105 check(fooInvocations == 1);
107 check(barInvocation
[all...]
/art/test/122-npe/src/
H A DMain.java49 check(npe, thisLine += 4);
57 check(npe, thisLine += 8);
65 check(npe, thisLine += 8);
72 check(npe, thisLine += 7);
79 check(npe, thisLine += 7);
86 check(npe, thisLine += 7);
93 check(npe, thisLine += 7);
100 check(npe, thisLine += 7);
107 check(npe, thisLine += 7);
114 check(np
552 static void check(NullPointerException npe, int firstLine) { method in class:Main
[all...]
/art/test/439-npe/src/
H A DMain.java108 check(npe, thisLine += 2, methodLine, "$opt$setObjectField");
114 check(npe, thisLine += 6, methodLine += 4, "$opt$setIntField");
120 check(npe, thisLine += 6, methodLine += 4, "$opt$setFloatField");
126 check(npe, thisLine += 6, methodLine += 4, "$opt$setLongField");
132 check(npe, thisLine += 6, methodLine += 4, "$opt$setDoubleField");
138 check(npe, thisLine += 6, methodLine += 4, "$opt$setByteField");
144 check(npe, thisLine += 6, methodLine += 4, "$opt$setBooleanField");
150 check(npe, thisLine += 6, methodLine += 4, "$opt$setCharField");
156 check(npe, thisLine += 6, methodLine += 4, "$opt$setShortField");
162 check(np
214 static void check(NullPointerException npe, int mainLine, int medthodLine, String methodName) { method in class:Main
[all...]
/art/test/064-field-access/src/
H A DMain.java237 private static void check(boolean b) { method in class:SubClass
244 check(otherProtectedClassPublicBooleanInstanceField == true);
245 check(otherProtectedClassPublicByteInstanceField == 2);
246 check(otherProtectedClassPublicCharInstanceField == 3);
247 check(otherProtectedClassPublicShortInstanceField == 4);
248 check(otherProtectedClassPublicIntInstanceField == 5);
249 check(otherProtectedClassPublicLongInstanceField == 6);
250 check(otherProtectedClassPublicFloatInstanceField == 7.0f);
251 check(otherProtectedClassPublicDoubleInstanceField == 8.0);
252 check(otherProtectedClassPublicObjectInstanceFiel
[all...]

Completed in 603 milliseconds