Searched refs:check (Results 1 - 25 of 35) sorted by relevance

12

/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/064-field-access/src/
H A DMain.java222 private static void check(boolean b) { method in class:SubClass
229 check(otherProtectedClassPublicBooleanInstanceField == true);
230 check(otherProtectedClassPublicByteInstanceField == 2);
231 check(otherProtectedClassPublicCharInstanceField == 3);
232 check(otherProtectedClassPublicShortInstanceField == 4);
233 check(otherProtectedClassPublicIntInstanceField == 5);
234 check(otherProtectedClassPublicLongInstanceField == 6);
235 check(otherProtectedClassPublicFloatInstanceField == 7.0f);
236 check(otherProtectedClassPublicDoubleInstanceField == 8.0);
237 check(otherProtectedClassPublicObjectInstanceFiel
[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));
50 void PrepareForRegisterAllocation::VisitClinitCheck(HClinitCheck* check) { argument
[all...]
H A Dprepare_for_register_allocation.h36 void VisitNullCheck(HNullCheck* check) OVERRIDE;
37 void VisitDivZeroCheck(HDivZeroCheck* check) OVERRIDE;
38 void VisitBoundsCheck(HBoundsCheck* check) OVERRIDE;
40 void VisitClinitCheck(HClinitCheck* check) OVERRIDE;
H A Dgraph_checker.h49 void VisitBoundsCheck(HBoundsCheck* check) OVERRIDE;
52 void VisitCheckCast(HCheckCast* check) OVERRIDE;
53 void VisitInstanceOf(HInstanceOf* check) OVERRIDE;
H A Dconstant_folding.cc74 // We can safely remove the check if the input is a non-null constant.
75 HDivZeroCheck* check = inst->AsDivZeroCheck(); local
76 HInstruction* check_input = check->InputAt(0);
78 check->ReplaceWith(check_input);
79 check->GetBlock()->RemoveInstruction(check);
H A Dgraph_checker.cc124 void GraphChecker::VisitBoundsCheck(HBoundsCheck* check) { argument
128 check->DebugName(),
129 check->GetId()));
133 VisitInstruction(check);
239 AddError(StringPrintf("Static invoke %s:%d marked as having an explicit clinit check "
245 AddError(StringPrintf("Static invoke %s:%d marked as having an explicit clinit check "
246 "has a last instruction (%s:%d) which is neither a clinit check "
256 void GraphChecker::VisitCheckCast(HCheckCast* check) { argument
257 VisitInstruction(check);
258 HInstruction* input = check
[all...]
H A Dinstruction_simplifier.cc44 void VisitSuspendCheck(HSuspendCheck* check) OVERRIDE;
202 void InstructionSimplifierVisitor::VisitSuspendCheck(HSuspendCheck* check) { argument
203 HBasicBlock* block = check->GetBlock();
204 // Currently always keep the suspend check at entry.
208 if (block->IsLoopHeader() && block->GetFirstInstruction() == check) {
209 DCHECK(block->GetLoopInformation()->GetSuspendCheck() == check);
213 // Remove the suspend check that was added at build time for the baseline
215 block->RemoveInstruction(check);
280 // with the constant instruction. This helps the bounds check elimination phase.
295 // If the code is just swapping elements in the array, no need for a type check
[all...]
H A Dcode_generator_arm.h173 // Generate code for the given suspend check. If not null, `successor`
174 // is the block to branch to if the suspend check is not needed, and after
176 void GenerateSuspendCheck(HSuspendCheck* check, HBasicBlock* successor);
H A Dcode_generator_mips64.h182 // Generate code for the given suspend check. If not null, `successor`
183 // is the block to branch to if the suspend check is not needed, and after
187 void GenerateSuspendCheck(HSuspendCheck* check, HBasicBlock* successor);
H A Dcode_generator_x86.h156 // Generate code for the given suspend check. If not null, `successor`
157 // is the block to branch to if the suspend check is not needed, and after
159 void GenerateSuspendCheck(HSuspendCheck* check, HBasicBlock* successor);
/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/004-UnsafeTest/src/
H A DMain.java25 private static void check(int actual, int expected, String msg) { method in class:Main
32 private static void check(long actual, long expected, String msg) { method in class:Main
48 check(unsafe.arrayBaseOffset(boolean[].class), vmArrayBaseOffset(boolean[].class),
50 check(unsafe.arrayBaseOffset(byte[].class), vmArrayBaseOffset(byte[].class),
52 check(unsafe.arrayBaseOffset(char[].class), vmArrayBaseOffset(char[].class),
54 check(unsafe.arrayBaseOffset(double[].class), vmArrayBaseOffset(double[].class),
56 check(unsafe.arrayBaseOffset(float[].class), vmArrayBaseOffset(float[].class),
58 check(unsafe.arrayBaseOffset(int[].class), vmArrayBaseOffset(int[].class),
60 check(unsafe.arrayBaseOffset(long[].class), vmArrayBaseOffset(long[].class),
62 check(unsaf
[all...]
/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/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/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/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/121-modifiers/classes/
H A DMain.class ... String[]) throws java.lang.Exception private static void check (java.lang.String) throws java.lang. ...
/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/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/072-precise-gc/src/
H A DMain.java29 check(wrefs);
65 static void check(WeakReference[] wrefs) { method in class:Main
/art/compiler/dex/quick/
H A Dlocal_optimizations.cc25 #define LOAD_STORE_CHECK_REG_DEP(mask, check) (mask.Intersects(*check->u.m.def_mask))
28 #define CHECK_REG_DEP(use, def, check) (def.Intersects(*check->u.m.use_mask)) || \
29 (use.Union(def).Intersects(*check->u.m.def_mask))
356 * TODO: Sanity check. LoadStoreElimination uses kBranchBit to fake a PC.
362 /* Similar as above, but just check for pure register dependency */
383 /* Potential WAR alias seen - check the exact relation */
449 * Make sure we check slot >= 0 since first_slot may be negative
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S52 // Ugly compile-time check, but we only have the preprocessor.
80 // Ugly compile-time check, but we only have the preprocessor.
126 // Ugly compile-time check, but we only have the preprocessor.
423 mov r4, #SUSPEND_CHECK_INTERVAL @ reset r4 to suspend check interval
488 mov r3, r1 @ copy the lock word to check count overflow.
490 add r2, r3, #LOCK_WORD_THIN_LOCK_COUNT_ONE @ increment count in lock word placing in r2 to check overflow
524 mov r3, r1 @ copy lock word to check thread id equality
836 * path check for hit in strings cache has already been performed.
851 cbnz r0, 1f @ check Thread::Current()->suspend_count_ == 0
/art/test/
H A DAndroid.run-test.mk275 # 130-hprof dumps the heap and runs hprof-conv to check whether the file is somewhat readable. This
289 # 138-duplicate-classes-check. Turned off temporarily, b/21333911.
292 $(PICTEST_TYPES),$(DEBUGGABLE_TYPES),138-duplicate-classes-check,$(ALL_ADDRESS_SIZES))
294 # All these tests check that we have sane behavior if we don't have a patchoat or dex2oat.
308 138-duplicate-classes-check
338 # when already tracing, and writes an error message that we do not want to check for.
/art/runtime/arch/mips/
H A Dquick_entrypoints_mips.S43 // Ugly compile-time check, but we only have the preprocessor.
103 // Ugly compile-time check, but we only have the preprocessor.
178 // Ugly compile-time check, but we only have the preprocessor.
516 addiu $s0, $zero, SUSPEND_CHECK_INTERVAL # reset s0 to suspend check interval
1040 * path check for hit in strings cache has already been performed.
1148 beq $v0, $zero, 1f # check entry error
1174 bne $t0, $zero, 1f # check for pending exceptions

Completed in 930 milliseconds

12