/art/compiler/dex/ |
D | bb_optimizations.h | 35 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 …]
|
D | post_opt_passes.h | 38 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 …]
|
D | bb_optimizations.cc | 27 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()
|
D | post_opt_passes.cc | 27 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()
|
D | reg_storage.h | 209 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 …]
|
D | pass_driver_me.h | 87 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/ |
D | space-inl.h | 32 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/ |
D | mutex.cc | 314 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/ |
D | portable_cast_entrypoints.cc | 26 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()
|
D | portable_lock_entrypoints.cc | 25 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/ |
D | art_field-inl.h | 41 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 …]
|
D | class-inl.h | 54 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 …]
|
D | art_method-inl.h | 46 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 …]
|
D | object-inl.h | 119 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 …]
|
D | iftable.h | 30 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/ |
D | oat.cc | 142 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 …]
|
D | runtime-inl.h | 27 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()
|
D | stack.cc | 95 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/ |
D | mir_to_lir-inl.h | 28 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 …]
|
D | gen_loadstore.cc | 89 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/ |
D | heap_bitmap.cc | 44 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/ |
D | rosalloc.cc | 93 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/ |
D | java_lang_reflect_Array.cc | 30 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/ |
D | locations.h | 65 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()
|
D | parallel_move_resolver.cc | 24 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()
|