Home
last modified time | relevance | path

Searched refs:DCHECK_EQ (Results 1 – 25 of 151) sorted by relevance

1234567

/art/runtime/
Ddex_instruction-inl.h90 DCHECK_EQ(FormatOf(Opcode()), k10t); in VRegA_10t()
95 DCHECK_EQ(FormatOf(Opcode()), k10x); in VRegA_10x()
100 DCHECK_EQ(FormatOf(Opcode()), k11n); in VRegA_11n()
105 DCHECK_EQ(FormatOf(Opcode()), k11x); in VRegA_11x()
110 DCHECK_EQ(FormatOf(Opcode()), k12x); in VRegA_12x()
115 DCHECK_EQ(FormatOf(Opcode()), k20t); in VRegA_20t()
120 DCHECK_EQ(FormatOf(Opcode()), k21c); in VRegA_21c()
125 DCHECK_EQ(FormatOf(Opcode()), k21h); in VRegA_21h()
130 DCHECK_EQ(FormatOf(Opcode()), k21s); in VRegA_21s()
135 DCHECK_EQ(FormatOf(Opcode()), k21t); in VRegA_21t()
[all …]
Dlock_word-inl.h26 DCHECK_EQ(GetState(), kThinLocked); in ThinLockOwner()
31 DCHECK_EQ(GetState(), kThinLocked); in ThinLockCount()
36 DCHECK_EQ(GetState(), kFatLocked); in FatLockMonitor()
42 DCHECK_EQ(GetState(), kForwardingAddress); in ForwardingAddress()
47 DCHECK_EQ(GetState(), kUnlocked); in LockWord()
52 DCHECK_EQ(FatLockMonitor(), mon); in LockWord()
56 DCHECK_EQ(GetState(), kHashCode); in GetHashCode()
Dthread-inl.h52 DCHECK_EQ(this, Thread::Current()); in SetState()
83 DCHECK_EQ(this, Thread::Current()); in TransitionFromRunnableToSuspended()
85 DCHECK_EQ(GetState(), kRunnable); in TransitionFromRunnableToSuspended()
95 DCHECK_EQ((old_state_and_flags.as_struct.flags & kCheckpointRequest), 0); in TransitionFromRunnableToSuspended()
120 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
125 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
130 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
132 DCHECK_EQ(GetSuspendCount(), 0); in TransitionFromSuspendedToRunnable()
138 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
Doat.cc168 DCHECK_EQ(executable_offset_, 0U); in SetExecutableOffset()
188 DCHECK_EQ(interpreter_to_interpreter_bridge_offset_, 0U) << offset; in SetInterpreterToInterpreterBridgeOffset()
207 DCHECK_EQ(interpreter_to_compiled_code_bridge_offset_, 0U) << offset; in SetInterpreterToCompiledCodeBridgeOffset()
226 DCHECK_EQ(jni_dlsym_lookup_offset_, 0U) << offset; in SetJniDlsymLookupOffset()
245 DCHECK_EQ(portable_imt_conflict_trampoline_offset_, 0U) << offset; in SetPortableImtConflictTrampolineOffset()
264 DCHECK_EQ(portable_resolution_trampoline_offset_, 0U) << offset; in SetPortableResolutionTrampolineOffset()
283 DCHECK_EQ(portable_to_interpreter_bridge_offset_, 0U) << offset; in SetPortableToInterpreterBridgeOffset()
302 DCHECK_EQ(quick_generic_jni_trampoline_offset_, 0U) << offset; in SetQuickGenericJniTrampolineOffset()
321 DCHECK_EQ(quick_imt_conflict_trampoline_offset_, 0U) << offset; in SetQuickImtConflictTrampolineOffset()
340 DCHECK_EQ(quick_resolution_trampoline_offset_, 0U) << offset; in SetQuickResolutionTrampolineOffset()
[all …]
Dhandle_scope-inl.h31 DCHECK_EQ(&references_[0], &references_storage_[0]); in StackHandleScope()
41 DCHECK_EQ(top_handle_scope, this); in ~StackHandleScope()
Ddex_file-inl.h97 DCHECK_EQ(params == nullptr, rhs_params == nullptr);
100 DCHECK_EQ(params_size, rhs_params->Size()); // Parameter list size must match.
/art/compiler/dex/quick/x86/
Dassemble_x86.cc678 DCHECK_EQ(entry->opcode, lir->opcode) << entry->name; in GetInsnSize()
761 DCHECK_EQ(rs_rCX.GetRegNum(), RegStorage::RegNum(lir->operands[1])); in GetInsnSize()
765 DCHECK_EQ(rs_rCX.GetRegNum(), RegStorage::RegNum(lir->operands[2])); in GetInsnSize()
768 DCHECK_EQ(rs_rCX.GetRegNum(), RegStorage::RegNum(lir->operands[4])); in GetInsnSize()
776 DCHECK_EQ(false, entry->skeleton.r8_form); in GetInsnSize()
779 DCHECK_EQ(false, entry->skeleton.r8_form); in GetInsnSize()
782 DCHECK_EQ(false, entry->skeleton.r8_form); in GetInsnSize()
829 DCHECK_EQ(entry->opcode, kX86PcRelAdr); in GetInsnSize()
833 DCHECK_EQ(lir->opcode, static_cast<int>(kX86StartOfMethod)); in GetInsnSize()
940 DCHECK_EQ(0, entry->skeleton.prefix2); in EmitPrefix()
[all …]
/art/runtime/mirror/
Dart_field-inl.h126 DCHECK_EQ(Primitive::kPrimBoolean, GetTypeAsPrimitiveType()) << PrettyField(this); in GetBoolean()
132 DCHECK_EQ(Primitive::kPrimBoolean, GetTypeAsPrimitiveType()) << PrettyField(this); in SetBoolean()
137 DCHECK_EQ(Primitive::kPrimByte, GetTypeAsPrimitiveType()) << PrettyField(this); in GetByte()
143 DCHECK_EQ(Primitive::kPrimByte, GetTypeAsPrimitiveType()) << PrettyField(this); in SetByte()
148 DCHECK_EQ(Primitive::kPrimChar, GetTypeAsPrimitiveType()) << PrettyField(this); in GetChar()
154 DCHECK_EQ(Primitive::kPrimChar, GetTypeAsPrimitiveType()) << PrettyField(this); in SetChar()
159 DCHECK_EQ(Primitive::kPrimShort, GetTypeAsPrimitiveType()) << PrettyField(this); in GetShort()
165 DCHECK_EQ(Primitive::kPrimShort, GetTypeAsPrimitiveType()) << PrettyField(this); in SetShort()
204 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(this); in GetFloat()
212 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(this); in SetFloat()
[all …]
Dobject-inl.h155 DCHECK_EQ(new_ref.reference_, atomic_rb_ptr->LoadRelaxed()); in AtomicSetReadBarrierPointer()
171 DCHECK_EQ(obj, obj->GetReadBarrierPointer()) in AssertReadBarrierPointer()
432 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetField32()
462 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in CasFieldWeakSequentiallyConsistent32()
480 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in CasFieldWeakRelaxed32()
498 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in CasFieldStrongSequentiallyConsistent32()
535 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetField64()
564 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in CasFieldWeakSequentiallyConsistent64()
581 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in CasFieldStrongSequentiallyConsistent64()
623 DCHECK_EQ(kTransactionActive, Runtime::Current()->IsActiveTransaction()); in SetFieldObjectWithoutWriteBarrier()
[all …]
Dart_method-inl.h260 DCHECK_EQ(code_pointer, GetQuickOatCodePointer(pointer_size)); in GetMappingTable()
279 DCHECK_EQ(code_pointer, GetQuickOatCodePointer(pointer_size)); in GetVmapTable()
298 DCHECK_EQ(code_pointer, GetQuickOatCodePointer(pointer_size)); in GetNativeGcMap()
355 DCHECK_EQ(quick_entry_point, in NativePcOffset()
408 DCHECK_EQ(code_pointer, GetQuickOatCodePointer(sizeof(void*))); in GetQuickFrameInfo()
544 DCHECK_EQ(interface_method, in GetInterfaceMethodIfProxy()
566 DCHECK_EQ(GetClass()->GetObjectSize(), this_size); in CheckObjectSizeEqualsMirrorSize()
Diftable-inl.h29 DCHECK_EQ(Get(idx), static_cast<Object*>(nullptr)); in SetInterface()
/art/runtime/gc/allocator/
Drosalloc.cc58 DCHECK_EQ(RoundUp(capacity, kPageSize), capacity); in RosAlloc()
59 DCHECK_EQ(RoundUp(max_capacity, kPageSize), max_capacity); in RosAlloc()
76 DCHECK_EQ(footprint_, capacity_); in RosAlloc()
92 DCHECK_EQ(capacity_ % kPageSize, static_cast<size_t>(0)); in RosAlloc()
120 DCHECK_EQ(fpr_byte_size % kPageSize, static_cast<size_t>(0)); in AllocPages()
136 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
145 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
173 DCHECK_EQ(increment % kPageSize, static_cast<size_t>(0)); in AllocPages()
184 DCHECK_EQ(last_free_page_run_size, last_free_page_run->ByteSize(this)); in AllocPages()
186 DCHECK_EQ(last_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
[all …]
Drosalloc.h56 DCHECK_EQ(byte_size % kPageSize, static_cast<size_t>(0)); in ByteSize()
61 DCHECK_EQ(byte_size % kPageSize, static_cast<size_t>(0)); in SetByteSize()
102 DCHECK_EQ(byte_size % kPageSize, static_cast<size_t>(0)); in ReleasePages()
178 DCHECK_EQ(size, static_cast<size_t>(8)); in fixed_header_size()
300 DCHECK_EQ(size % 16, static_cast<size_t>(0)); in BracketSizeToIndex()
337 DCHECK_EQ(bracket_size, IndexToBracketSize(idx)); in SizeToIndexAndBracketSize()
343 DCHECK_EQ(bracket_size, IndexToBracketSize(idx)); in SizeToIndexAndBracketSize()
350 DCHECK_EQ(bracket_size, IndexToBracketSize(idx)); in SizeToIndexAndBracketSize()
359 DCHECK_EQ(byte_offset % static_cast<size_t>(kPageSize), static_cast<size_t>(0)); in ToPageMapIndex()
/art/compiler/dex/quick/arm/
Dutility_arm.cc254 DCHECK_EQ(shift, 0); in OpRegRegShift()
273 DCHECK_EQ(shift, 0); in OpRegRegShift()
284 DCHECK_EQ(shift, 0); in OpRegRegShift()
291 DCHECK_EQ(shift, 0); in OpRegRegShift()
304 DCHECK_EQ(shift, 0); in OpRegRegShift()
308 DCHECK_EQ(shift, 0); in OpRegRegShift()
312 DCHECK_EQ(shift, 0); in OpRegRegShift()
316 DCHECK_EQ(shift, 0); in OpRegRegShift()
326 DCHECK_EQ(shift, 0); in OpRegRegShift()
334 DCHECK_EQ(shift, 0); in OpRegRegShift()
[all …]
/art/compiler/driver/
Dcompiler_driver-inl.h46 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveCompilingMethodsClass()
47 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveCompilingMethodsClass()
52 DCHECK_EQ(referrer_class == nullptr, soa.Self()->IsExceptionPending()); in ResolveCompilingMethodsClass()
64 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveField()
65 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveField()
68 DCHECK_EQ(resolved_field == nullptr, soa.Self()->IsExceptionPending()); in ResolveField()
171 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveMethod()
172 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveMethod()
176 DCHECK_EQ(resolved_method == nullptr, soa.Self()->IsExceptionPending()); in ResolveMethod()
/art/compiler/dex/
Dvreg_analysis.cc153 DCHECK_EQ(SRegToVReg(defs[0])+1, in InferTypeAndSize()
172 DCHECK_EQ(SRegToVReg(uses[next])+1, in InferTypeAndSize()
191 DCHECK_EQ(SRegToVReg(uses[next])+1, in InferTypeAndSize()
210 DCHECK_EQ(SRegToVReg(uses[next])+1, in InferTypeAndSize()
258 DCHECK_EQ(next, 0); in InferTypeAndSize()
297 DCHECK_EQ(SRegToVReg(uses[i])+1, SRegToVReg(uses[i+1])); in InferTypeAndSize()
304 DCHECK_EQ(SRegToVReg(uses[i])+1, SRegToVReg(uses[i+1])); in InferTypeAndSize()
389 DCHECK_EQ(ssa_rep->num_uses, 2); in InferTypeAndSize()
482 DCHECK_EQ(SRegToVReg(s_reg)+1, SRegToVReg(s_reg+1)); in InitRegLocations()
490 DCHECK_EQ(SRegToVReg(s_reg)+1, SRegToVReg(s_reg+1)); in InitRegLocations()
Dverified_method.cc132 DCHECK_EQ(dex_gc_map_.size(), table_size); in GenerateGcMap()
141 DCHECK_EQ(data.size(), map.RawSize()); in VerifyGcMap()
148 DCHECK_EQ(map.GetDexPc(map_index), i); in VerifyGcMap()
149 DCHECK_EQ(map.GetBitMap(map_index), reg_bitmap); in VerifyGcMap()
155 DCHECK_EQ((reg_bitmap[j / 8] >> (j % 8)) & 1, 1); in VerifyGcMap()
157 DCHECK_EQ((reg_bitmap[j / 8] >> (j % 8)) & 1, 0); in VerifyGcMap()
Dverification_results.cc70 DCHECK_EQ(it->second->GetDevirtMap().size(), verified_method->GetDevirtMap().size()); in ProcessVerifiedMethod()
71 DCHECK_EQ(it->second->GetSafeCastSet().size(), verified_method->GetSafeCastSet().size()); in ProcessVerifiedMethod()
72 DCHECK_EQ(it->second->GetDexGcMap().size(), verified_method->GetDexGcMap().size()); in ProcessVerifiedMethod()
/art/compiler/dex/quick/
Ddex_file_method_inliner.cc115 DCHECK_EQ(Instruction::FormatOf(invoke->dalvikInsn.opcode), Instruction::k35c); in GetInvokeReg()
628 DCHECK_EQ(static_cast<uint32_t>(return_type), return_index); in FindProtoIndex()
639 DCHECK_EQ(static_cast<uint32_t>(signature_type_idxs[i]), param_index); in FindProtoIndex()
744 DCHECK_EQ(data.is_object, 1u); in GenInlineReturnArg()
745 DCHECK_EQ(data.is_wide, 0u); in GenInlineReturnArg()
748 DCHECK_EQ(data.is_wide, 1u); in GenInlineReturnArg()
749 DCHECK_EQ(data.is_object, 0u); in GenInlineReturnArg()
757 DCHECK_EQ(data.is_wide, 0u); in GenInlineReturnArg()
758 DCHECK_EQ(data.is_object, 0u); in GenInlineReturnArg()
780 DCHECK_EQ(InlineMethodAnalyser::IGetVariant(opcode), data.op_variant); in GenInlineIGet()
[all …]
/art/runtime/native/
Djava_lang_System.cc99 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 1U); in System_arraycopy()
104 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 2U); in System_arraycopy()
109 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 4U); in System_arraycopy()
114 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 8U); in System_arraycopy()
166 DCHECK_EQ(srcArray->GetClass(), dstArray->GetClass()); in System_arraycopyTUnchecked()
167 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
Dscoped_fast_native_object_access.h36 DCHECK_EQ(Self()->GetState(), kRunnable); in ScopedFastNativeObjectAccess()
/art/runtime/gc/space/
Drosalloc_space-inl.h41 DCHECK_EQ(size_by_size, size_by_ptr); in AllocationSizeNonvirtual()
65 DCHECK_EQ(rosalloc_size, rosalloc_->UsableSize(result)); in AllocCommon()
/art/compiler/dex/quick/mips/
Dutility_mips.cc28 DCHECK_EQ(r_dest.IsDouble(), r_src.IsDouble()); in OpFpRegCopy()
481 DCHECK_EQ(r_dest.GetLowReg(), r_dest.GetHighReg() - 1); in LoadBaseDispBody()
487 DCHECK_EQ((displacement & 0x3), 0); in LoadBaseDispBody()
497 DCHECK_EQ((displacement & 0x3), 0); in LoadBaseDispBody()
501 DCHECK_EQ((displacement & 0x1), 0); in LoadBaseDispBody()
505 DCHECK_EQ((displacement & 0x1), 0); in LoadBaseDispBody()
592 DCHECK_EQ(r_src.GetLowReg(), r_src.GetHighReg() - 1); in StoreBaseDispBody()
598 DCHECK_EQ((displacement & 0x3), 0); in StoreBaseDispBody()
608 DCHECK_EQ((displacement & 0x3), 0); in StoreBaseDispBody()
613 DCHECK_EQ((displacement & 0x1), 0); in StoreBaseDispBody()
/art/compiler/optimizing/
Dcode_generator.cc39 DCHECK_EQ(frame_size_, kUninitializedFrameSize); in CompileBaseline()
184 DCHECK_EQ(loc.GetPolicy(), Location::kAny); in AllocateRegistersLocally()
201 DCHECK_EQ(loc.GetPolicy(), Location::kRequiresRegister); in AllocateRegistersLocally()
326 DCHECK_EQ(static_cast<size_t>(write_pos - data_ptr), hdr_data_size); in BuildMappingTable()
339 DCHECK_EQ(static_cast<size_t>(write_pos - data_ptr), hdr_data_size + pc2dex_data_size); in BuildMappingTable()
340 DCHECK_EQ(static_cast<size_t>(write_pos2 - data_ptr), data_size); in BuildMappingTable()
Dnodes.cc247 DCHECK_EQ(GetBackEdges().Size(), 1u); in Populate()
266 DCHECK_EQ(header_->GetPredecessors().Size(), 2u); in GetPreHeader()
294 DCHECK_EQ(instruction->GetId(), -1); in InsertInstructionBefore()
296 DCHECK_EQ(cursor->GetBlock(), this); in InsertInstructionBefore()
314 DCHECK_EQ(instruction->GetId(), -1); in Add()
331 DCHECK_EQ(block, instruction->GetBlock()); in Remove()

1234567