Home
last modified time | relevance | path

Searched refs:class_def_index (Results 1 – 18 of 18) 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);
1296 bool DexFileVerifier::CheckIntraClassDefItem(uint32_t class_def_index) { in CheckIntraClassDefItem() argument
1328 defined_class_indexes_[class_def->class_idx_.index_] = class_def_index; in CheckIntraClassDefItem()
/art/compiler/debug/
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/dex2oat/driver/
Dcompiler_driver.cc1588 void Visit(size_t class_def_index) override REQUIRES(!Locks::mutator_lock_) { in Visit() argument
1602 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1628 ClassAccessor accessor(dex_file, class_def_index); in Visit()
1912 void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) override { in Visit() argument
1916 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1996 ClassReference ref(manager_->GetDexFile(), class_def_index); in Visit()
2070 void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) override { in Visit() argument
2074 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2100 ClassReference ref(manager_->GetDexFile(), class_def_index); in Visit()
2135 void Visit(size_t class_def_index) override { in Visit() argument
[all …]
/art/oatdump/
Doatdump.cc248 for (size_t class_def_index = 0; in WalkOatDexFile() local
249 class_def_index < dex_file->NumClassDefs(); in WalkOatDexFile()
250 class_def_index++) { in WalkOatDexFile()
251 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile()
256 WalkOatClass(oat_class, *dex_file, class_def_index); in WalkOatDexFile()
269 uint32_t class_def_index) { in WalkOatClass() argument
270 ClassAccessor accessor(dex_file, class_def_index); in WalkOatClass()
277 class_def_index, in WalkOatClass()
286 uint32_t class_def_index, in WalkOatMethod() argument
308 info.class_def_index = class_def_index; in WalkOatMethod()
[all …]
/art/runtime/
Doat_file.h505 OatFile::OatClass GetOatClass(uint16_t class_def_index) const;
508 uint32_t GetOatClassOffset(uint16_t class_def_index) const;
Doat_file.cc1549 bool IsClassVerifiedInVdex(const OatDexFile& oat_dex_file, uint16_t class_def_index) const { in IsClassVerifiedInVdex()
1557 return verified_classes_per_dex_[dex_index][class_def_index]; in IsClassVerifiedInVdex()
1936 uint32_t OatDexFile::GetOatClassOffset(uint16_t class_def_index) const { in GetOatClassOffset()
1938 return oat_class_offsets_pointer_[class_def_index]; in GetOatClassOffset()
1945 OatFile::OatClass OatDexFile::GetOatClass(uint16_t class_def_index) const { in GetOatClass()
1950 class_def_index); in GetOatClass()
1959 uint32_t oat_class_offset = GetOatClassOffset(class_def_index); in GetOatClass()
/art/dex2oat/linker/
Doat_writer.cc810 virtual bool StartClass(const DexFile* dex_file, size_t class_def_index) { in StartClass() argument
814 class_def_index_ = class_def_index; in StartClass()
852 bool StartClass(const DexFile* dex_file, size_t class_def_index) override { in StartClass() argument
853 DexMethodVisitor::StartClass(dex_file, class_def_index); in StartClass()
962 bool StartClass(const DexFile* dex_file, size_t class_def_index) override { in StartClass() argument
963 DexMethodVisitor::StartClass(dex_file, class_def_index); in StartClass()
1036 size_t class_def_index; member
1297 size_t class_def_index = method_data.class_def_index; in VisitMethod() local
1375 info.class_def_index = class_def_index; in VisitMethod()
1525 bool StartClass(const DexFile* dex_file, size_t class_def_index) override in StartClass() argument
[all …]
Dimage_writer.cc1833 uint32_t class_def_index = 0u; in operator ()() local
1837 class_def_index = enum_cast<uint32_t>(component_type->GetPrimitiveType()); in operator ()()
1842 class_def_index = component_type->GetDexClassDefIndex(); in operator ()()
1844 klasses_.push_back({klass, dex_file_index, class_def_index, dimension}); in operator ()()
1877 uint32_t class_def_index; member
1881 return std::tie(dex_file_index, class_def_index, dimension) < in operator <()
1882 std::tie(other.dex_file_index, other.class_def_index, other.dimension); in operator <()
/art/runtime/verifier/
Dverifier_deps.cc1182 const uint16_t class_def_index = accessor.GetClassDefIndex(); in VerifyInternalClasses() local
1183 if (redefined_classes[class_def_index]) { in VerifyInternalClasses()
1184 if (verified_classes[class_def_index]) { in VerifyInternalClasses()
/art/compiler/optimizing/
Dinstruction_builder.cc1586 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() local
1594 class_def_index, in BuildInstanceFieldAccess()
1609 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() local
1616 class_def_index, in BuildInstanceFieldAccess()
1732 uint16_t class_def_index = klass->GetDexClassDefIndex(); in BuildStaticFieldAccess() local
1744 class_def_index, in BuildStaticFieldAccess()
1754 class_def_index, in BuildStaticFieldAccess()
Doptimizing_compiler.cc1269 info.class_def_index = class_def_idx; in JitCompile()
1377 info.class_def_index = class_def_idx; in JitCompile()
/art/dex2oat/
Ddex2oat_test.cc553 for (uint16_t class_def_index = 0; class_def_index < class_def_count; ++class_def_index) { in CheckResult() local
554 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult()
/art/runtime/jit/
Djit.cc1838 uint16_t class_def_index = cls->GetDexClassDefIndex(); in CanAssumeInitialized() local
1839 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()