Home
last modified time | relevance | path

Searched refs:class_def (Results 1 – 19 of 19) sorted by relevance

/art/runtime/
Ddex_file.h660 uint16_t GetIndexForClassDef(const ClassDef& class_def) const { in GetIndexForClassDef() argument
661 CHECK_GE(&class_def, class_defs_) << GetLocation(); in GetIndexForClassDef()
662 CHECK_LT(&class_def, class_defs_ + header_->class_defs_size_) << GetLocation(); in GetIndexForClassDef()
663 return &class_def - class_defs_; in GetIndexForClassDef()
667 const char* GetClassDescriptor(const ClassDef& class_def) const { in GetClassDescriptor() argument
668 return StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor()
678 const TypeList* GetInterfacesList(const ClassDef& class_def) const { in GetInterfacesList() argument
679 if (class_def.interfaces_off_ == 0) { in GetInterfacesList()
682 const uint8_t* addr = begin_ + class_def.interfaces_off_; in GetInterfacesList()
688 const uint8_t* GetClassData(const ClassDef& class_def) const { in GetClassData() argument
[all …]
Ddex_file.cc493 const ClassDef& class_def = GetClassDef(i); in FindClassDef() local
494 if (class_def.class_idx_ == type_idx) { in FindClassDef()
495 return &class_def; in FindClassDef()
512 const ClassDef& class_def = GetClassDef(i); in FindClassDef() local
513 const char* class_descriptor = GetClassDescriptor(class_def); in FindClassDef()
514 index->Insert(std::make_pair(class_descriptor, &class_def)); in FindClassDef()
526 const ClassDef& class_def = GetClassDef(i); in FindClassDef() local
527 if (class_def.class_idx_ == type_idx) { in FindClassDef()
528 return &class_def; in FindClassDef()
1187 const DexFile::ClassDef& class_def) in EncodedStaticFieldValueIterator() argument
[all …]
Ddex_file_test.cc233 const DexFile::ClassDef& class_def = raw->GetClassDef(0); in TEST_F() local
234 ASSERT_STREQ("LGetMethodSignature;", raw->GetClassDescriptor(class_def)); in TEST_F()
236 const uint8_t* class_data = raw->GetClassData(class_def); in TEST_F()
Dclass_linker.cc764 const DexFile::ClassDef& class_def = dex_file->GetClassDef(static_cast<uint16_t>(index)); in GetClassDescriptor() local
765 return dex_file->StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor()
1991 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in GetOatMethodIndexFromMethodIndex() local
1992 const uint8_t* class_data = dex_file.GetClassData(class_def); in GetOatMethodIndexFromMethodIndex()
4216 const DexFile::ClassDef& class_def, in CheckSuperClassChange() argument
4244 const DexFile::ClassDef* super_class_def = dex_file.FindClassDef(class_def.superclass_idx_); in CheckSuperClassChange()
4278 const DexFile::ClassDef& class_def = dex_file.GetClassDef(klass->GetDexClassDefIndex()); in LoadSuperAndInterfaces() local
4279 uint16_t super_class_idx = class_def.superclass_idx_; in LoadSuperAndInterfaces()
4296 if (!CheckSuperClassChange(klass, dex_file, class_def, super_class)) { in LoadSuperAndInterfaces()
4301 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); in LoadSuperAndInterfaces()
Dclass_linker_test.cc345 const DexFile::ClassDef& class_def = dex.GetClassDef(i); in AssertDexFile() local
346 const char* descriptor = dex.GetClassDescriptor(class_def); in AssertDexFile()
/art/runtime/verifier/
Dmethod_verifier_test.cc48 const DexFile::ClassDef& class_def = dex.GetClassDef(i); in VerifyDexFile() local
49 const char* descriptor = dex.GetClassDescriptor(class_def); in VerifyDexFile()
Dmethod_verifier.h146 const DexFile::ClassDef* class_def,
154 const DexFile::ClassDef* class_def,
212 Handle<mirror::ClassLoader> class_loader, const DexFile::ClassDef* class_def, in MethodVerifier() argument
218 : MethodVerifier(self, dex_file, dex_cache, class_loader, class_def, code_item, method_idx, in MethodVerifier()
283 Handle<mirror::ClassLoader> class_loader, const DexFile::ClassDef* class_def,
Dmethod_verifier.cc139 const DexFile::ClassDef* class_def = klass->GetClassDef(); in VerifyClass() local
148 } else if (class_def == nullptr) { in VerifyClass()
164 self, &dex_file, dex_cache, class_loader, class_def, allow_soft_failures, error); in VerifyClass()
171 const DexFile::ClassDef* class_def, in VerifyClass() argument
174 DCHECK(class_def != nullptr); in VerifyClass()
177 if ((class_def->access_flags_ & (kAccAbstract | kAccFinal)) == (kAccAbstract | kAccFinal)) { in VerifyClass()
179 *error += PrettyDescriptor(dex_file->GetClassDescriptor(*class_def)); in VerifyClass()
184 const uint8_t* class_data = dex_file->GetClassData(*class_def); in VerifyClass()
207 InvokeType type = it.GetMethodInvokeType(*class_def); in VerifyClass()
223 class_def, in VerifyClass()
[all …]
/art/oatdump/
Doatdump.cc169 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in WalkOatDexFile() local
175 WalkOatClass(oat_class, *dex_file.get(), class_def, callback); in WalkOatDexFile()
187 const DexFile::ClassDef& class_def, Callback callback) { in WalkOatClass() argument
188 const uint8_t* class_data = dex_file.GetClassData(class_def); in WalkOatClass()
199 WalkOatMethod(class_def, class_method_idx, oat_method, dex_file, it.GetMemberIndex(), in WalkOatClass()
206 WalkOatMethod(class_def, class_method_idx, oat_method, dex_file, it.GetMemberIndex(), in WalkOatClass()
214 void WalkOatMethod(const DexFile::ClassDef& class_def, uint32_t class_method_index, in WalkOatMethod() argument
227 … (this->*callback)(class_def, class_method_index, oat_method, dex_file, dex_method_idx, code_item, in WalkOatMethod()
231 void RegisterForDedup(const DexFile::ClassDef& class_def ATTRIBUTE_UNUSED, in RegisterForDedup()
265 void AddSymbol(const DexFile::ClassDef& class_def ATTRIBUTE_UNUSED, in AddSymbol()
[all …]
/art/compiler/driver/
Dcompiler_driver.cc513 const DexFile::ClassDef& class_def) { in GetDexToDexCompilationlevel() argument
519 const char* descriptor = dex_file.GetClassDescriptor(class_def); in GetDexToDexCompilationlevel()
576 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_idx); in CompileOne() local
581 class_def); in CompileOne()
600 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_idx); in CompileMethod() local
602 GetDexToDexCompilationlevel(self, class_loader, *dex_file, class_def); in CompileMethod()
1741 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in ResolveClassFieldsAndMethods() local
1748 mirror::Class* klass = class_linker->ResolveType(dex_file, class_def.class_idx_, dex_cache, in ResolveClassFieldsAndMethods()
1767 const uint8_t* class_data = dex_file.GetClassData(class_def); in ResolveClassFieldsAndMethods()
1802 it.GetMethodInvokeType(class_def)); in ResolveClassFieldsAndMethods()
[all …]
Dcompiler_driver_test.cc80 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); in MakeDexFileExecutable() local
81 const char* descriptor = dex_file.GetClassDescriptor(class_def); in MakeDexFileExecutable()
Dcompiler_driver.h548 const DexFile::ClassDef& class_def) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/compiler/
Doat_test.cc145 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); in TEST_F() local
146 const uint8_t* class_data = dex_file.GetClassData(class_def); in TEST_F()
154 const char* descriptor = dex_file.GetClassDescriptor(class_def); in TEST_F()
Dimage_test.cc180 const DexFile::ClassDef& class_def = dex->GetClassDef(i); in TEST_F() local
181 const char* descriptor = dex->GetClassDescriptor(class_def); in TEST_F()
Doat_writer.cc953 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in VisitDexMethods() local
954 const uint8_t* class_data = dex_file->GetClassData(class_def); in VisitDexMethods()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc515 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in VMRuntime_preloadDexCaches() local
516 const uint8_t* class_data = dex_file->GetClassData(class_def); in VMRuntime_preloadDexCaches()
531 InvokeType invoke_type = it.GetMethodInvokeType(class_def); in VMRuntime_preloadDexCaches()
536 InvokeType invoke_type = it.GetMethodInvokeType(class_def); in VMRuntime_preloadDexCaches()
Ddalvik_system_DexFile.cc276 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); in DexFile_getClassNameList() local
277 const char* descriptor = dex_file->GetClassDescriptor(class_def); in DexFile_getClassNameList()
/art/runtime/mirror/
Dclass.cc799 const DexFile::ClassDef* class_def = GetClassDef(); in GetInterfaceTypeList() local
800 if (class_def == nullptr) { in GetInterfaceTypeList()
803 return GetDexFile().GetInterfacesList(*class_def); in GetInterfaceTypeList()
/art/runtime/gc/
Dheap.cc660 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_idx); in SafeGetClassDescriptor() local
661 const DexFile::TypeId& type_id = dex_file->GetTypeId(class_def.class_idx_); in SafeGetClassDescriptor()