Home
last modified time | relevance | path

Searched refs:DCHECK (Results 1 – 25 of 262) sorted by relevance

1234567891011

/art/compiler/dex/
Dbb_optimizations.h35 DCHECK(data != nullptr); in Start()
37 DCHECK(c_unit != nullptr); in Start()
42 DCHECK(data != nullptr); in Gate()
44 DCHECK(c_unit != nullptr); in Gate()
59 DCHECK(data != nullptr); in Start()
61 DCHECK(c_unit != nullptr); in Start()
66 DCHECK(data != nullptr); in Gate()
68 DCHECK(c_unit != nullptr); in Gate()
85 DCHECK(data != nullptr); in Gate()
87 DCHECK(c_unit != nullptr); in Gate()
[all …]
Dpost_opt_passes.h38 DCHECK(data != nullptr); in Start()
40 DCHECK(c_unit != nullptr); in Start()
94 DCHECK(data != nullptr); in Start()
96 DCHECK(c_unit != nullptr); in Start()
111 DCHECK(data != nullptr); in Start()
113 DCHECK(c_unit != nullptr); in Start()
119 DCHECK(data != nullptr); in End()
121 DCHECK(c_unit != nullptr); in End()
139 DCHECK(data != nullptr); in Start()
141 DCHECK(c_unit != nullptr); in Start()
[all …]
Dbb_optimizations.cc27 DCHECK(data != nullptr); in Worker()
30 DCHECK(c_unit != nullptr); in Worker()
32 DCHECK(bb != nullptr); in Worker()
42 DCHECK(data != nullptr); in Worker()
45 DCHECK(c_unit != nullptr); in Worker()
47 DCHECK(bb != nullptr); in Worker()
58 DCHECK(data != nullptr); in Start()
60 DCHECK(c_unit != nullptr); in Start()
Dpost_opt_passes.cc27 DCHECK(data != nullptr); in Gate()
29 DCHECK(c_unit != nullptr); in Gate()
40 DCHECK(data != nullptr); in Worker()
43 DCHECK(c_unit != nullptr); in Worker()
45 DCHECK(bb != nullptr); in Worker()
53 DCHECK(data != nullptr); in Worker()
56 DCHECK(c_unit != nullptr); in Worker()
58 DCHECK(bb != nullptr); in Worker()
78 DCHECK(data != nullptr); in Start()
80 DCHECK(c_unit != nullptr); in Start()
Dreg_storage.h209 DCHECK(!IsPair()) << "reg_ = 0x" << std::hex << reg_; in GetReg()
215 DCHECK(Valid()); in SetReg()
216 DCHECK(!IsPair()); in SetReg()
222 DCHECK(IsPair()); in SetLowReg()
228 DCHECK(IsPair()); in GetLowReg()
234 DCHECK(IsPair()); in GetLow()
240 DCHECK(IsPair()); in GetHighReg()
246 DCHECK(IsPair()); in GetHigh()
251 DCHECK(IsPair()); in SetHighReg()
272 DCHECK(!low.IsPair()); in MakeRegPair()
[all …]
Dpass_driver_me.h87 DCHECK(pass != nullptr); in RunPass()
88 DCHECK(pass->GetName() != nullptr && pass->GetName()[0] != 0); in RunPass()
90 DCHECK(c_unit != nullptr); in RunPass()
128 DCHECK(passFolder != nullptr); in RunPass()
162 DCHECK(iterator != nullptr); in DoWalkBasicBlocks()
172 DCHECK(data != nullptr); in DoWalkBasicBlocks()
174 DCHECK(c_unit != nullptr); in DoWalkBasicBlocks()
/art/runtime/gc/space/
Dspace-inl.h32 DCHECK(IsImageSpace()); in AsImageSpace()
37 DCHECK(IsMallocSpace()); in AsMallocSpace()
38 DCHECK(IsDlMallocSpace() || IsRosAllocSpace()); in AsMallocSpace()
43 DCHECK(IsLargeObjectSpace()); in AsLargeObjectSpace()
48 DCHECK(IsContinuousSpace()); in AsContinuousSpace()
53 DCHECK(IsDiscontinuousSpace()); in AsDiscontinuousSpace()
/art/runtime/base/
Dmutex.cc314 DCHECK(self == NULL || self == Thread::Current()); in ExclusiveLock()
357 DCHECK(self == NULL || self == Thread::Current()); in ExclusiveTryLock()
398 DCHECK(self == NULL || self == Thread::Current()); in ExclusiveUnlock()
493 DCHECK(self == NULL || self == Thread::Current()); in ExclusiveLock()
527 DCHECK(self == NULL || self == Thread::Current()); in ExclusiveUnlock()
562 DCHECK(self == NULL || self == Thread::Current()); in ExclusiveLockWithTimeout()
616 DCHECK(self == NULL || self == Thread::Current()); in SharedTryLock()
645 DCHECK(self == NULL || self == Thread::Current()); in IsSharedHeld()
712 DCHECK(self == NULL || self == Thread::Current()); in Broadcast()
740 DCHECK(self == NULL || self == Thread::Current()); in Signal()
[all …]
/art/runtime/entrypoints/portable/
Dportable_cast_entrypoints.cc26 DCHECK(dest_type != NULL); in art_portable_is_assignable_from_code()
27 DCHECK(src_type != NULL); in art_portable_is_assignable_from_code()
34 DCHECK(dest_type->IsClass()) << PrettyClass(dest_type); in art_portable_check_cast_from_code()
35 DCHECK(src_type->IsClass()) << PrettyClass(src_type); in art_portable_check_cast_from_code()
47 DCHECK(array != NULL); in art_portable_check_put_array_element_from_code()
49 DCHECK(array_class != NULL); in art_portable_check_put_array_element_from_code()
Dportable_lock_entrypoints.cc25 DCHECK(obj != nullptr); // Assumed to have been checked before entry. in art_portable_lock_object_from_code()
27 DCHECK(thread->HoldsLock(obj)); in art_portable_lock_object_from_code()
29 DCHECK(!thread->IsExceptionPending()); in art_portable_lock_object_from_code()
35 DCHECK(obj != nullptr); // Assumed to have been checked before entry. in art_portable_unlock_object_from_code()
/art/runtime/mirror/
Dart_field-inl.h41 DCHECK(result != NULL); in GetDeclaringClass()
42 DCHECK(result->IsLoaded() || result->IsErroneous()); in GetDeclaringClass()
51 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlags()
56 DCHECK(GetDeclaringClass()->IsResolved() || GetDeclaringClass()->IsErroneous()); in GetOffset()
61 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetOffsetDuringLinking()
66 DCHECK(object != nullptr) << PrettyField(this); in Get32()
67 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
76 DCHECK(object != nullptr) << PrettyField(this); in Set32()
77 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
86 DCHECK(object != NULL) << PrettyField(this); in Get64()
[all …]
Dclass-inl.h54 DCHECK(IsLoaded() || IsErroneous() || !Runtime::Current()->IsStarted()) << IsLoaded(); in GetSuperClass()
68 DCHECK(IsLoaded() || IsErroneous()); in GetDirectMethods()
74 DCHECK(NULL == GetFieldObject<ObjectArray<ArtMethod>>( in SetDirectMethods()
98 DCHECK(IsLoaded() || IsErroneous()); in GetVirtualMethods()
115 DCHECK(IsResolved<kVerifyFlags>() || IsErroneous<kVerifyFlags>()); in GetVirtualMethod()
120 DCHECK(IsLoaded() || IsErroneous()); in GetVirtualMethodDuringLinking()
132 DCHECK(IsResolved() || IsErroneous()); in GetVTable()
137 DCHECK(IsLoaded() || IsErroneous()); in GetVTableDuringLinking()
193 DCHECK(klass != NULL); in Implements()
194 DCHECK(klass->IsInterface()) << PrettyClass(this); in Implements()
[all …]
Dart_method-inl.h46 DCHECK(!java_lang_reflect_ArtMethod_.IsNull()); in GetJavaLangReflectArtMethod()
52 DCHECK(result != NULL) << this; in GetDeclaringClass()
53 DCHECK(result->IsIdxLoaded() || result->IsErroneous()) << this; in GetDeclaringClass()
63 DCHECK(GetDeclaringClass()->IsIdxLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlags()
68 DCHECK(GetDeclaringClass()->IsResolved() || GetDeclaringClass()->IsErroneous()); in GetMethodIndex()
81 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetDexMethodIndex()
146 DCHECK(!IsRuntimeMethod() && !IsProxyMethod()) << PrettyMethod(this); in GetCodeSize()
197 DCHECK(IsWithinQuickCode(pc)) in AssertPcIsWithinQuickCode()
205 DCHECK(!Runtime::Current()->IsStarted()); in GetQuickOatCodeOffset()
212 DCHECK(!Runtime::Current()->IsStarted()); in GetPortableOatCodeOffset()
[all …]
Dobject-inl.h119 DCHECK(kUseBakerOrBrooksReadBarrier); in GetReadBarrierPointer()
130 DCHECK(kUseBakerOrBrooksReadBarrier); in SetReadBarrierPointer()
142 DCHECK(kUseBakerOrBrooksReadBarrier); in AtomicSetReadBarrierPointer()
166 DCHECK(obj->GetReadBarrierPointer() == nullptr) in AssertReadBarrierPointer()
181 DCHECK(klass != NULL); in VerifierInstanceOf()
182 DCHECK(GetClass<kVerifyFlags>() != NULL); in VerifierInstanceOf()
188 DCHECK(klass != NULL); in InstanceOf()
189 DCHECK(GetClass<kVerifyNone>() != NULL); in InstanceOf()
203 DCHECK((IsClass<kVerifyFlags, kReadBarrierOption>())); in AsClass()
216 DCHECK(IsObjectArray<kVerifyFlags>()); in AsObjectArray()
[all …]
Diftable.h30 DCHECK(interface != NULL); in GetInterface()
40 DCHECK(method_array != NULL); in GetMethodArray()
55 DCHECK(new_ma != NULL); in SetMethodArray()
56 DCHECK(Get((i * kMax) + kMethodArray) == NULL); in SetMethodArray()
/art/runtime/
Doat.cc142 DCHECK(IsValid()); in UpdateChecksum()
158 DCHECK(IsValid()); in GetExecutableOffset()
167 DCHECK(IsValid()); in SetExecutableOffset()
179 DCHECK(IsValid()); in GetInterpreterToInterpreterBridgeOffset()
187 DCHECK(IsValid()); in SetInterpreterToInterpreterBridgeOffset()
199 DCHECK(IsValid()); in GetInterpreterToCompiledCodeBridgeOffset()
206 DCHECK(IsValid()); in SetInterpreterToCompiledCodeBridgeOffset()
218 DCHECK(IsValid()); in GetJniDlsymLookupOffset()
225 DCHECK(IsValid()); in SetJniDlsymLookupOffset()
237 DCHECK(IsValid()); in GetPortableImtConflictTrampolineOffset()
[all …]
Druntime-inl.h27 DCHECK(method != nullptr); in GetRuntimeMethodFrameInfo()
29 DCHECK(method != GetImtConflictMethod()); in GetRuntimeMethodFrameInfo()
30 DCHECK(method != GetResolutionMethod()); in GetRuntimeMethodFrameInfo()
37 DCHECK(method == GetCalleeSaveMethodUnchecked(Runtime::kRefsOnly)); in GetRuntimeMethodFrameInfo()
65 DCHECK(HasCalleeSaveMethod(type)); in GetCalleeSaveMethod()
Dstack.cc95 DCHECK(thread == Thread::Current() || thread->IsSuspended()) << *thread; in StackVisitor()
102 DCHECK(thread == Thread::Current() || thread->IsSuspended()) << *thread; in StackVisitor()
150 DCHECK(!IsShadowFrame()); in GetNativePcOffset()
157 DCHECK(context_ != nullptr); // You can't reliably read registers without a context. in GetVReg()
158 DCHECK(m == GetMethod()); in GetVReg()
160 DCHECK(code_pointer != nullptr); in GetVReg()
189 DCHECK(code_item != nullptr) << PrettyMethod(m); // Can't be NULL or how would we compile in GetVReg()
211 DCHECK(context_ != nullptr); // You can't reliably read registers without a context. in GetVRegPair()
212 DCHECK(m == GetMethod()); in GetVRegPair()
214 DCHECK(code_pointer != nullptr); in GetVRegPair()
[all …]
/art/compiler/dex/quick/
Dmir_to_lir-inl.h28 DCHECK(p->IsTemp()); in ClobberBody()
30 DCHECK(!(p->IsLive() && p->IsDirty())) << "Live & dirty temp in clobber"; in ClobberBody()
59 DCHECK(!insn->flags.use_def_invalid); in RawLIR()
70 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & NO_OPERAND)) in NewLIR0()
80 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_UNARY_OP)) in NewLIR1()
90 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_BINARY_OP)) in NewLIR2()
100 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_UNARY_OP)) in NewLIR2NoDest()
110 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_TERTIARY_OP)) in NewLIR3()
120 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_QUAD_OP)) in NewLIR4()
131 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_QUIN_OP)) in NewLIR5()
[all …]
Dgen_loadstore.cc89 DCHECK(!rl_src.ref || (mir_graph_->ConstantValue(rl_src) == 0)); in LoadValueDirect()
92 DCHECK((rl_src.location == kLocDalvikFrame) || in LoadValueDirect()
126 DCHECK((rl_src.location == kLocDalvikFrame) || in LoadValueDirectWide()
145 DCHECK(!rl_src.ref || op_kind == kRefReg); in LoadValue()
180 DCHECK((live_sreg_ == INVALID_SREG) || in StoreValue()
186 DCHECK(!rl_dest.wide); in StoreValue()
187 DCHECK(!rl_src.wide); in StoreValue()
232 DCHECK(rl_src.wide); in LoadValueWide()
264 DCHECK((live_sreg_ == INVALID_SREG) || in StoreValueWide()
270 DCHECK(rl_dest.wide); in StoreValueWide()
[all …]
/art/runtime/gc/accounting/
Dheap_bitmap.cc44 DCHECK(bitmap != nullptr); in AddContinuousSpaceBitmap()
56 DCHECK(bitmap != nullptr); in RemoveContinuousSpaceBitmap()
58 DCHECK(it != continuous_space_bitmaps_.end()); in RemoveContinuousSpaceBitmap()
63 DCHECK(bitmap != nullptr); in AddLargeObjectBitmap()
68 DCHECK(bitmap != nullptr); in RemoveLargeObjectBitmap()
70 DCHECK(it != large_object_bitmaps_.end()); in RemoveLargeObjectBitmap()
/art/runtime/gc/allocator/
Drosalloc.cc93 DCHECK(free_pages->IsFree()); in RosAlloc()
95 DCHECK(free_pages->IsFree()); in RosAlloc()
112 DCHECK(page_map_type == kPageMapRun || page_map_type == kPageMapLargeObject); in AllocPages()
118 DCHECK(fpr->IsFree()); in AllocPages()
161 DCHECK(last_free_page_run->IsFree()); in AllocPages()
162 DCHECK(IsFreePage(ToPageMapIndex(last_free_page_run))); in AllocPages()
213 DCHECK(it != free_page_runs_.rend()); in AllocPages()
216 DCHECK(last_free_page_run != NULL); in AllocPages()
251 DCHECK(IsFreePage(page_map_idx + i)); in AllocPages()
294 DCHECK(pm_type == kPageMapRun || pm_type == kPageMapLargeObject); in FreePages()
[all …]
/art/runtime/native/
Djava_lang_reflect_Array.cc30 DCHECK(javaElementClass != NULL); in Array_createMultiArray()
33 DCHECK(element_class->IsClass()); in Array_createMultiArray()
34 DCHECK(javaDimArray != NULL); in Array_createMultiArray()
36 DCHECK(dimensions_obj->IsArrayInstance()); in Array_createMultiArray()
48 DCHECK(javaElementClass != NULL); in Array_createObjectArray()
61 DCHECK(array_class->IsObjectArrayClass()); in Array_createObjectArray()
/art/compiler/optimizing/
Dlocations.h65 DCHECK(!IsValid()); in Location()
80 DCHECK(constant != nullptr); in ConstantLocation()
85 DCHECK(IsConstant()); in GetConstant()
112 DCHECK(IsRegister()); in reg()
117 DCHECK(-kStackIndexBias <= stack_index); in EncodeStackIndex()
118 DCHECK(stack_index < kStackIndexBias); in EncodeStackIndex()
147 DCHECK(IsStackSlot() || IsDoubleStackSlot()); in GetStackIndex()
153 DCHECK(IsDoubleStackSlot()); in GetHighStackIndex()
163 DCHECK(IsQuickParameter()); in GetQuickParameterIndex()
229 DCHECK(IsUnallocated()); in GetPolicy()
Dparallel_move_resolver.cc24 DCHECK(moves_.IsEmpty()); in EmitNativeCode()
42 DCHECK(move.GetSource().IsConstant()); in EmitNativeCode()
73 DCHECK(!moves_.Get(index)->IsPending()); in PerformMove()
74 DCHECK(!moves_.Get(index)->IsRedundant()); in PerformMove()
79 DCHECK(!moves_.Get(index)->GetSource().IsInvalid()); in PerformMove()
121 DCHECK(other_move.IsPending()); in PerformMove()

1234567891011