/art/runtime/ |
D | dex_file.h | 660 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 …]
|
D | dex_file.cc | 493 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 …]
|
D | dex_file_test.cc | 233 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()
|
D | class_linker.cc | 764 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()
|
D | class_linker_test.cc | 345 const DexFile::ClassDef& class_def = dex.GetClassDef(i); in AssertDexFile() local 346 const char* descriptor = dex.GetClassDescriptor(class_def); in AssertDexFile()
|
/art/runtime/verifier/ |
D | method_verifier_test.cc | 48 const DexFile::ClassDef& class_def = dex.GetClassDef(i); in VerifyDexFile() local 49 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, 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,
|
D | method_verifier.cc | 139 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/ |
D | oatdump.cc | 169 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/ |
D | compiler_driver.cc | 513 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 …]
|
D | compiler_driver_test.cc | 80 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); in MakeDexFileExecutable() local 81 const char* descriptor = dex_file.GetClassDescriptor(class_def); in MakeDexFileExecutable()
|
D | compiler_driver.h | 548 const DexFile::ClassDef& class_def) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/compiler/ |
D | oat_test.cc | 145 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()
|
D | image_test.cc | 180 const DexFile::ClassDef& class_def = dex->GetClassDef(i); in TEST_F() local 181 const char* descriptor = dex->GetClassDescriptor(class_def); in TEST_F()
|
D | oat_writer.cc | 953 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/ |
D | dalvik_system_VMRuntime.cc | 515 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()
|
D | dalvik_system_DexFile.cc | 276 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/ |
D | class.cc | 799 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/ |
D | heap.cc | 660 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()
|