/art/runtime/ |
D | dex_file.h | 643 uint16_t GetIndexForClassDef(const ClassDef& class_def) const { in GetIndexForClassDef() argument 644 CHECK_GE(&class_def, class_defs_) << GetLocation(); in GetIndexForClassDef() 645 CHECK_LT(&class_def, class_defs_ + header_->class_defs_size_) << GetLocation(); in GetIndexForClassDef() 646 return &class_def - class_defs_; in GetIndexForClassDef() 650 const char* GetClassDescriptor(const ClassDef& class_def) const { in GetClassDescriptor() argument 651 return StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor() 661 const TypeList* GetInterfacesList(const ClassDef& class_def) const { in GetInterfacesList() argument 662 if (class_def.interfaces_off_ == 0) { in GetInterfacesList() 665 const byte* addr = begin_ + class_def.interfaces_off_; in GetInterfacesList() 671 const byte* GetClassData(const ClassDef& class_def) const { in GetClassData() argument [all …]
|
D | dex_file.cc | 442 const ClassDef& class_def = GetClassDef(i); in FindClassDef() local 443 if (class_def.class_idx_ == type_idx) { in FindClassDef() 444 return &class_def; in FindClassDef() 461 const ClassDef& class_def = GetClassDef(i); in FindClassDef() local 462 const char* descriptor = GetClassDescriptor(class_def); in FindClassDef() 463 index->Insert(std::make_pair(descriptor, &class_def)); in FindClassDef() 474 const ClassDef& class_def = GetClassDef(i); in FindClassDef() local 475 if (class_def.class_idx_ == type_idx) { in FindClassDef() 476 return &class_def; in FindClassDef() 1125 const DexFile::ClassDef& class_def) in EncodedStaticFieldValueIterator() argument [all …]
|
D | dex_file_test.cc | 232 const DexFile::ClassDef& class_def = raw->GetClassDef(0); in TEST_F() local 233 ASSERT_STREQ("LGetMethodSignature;", raw->GetClassDescriptor(class_def)); in TEST_F() 235 const byte* class_data = raw->GetClassData(class_def); in TEST_F()
|
D | class_linker.cc | 2360 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in GetOatMethodIndexFromMethodIndex() local 2361 const byte* class_data = dex_file.GetClassData(class_def); in GetOatMethodIndexFromMethodIndex() 4623 const DexFile::ClassDef& class_def, in CheckSuperClassChange() argument 4641 const DexFile::ClassDef* super_class_def = dex_file.FindClassDef(class_def.superclass_idx_); in CheckSuperClassChange() 4675 const DexFile::ClassDef& class_def = dex_file.GetClassDef(klass->GetDexClassDefIndex()); in LoadSuperAndInterfaces() local 4676 uint16_t super_class_idx = class_def.superclass_idx_; in LoadSuperAndInterfaces() 4693 if (!CheckSuperClassChange(klass, dex_file, class_def, super_class)) { in LoadSuperAndInterfaces() 4698 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); in LoadSuperAndInterfaces()
|
D | class_linker_test.cc | 348 const DexFile::ClassDef& class_def = dex->GetClassDef(i); in AssertDexFile() local 349 const char* descriptor = dex->GetClassDescriptor(class_def); in AssertDexFile()
|
/art/runtime/verifier/ |
D | method_verifier_test.cc | 49 const DexFile::ClassDef& class_def = dex->GetClassDef(i); in VerifyDexFile() local 50 const char* descriptor = dex->GetClassDescriptor(class_def); in VerifyDexFile()
|
D | method_verifier.h | 146 const DexFile::ClassDef* class_def, 154 const DexFile::ClassDef* class_def, 207 Handle<mirror::ClassLoader>* class_loader, const DexFile::ClassDef* class_def, in MethodVerifier() argument 211 : MethodVerifier(dex_file, dex_cache, class_loader, class_def, code_item, method_idx, method, in MethodVerifier() 245 Handle<mirror::ClassLoader>* class_loader, const DexFile::ClassDef* class_def,
|
D | method_verifier.cc | 116 const DexFile::ClassDef* class_def = klass->GetClassDef(); in VerifyClass() local 125 } else if (class_def == nullptr) { in VerifyClass() 140 return VerifyClass(&dex_file, dex_cache, class_loader, class_def, allow_soft_failures, error); in VerifyClass() 146 const DexFile::ClassDef* class_def, in VerifyClass() argument 149 DCHECK(class_def != nullptr); in VerifyClass() 150 const byte* class_data = dex_file->GetClassData(*class_def); in VerifyClass() 172 InvokeType type = it.GetMethodInvokeType(*class_def); in VerifyClass() 185 class_def, in VerifyClass() 198 *error += PrettyDescriptor(dex_file->GetClassDescriptor(*class_def)); in VerifyClass() 216 InvokeType type = it.GetMethodInvokeType(*class_def); in VerifyClass() [all …]
|
/art/compiler/ |
D | oat_test.cc | 155 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); in TEST_F() local 156 const byte* class_data = dex_file->GetClassData(class_def); in TEST_F() 162 const char* descriptor = dex_file->GetClassDescriptor(class_def); in TEST_F()
|
D | image_test.cc | 175 const DexFile::ClassDef& class_def = dex->GetClassDef(i); in TEST_F() local 176 const char* descriptor = dex->GetClassDescriptor(class_def); in TEST_F()
|
D | oat_writer.cc | 708 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in VisitDexMethods() local 709 const byte* class_data = dex_file->GetClassData(class_def); in VisitDexMethods()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 521 const DexFile::ClassDef& class_def) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetDexToDexCompilationlevel() argument 522 const char* descriptor = dex_file.GetClassDescriptor(class_def); in GetDexToDexCompilationlevel() 581 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_idx); in CompileOne() local 586 class_def); in CompileOne() 1615 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in ResolveClassFieldsAndMethods() local 1622 mirror::Class* klass = class_linker->ResolveType(dex_file, class_def.class_idx_, dex_cache, in ResolveClassFieldsAndMethods() 1641 const byte* class_data = dex_file.GetClassData(class_def); in ResolveClassFieldsAndMethods() 1677 it.GetMethodInvokeType(class_def)); in ResolveClassFieldsAndMethods() 1687 it.GetMethodInvokeType(class_def)); in ResolveClassFieldsAndMethods() 1769 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in VerifyClass() local [all …]
|
D | compiler_driver_test.cc | 81 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); in MakeDexFileExecutable() local 82 const char* descriptor = dex_file.GetClassDescriptor(class_def); in MakeDexFileExecutable()
|
/art/oatdump/ |
D | oatdump.cc | 288 const DexFile::ClassDef* class_def = in GetQuickOatCode() local 290 if (class_def != nullptr) { in GetQuickOatCode() 291 uint16_t class_def_index = dex_file->GetIndexForClassDef(*class_def); in GetQuickOatCode() 321 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in AddAllOffsets() local 323 const byte* class_data = dex_file->GetClassData(class_def); in AddAllOffsets() 379 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in DumpOatDexFile() local 380 const char* descriptor = dex_file->GetClassDescriptor(class_def); in DumpOatDexFile() 384 class_def_index, descriptor, oat_class_offset, class_def.class_idx_) in DumpOatDexFile() 390 if (!DumpOatClass(indented_os, oat_class, *(dex_file.get()), class_def)) { in DumpOatDexFile() 409 const DexFile::ClassDef& class_def) { in DumpOatClass() argument [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 466 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in VMRuntime_preloadDexCaches() local 467 const byte* class_data = dex_file->GetClassData(class_def); in VMRuntime_preloadDexCaches() 482 InvokeType invoke_type = it.GetMethodInvokeType(class_def); in VMRuntime_preloadDexCaches() 487 InvokeType invoke_type = it.GetMethodInvokeType(class_def); in VMRuntime_preloadDexCaches()
|
D | dalvik_system_DexFile.cc | 222 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); in DexFile_getClassNameList() local 223 const char* descriptor = dex_file->GetClassDescriptor(class_def); in DexFile_getClassNameList()
|
/art/runtime/mirror/ |
D | class.cc | 806 const DexFile::ClassDef* class_def = GetClassDef(); in GetInterfaceTypeList() local 807 if (class_def == nullptr) { in GetInterfaceTypeList() 810 return GetDexFile().GetInterfacesList(*class_def); in GetInterfaceTypeList()
|
/art/runtime/gc/ |
D | heap.cc | 581 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_idx); in SafeGetClassDescriptor() local 582 const DexFile::TypeId& type_id = dex_file->GetTypeId(class_def.class_idx_); in SafeGetClassDescriptor()
|