Searched defs:check (Results 1 - 25 of 25) 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/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/src2/
H A DMain.java70 check("Inf");
71 check("NonInf");
72 check("A");
73 check("A$B");
76 private static void check(String className) throws Exception { method in class:Main
110 // 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/004-SignalTest/
H A Dsignaltest.cc113 struct sigaction check; local
114 sigaction(SIGSEGV, nullptr, &check);
115 if (memcmp(&action, &check, sizeof(action)) != 0) {
/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
60 check(unsafe.arrayBaseOffset(boolean[].class), vmArrayBaseOffset(boolean[].class),
62 check(unsafe.arrayBaseOffset(byte[].class), vmArrayBaseOffset(byte[].class),
64 check(unsafe.arrayBaseOffset(char[].class), vmArrayBaseOffset(char[].class),
66 check(unsafe.arrayBaseOffset(double[].class), vmArrayBaseOffset(double[].class),
68 check(unsafe.arrayBaseOffset(float[].class), vmArrayBaseOffset(float[].class),
70 check(unsafe.arrayBaseOffset(int[].class), vmArrayBaseOffset(int[].class),
72 check(unsaf
[all...]
/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.cc35 void PrepareForRegisterAllocation::VisitNullCheck(HNullCheck* check) { argument
36 check->ReplaceWith(check->InputAt(0));
39 void PrepareForRegisterAllocation::VisitDivZeroCheck(HDivZeroCheck* check) { argument
40 check->ReplaceWith(check->InputAt(0));
51 void PrepareForRegisterAllocation::VisitBoundsCheck(HBoundsCheck* check) { argument
52 check->ReplaceWith(check->InputAt(0));
53 if (check
85 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dscheduler.cc333 SchedulingNode* check = (*nodes)[i]; local
335 select_node = GetHigherPrioritySchedulingNode(candidate, check);
336 if (select_node == check) {
348 SchedulingNode* candidate, SchedulingNode* check) const {
350 uint32_t check_path = check->GetCriticalPath();
353 return check_path < candidate_path ? check : candidate;
357 return check->GetLatency() < candidate->GetLatency() ? check : candidate;
461 // We want to avoid exhaustively listing all instructions, so we first check
470 // HUnaryOperation (or HBinaryOperation), check i
[all...]
H A Dgraph_checker.cc251 void GraphChecker::VisitBoundsCheck(HBoundsCheck* check) { argument
255 check->DebugName(),
256 check->GetId()));
260 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 Dreference_type_propagation.cc252 // If the receiver is a null check, also bound the type of the actual
262 static void BoundTypeForClassCheck(HInstruction* check) { argument
263 if (!check->IsIf() && !check->IsDeoptimize()) {
266 HInstruction* compare = check->InputAt(0);
308 if (check->IsIf()) {
310 ? check->AsIf()->IfTrueSuccessor()
311 : check->AsIf()->IfFalseSuccessor();
314 DCHECK(check->IsDeoptimize());
315 if (compare->IsEqual() && check
[all...]
H A Dbounds_check_elimination.cc284 * comparisons related to array bounds, array bounds check, add/sub on top
863 // Existing range isn't strong enough to eliminate the bounds check.
865 // bounds check.
902 // Remember the first bounds check against each array_length. That bounds check
1237 // Another bounds check in same or dominated block?
1253 // the other bounds check if it is in same block or both blocks dominate the exit.
1292 // bounds check twice if it occurred multiple times in the use list.
1303 * check on the given array range is always satisfied with the computed index range. The output
1336 * Performs loop-based dynamic elimination on a bounds check
1542 CanHandleNullCheck(HLoopInformation* loop, HInstruction* check, bool needs_taken_test) argument
[all...]
H A Dcode_generator_arm64.cc517 // If not null, the block to branch to after the suspend check.
520 // If `successor_` is null, the label to branch to after the suspend check.
890 // A possible implicit null check has already been handled above.
906 // Given the numeric representation, it's enough to check the low bit of the rb_state.
922 // Is a null check required?
1027 // A possible implicit null check has already been handled above.
1043 // Given the numeric representation, it's enough to check the low bit of the rb_state.
1133 // Is a null check required?
2336 // Note that a potential implicit null check is handled in this
2765 // Note that a potential implicit null check i
3107 VisitClinitCheck(HClinitCheck* check) argument
3116 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dcode_generator_arm.cc320 // 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.
859 // A possible implicit null check has already been handled above.
869 // Given the numeric representation, it's enough to check the low bit of the
888 // Is a null check required?
980 // A possible implicit null check has already been handled above.
990 // Given the numeric representation, it's enough to check the low bit of the
1089 // Is a null check required?
1799 // we check that the least significant half of the first input to be compared
1860 // we check tha
6817 VisitClinitCheck(HClinitCheck* check) argument
6826 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dcode_generator_arm_vixl.cc347 // If not null, the block to branch to after the suspend check.
350 // If `successor_` is null, the label to branch to after the suspend check.
888 // A possible implicit null check has already been handled above.
897 // Given the numeric representation, it's enough to check the low bit of the
916 // Is a null check required?
1016 // A possible implicit null check has already been handled above.
1025 // Given the numeric representation, it's enough to check the low bit of the
1131 // Is a null check required?
1889 // we check that the least significant half of the first input to be compared
1941 // we check tha
6869 VisitClinitCheck(HClinitCheck* check) argument
6878 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dcode_generator_x86.cc4508 // For register locations, check if the register was saved. If so, get it from the stack.
4825 // Note that a potential implicit null check is handled in this
5303 // Note that a potential implicit null check is handled in this
5659 // BCE will remove the bounds check if we are guarenteed to pass.
5666 // generate a bounds check if it is a valid range.
5722 // In suspend check slow path, usually there are no caller-save registers at all.
5733 // The back edge will generate the suspend check.
5737 // The goto will generate the suspend check.
6216 void LocationsBuilderX86::VisitClinitCheck(HClinitCheck* check) { argument
6218 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummar
6225 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dcode_generator_x86_64.cc4310 // Note that a potential implicit null check is handled in this
4759 // Note that a potential implicit null check is handled in this
5092 // BCE will remove the bounds check if we are guarenteed to pass.
5099 // generate a bounds check if it is a valid range.
5175 // In suspend check slow path, usually there are no caller-save registers at all.
5186 // The back edge will generate the suspend check.
5190 // The goto will generate the suspend check.
5608 void LocationsBuilderX86_64::VisitClinitCheck(HClinitCheck* check) { argument
5610 new (GetGraph()->GetArena()) LocationSummary(check, LocationSummary::kCallOnSlowPath);
5612 if (check
5617 VisitClinitCheck(HClinitCheck* check) argument
[all...]
H A Dnodes.h765 void SetSuspendCheck(HSuspendCheck* check) { suspend_check_ = check; } argument
959 // Back edges generate a suspend check.
1189 // Note that we cannot do the check `info->Contains(loop_information_)->GetHeader()`
1964 // simplifies the null check elimination.
3393 // Instruction to check if two inputs are equal to each other.
3789 // Instruction to check how two inputs compare to each other.
4121 // initialization (clinit) check of its declaring class.
4124 kExplicit, // Static call having explicit clinit check as last input.
4125 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/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...]
/art/test/439-npe/src/
H A DMain.java317 check(npe, thisLine += 2, methodLine, "$opt$noinline$setObjectField");
323 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setIntField");
329 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setFloatField");
335 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setLongField");
341 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setDoubleField");
347 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setByteField");
353 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setBooleanField");
359 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setCharField");
365 check(npe, thisLine += 6, methodLine += 5, "$opt$noinline$setShortField");
371 check(np
873 static void check(NullPointerException npe, int mainLine, int methodLine, String methodName) { method in class:Main
[all...]

Completed in 557 milliseconds