Home
last modified time | relevance | path

Searched refs:class_def_index (Results 1 – 20 of 20) 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/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/libdexfile/external/
Ddex_file_ext.cc115 uint32_t class_def_index; in GetMethodCacheEntryForOffset() local
116 if (GetClassDefIndex(dex_offset, &class_def_index)) { in GetMethodCacheEntryForOffset()
117 art::ClassAccessor accessor(*dex_file_, class_def_index); in GetMethodCacheEntryForOffset()
139 bool GetClassDefIndex(uint32_t dex_offset, uint32_t* class_def_index) { in GetClassDefIndex()
178 *class_def_index = it->second; in GetClassDefIndex()
/art/dex2oat/driver/
Dcompiler_driver.cc1615 void Visit(size_t class_def_index) override REQUIRES(!Locks::mutator_lock_) { in Visit() argument
1629 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1689 ClassAccessor accessor(dex_file, class_def_index); in Visit()
1973 void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) override { in Visit() argument
1977 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2057 ClassReference ref(manager_->GetDexFile(), class_def_index); in Visit()
2131 void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) override { in Visit() argument
2135 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2161 ClassReference ref(manager_->GetDexFile(), class_def_index); in Visit()
2196 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.h508 OatFile::OatClass GetOatClass(uint16_t class_def_index) const;
511 uint32_t GetOatClassOffset(uint16_t class_def_index) const;
Doat_file.cc1562 bool IsClassVerifiedInVdex(const OatDexFile& oat_dex_file, uint16_t class_def_index) const { in IsClassVerifiedInVdex()
1570 return verified_classes_per_dex_[dex_index][class_def_index]; in IsClassVerifiedInVdex()
1949 uint32_t OatDexFile::GetOatClassOffset(uint16_t class_def_index) const { in GetOatClassOffset()
1951 return oat_class_offsets_pointer_[class_def_index]; in GetOatClassOffset()
1958 OatFile::OatClass OatDexFile::GetOatClass(uint16_t class_def_index) const { in GetOatClass()
1963 class_def_index); in GetOatClass()
1972 uint32_t oat_class_offset = GetOatClassOffset(class_def_index); in GetOatClass()
Dclass_linker.cc4951 uint16_t class_def_index = klass->GetDexClassDefIndex(); in VerifyClassUsingOatFile() local
4952 oat_file_class_status = oat_dex_file->GetOatClass(class_def_index).GetStatus(); in VerifyClassUsingOatFile()
/art/dex2oat/linker/
Doat_writer.cc821 virtual bool StartClass(const DexFile* dex_file, size_t class_def_index) { in StartClass() argument
825 class_def_index_ = class_def_index; in StartClass()
863 bool StartClass(const DexFile* dex_file, size_t class_def_index) override { in StartClass() argument
864 DexMethodVisitor::StartClass(dex_file, class_def_index); in StartClass()
973 bool StartClass(const DexFile* dex_file, size_t class_def_index) override { in StartClass() argument
974 DexMethodVisitor::StartClass(dex_file, class_def_index); in StartClass()
1047 size_t class_def_index; member
1308 size_t class_def_index = method_data.class_def_index; in VisitMethod() local
1386 info.class_def_index = class_def_index; in VisitMethod()
1536 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.cc1235 const uint16_t class_def_index = accessor.GetClassDefIndex(); in VerifyInternalClasses() local
1236 if (redefined_classes[class_def_index]) { in VerifyInternalClasses()
1237 if (verified_classes[class_def_index]) { in VerifyInternalClasses()
/art/compiler/optimizing/
Dinstruction_builder.cc1847 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() local
1855 class_def_index, in BuildInstanceFieldAccess()
1870 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() local
1877 class_def_index, in BuildInstanceFieldAccess()
2005 uint16_t class_def_index = klass->GetDexClassDefIndex(); in BuildStaticFieldAccess() local
2017 class_def_index, in BuildStaticFieldAccess()
2027 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.cc1854 uint16_t class_def_index = cls->GetDexClassDefIndex(); in CanAssumeInitialized() local
1855 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()