Home
last modified time | relevance | path

Searched refs:class_def_index (Results 1 – 23 of 23) sorted by relevance

/art/libdexfile/dex/
Dclass_accessor-inl.h43 inline ClassAccessor::ClassAccessor(const DexFile& dex_file, uint32_t class_def_index) in ClassAccessor() argument
44 : ClassAccessor(dex_file, dex_file.GetClassDef(class_def_index)) {} in ClassAccessor()
48 uint32_t class_def_index, in ClassAccessor() argument
51 class_def_index_(class_def_index), in ClassAccessor()
58 if (parse_hiddenapi_class_data && class_def_index != DexFile::kDexNoIndex32) { in ClassAccessor()
61 hiddenapi_ptr_pos_ = hiddenapi_class_data->GetFlagsPointer(class_def_index); in ClassAccessor()
Dtype_lookup_table.h113 Entry(uint32_t str_offset, uint32_t hash, uint32_t class_def_index, uint32_t mask_bits) in Entry() argument
115 data_(((hash & ~GetMask(mask_bits)) | class_def_index) << mask_bits) { in Entry()
116 DCHECK_EQ(class_def_index & ~GetMask(mask_bits), 0u); in Entry()
Dclass_accessor.h278 ALWAYS_INLINE ClassAccessor(const DexFile& dex_file, uint32_t class_def_index);
282 uint32_t class_def_index = dex::kDexNoIndex,
Ddex_file_verifier.cc290 bool CheckIntraClassDefItem(uint32_t class_def_index);
1292 bool DexFileVerifier::CheckIntraClassDefItem(uint32_t class_def_index) { in CheckIntraClassDefItem() argument
1324 defined_class_indexes_[class_def->class_idx_.index_] = class_def_index; in CheckIntraClassDefItem()
/art/libdexfile/external/
Ddex_file_ext.cc59 uint32_t class_def_index; in FindMethod() local
60 if (GetClassDefIndex(dex_offset, &class_def_index)) { in FindMethod()
61 art::ClassAccessor accessor(*dex_file_, class_def_index); in FindMethod()
117 inline bool GetClassDefIndex(uint32_t dex_offset, uint32_t* class_def_index) { in GetClassDefIndex()
126 *class_def_index = it->second; in GetClassDefIndex()
/art/compiler/debug/
Delf_symtab_writer.h61 return mi->dex_file == first->dex_file && mi->class_def_index == first->class_def_index; in GetDedupedName()
73 auto& dex_class_def = first->dex_file->GetClassDef(first->class_def_index); in GetDedupedName()
Dmethod_debug_info.h32 size_t class_def_index; member
Delf_debug_line_writer.h172 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
Delf_debug_writer.cc59 auto& dex_class_def = mi.dex_file->GetClassDef(mi.class_def_index); in WriteDebugInfo()
/art/oatdump/
Doatdump.cc249 for (size_t class_def_index = 0; in WalkOatDexFile() local
250 class_def_index < dex_file->NumClassDefs(); in WalkOatDexFile()
251 class_def_index++) { in WalkOatDexFile()
252 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile()
257 WalkOatClass(oat_class, *dex_file, class_def_index); in WalkOatDexFile()
270 uint32_t class_def_index) { in WalkOatClass() argument
271 ClassAccessor accessor(dex_file, class_def_index); in WalkOatClass()
278 class_def_index, in WalkOatClass()
287 uint32_t class_def_index, in WalkOatMethod() argument
309 info.class_def_index = class_def_index; in WalkOatMethod()
[all …]
/art/runtime/verifier/
Dverifier_deps.cc404 uint32_t class_def_index = 0; in EncodeSetVector() local
406 if (verified_classes[class_def_index]) { in EncodeSetVector()
408 SetUint32InUint8Array(out, offsets_index, class_def_index, out->size()); in EncodeSetVector()
413 SetUint32InUint8Array(out, offsets_index, class_def_index, VerifierDeps::kNotVerifiedMarker); in EncodeSetVector()
415 class_def_index++; in EncodeSetVector()
417 SetUint32InUint8Array(out, offsets_index, class_def_index, out->size()); in EncodeSetVector()
/art/dex2oat/driver/
Dcompiler_driver.cc1517 void Visit(size_t class_def_index) override REQUIRES(!Locks::mutator_lock_) { in Visit() argument
1531 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1591 ClassAccessor accessor(dex_file, class_def_index); in Visit()
1873 void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) override { in Visit() argument
1877 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1886 ClassReference ref(manager_->GetDexFile(), class_def_index); in Visit()
2040 void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) override { in Visit() argument
2044 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2070 ClassReference ref(manager_->GetDexFile(), class_def_index); in Visit()
2105 void Visit(size_t class_def_index) override { in Visit() argument
[all …]
/art/runtime/
Dvdex_file.cc431 uint16_t class_def_index = cls->GetDexClassDefIndex(); in ComputeClassStatus() local
447 uint32_t class_def_offset = dex_file_class_defs[class_def_index]; in ComputeClassStatus()
455 for (uint32_t i = class_def_index + 1; i < dex_file.NumClassDefs() + 1; ++i) { in ComputeClassStatus()
Doat_file.h511 OatFile::OatClass GetOatClass(uint16_t class_def_index) const;
514 uint32_t GetOatClassOffset(uint16_t class_def_index) const;
Doat_file.cc2176 uint32_t OatDexFile::GetOatClassOffset(uint16_t class_def_index) const { in GetOatClassOffset()
2178 return oat_class_offsets_pointer_[class_def_index]; in GetOatClassOffset()
2185 OatFile::OatClass OatDexFile::GetOatClass(uint16_t class_def_index) const { in GetOatClass()
2198 uint32_t oat_class_offset = GetOatClassOffset(class_def_index); in GetOatClass()
Dclass_linker.cc4816 uint16_t class_def_index = klass->GetDexClassDefIndex(); in VerifyClassUsingOatFile() local
4817 oat_file_class_status = oat_dex_file->GetOatClass(class_def_index).GetStatus(); in VerifyClassUsingOatFile()
/art/dex2oat/linker/
Doat_writer.cc823 virtual bool StartClass(const DexFile* dex_file, size_t class_def_index) { in StartClass() argument
827 class_def_index_ = class_def_index; in StartClass()
865 bool StartClass(const DexFile* dex_file, size_t class_def_index) override { in StartClass() argument
866 DexMethodVisitor::StartClass(dex_file, class_def_index); in StartClass()
982 bool StartClass(const DexFile* dex_file, size_t class_def_index) override { in StartClass() argument
983 DexMethodVisitor::StartClass(dex_file, class_def_index); in StartClass()
1056 size_t class_def_index; member
1317 size_t class_def_index = method_data.class_def_index; in VisitMethod() local
1394 info.class_def_index = class_def_index; in VisitMethod()
1544 bool StartClass(const DexFile* dex_file, size_t class_def_index) override in StartClass() argument
[all …]
Dimage_writer.cc1563 uint32_t class_def_index = 0u; in operator ()() local
1567 class_def_index = enum_cast<uint32_t>(component_type->GetPrimitiveType()); in operator ()()
1572 class_def_index = component_type->GetDexClassDefIndex(); in operator ()()
1574 klasses_.push_back({klass, dex_file_index, class_def_index, dimension}); in operator ()()
1688 uint32_t class_def_index; member
1692 return std::tie(dex_file_index, class_def_index, dimension) < in operator <()
1693 std::tie(other.dex_file_index, other.class_def_index, other.dimension); in operator <()
/art/compiler/optimizing/
Dinstruction_builder.cc1963 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() local
1971 class_def_index, in BuildInstanceFieldAccess()
1986 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() local
1993 class_def_index, in BuildInstanceFieldAccess()
2140 uint16_t class_def_index = klass->GetDexClassDefIndex(); in BuildStaticFieldAccess() local
2152 class_def_index, in BuildStaticFieldAccess()
2162 class_def_index, in BuildStaticFieldAccess()
Doptimizing_compiler.cc1287 info.class_def_index = class_def_idx; in JitCompile()
1395 info.class_def_index = class_def_idx; in JitCompile()
/art/dex2oat/
Ddex2oat_test.cc522 for (uint16_t class_def_index = 0; class_def_index < class_def_count; ++class_def_index) { in CheckResult() local
523 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult()
/art/runtime/jit/
Djit.cc1788 uint16_t class_def_index = cls->GetDexClassDefIndex(); in CanAssumeInitialized() local
1789 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()
/art/profman/
Dprofman.cc1444 uint16_t class_def_index = class_ref.dex_file->GetIndexForClassDef(*class_def); in ProcessLine() local
1445 ClassAccessor accessor(*class_ref.dex_file, class_def_index); in ProcessLine()