/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 288 ++types_accessed[dex_file.GetFieldId(dex_field_idx).class_idx_.index_]; in ProcessDexFile() 302 ++types_accessed[dex_file.GetFieldId(dex_field_idx).class_idx_.index_]; in ProcessDexFile() 381 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile() 382 if (dex_file.GetMethodId(method_idx).class_idx_ == accessor.GetClassIdx()) { in ProcessDexFile() 392 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile() 393 if (dex_file.GetMethodId(method_idx).class_idx_ == accessor.GetClassIdx()) { in ProcessDexFile() 403 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile() 404 if (dex_file.GetMethodId(method_idx).class_idx_ == accessor.GetClassIdx()) { in ProcessDexFile() 414 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile() 415 if (dex_file.GetMethodId(method_idx).class_idx_ == accessor.GetClassIdx()) { in ProcessDexFile() [all …]
|
D | dexanalyze_bytecode.cc | 263 dex::TypeIndex holder_type = dex_file.GetFieldId(dex_field_idx).class_idx_; in ProcessCodeItem() 327 dex::TypeIndex holder_type = dex_file.GetFieldId(dex_field_idx).class_idx_; in ProcessCodeItem() 364 const dex::TypeIndex receiver_type = method.class_idx_; in ProcessCodeItem()
|
/art/libdexfile/dex/ |
D | dex_file_verifier.cc | 168 std::string class_name = GetClass(begin, header, field_id->class_idx_); in GetFieldDescription() 183 std::string class_name = GetClass(begin, header, method_id->class_idx_); in GetMethodDescription() 843 (reinterpret_cast<const dex::FieldId*>(begin_ + header_->field_ids_off_) + idx)->class_idx_; in CheckClassDataItemField() 874 dex::TypeIndex my_class_index = method_id.class_idx_; in CheckClassDataItemMethod() 1266 if (!CheckIndex(field_id->class_idx_.index_, header_->type_ids_size_, "field_id.class") || in CheckIntraFieldIdItem() 1282 if (!CheckIndex(method_id->class_idx_.index_, header_->type_ids_size_, "method_id.class") || in CheckIntraMethodIdItem() 1298 if (!CheckIndex(class_def->class_idx_.index_, header_->type_ids_size_, "class_def.class")) { in CheckIntraClassDefItem() 1316 DCHECK_LE(class_def->class_idx_.index_, kTypeIdLimit); in CheckIntraClassDefItem() 1318 if (defined_classes_[class_def->class_idx_.index_]) { in CheckIntraClassDefItem() 1319 ErrorStringPrintf("Redefinition of class with type idx: '%u'", class_def->class_idx_.index_); in CheckIntraClassDefItem() [all …]
|
D | dex_file_structs.h | 69 dex::TypeIndex class_idx_; // index into type_ids_ array for defining class member 90 dex::TypeIndex class_idx_; // index into type_ids_ array for defining class member 109 dex::TypeIndex class_idx_; // index into type_ids_ array for this class member
|
D | method_reference.h | 55 int descriptor_diff = strcmp(mr1.dex_file->StringByTypeIdx(mid1.class_idx_), in SlowCompare() 56 mr2.dex_file->StringByTypeIdx(mid2.class_idx_)); in SlowCompare()
|
D | art_dex_file_loader_test.cc | 266 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F() 271 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F() 281 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F() 287 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F()
|
D | type_lookup_table.cc | 51 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create() 66 const dex::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in Create()
|
D | dex_file.cc | 221 if (class_def.class_idx_ == type_idx) { in FindClassDef() 252 if (class_idx > field.class_idx_) { in FindFieldId() 254 } else if (class_idx < field.class_idx_) { in FindFieldId() 287 if (class_idx > method.class_idx_) { in FindMethodId() 289 } else if (class_idx < method.class_idx_) { in FindMethodId()
|
D | class_accessor_test.cc | 34 EXPECT_EQ(accessor.GetDescriptor(), dex_file->StringByTypeIdx(class_def.class_idx_)); in TEST_F()
|
D | dex_file-inl.h | 112 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor() 152 return StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor()
|
D | class_accessor-inl.h | 238 return dex_file_.GetClassDef(class_def_index_).class_idx_; in GetClassIdx()
|
/art/tools/veridex/ |
D | hidden_api.cc | 76 ss << dex_file.StringByTypeIdx(method_id.class_idx_) in GetApiMethodName() 86 ss << dex_file.StringByTypeIdx(field_id.class_idx_) in GetApiFieldName()
|
D | resolver.cc | 263 VeriClass* kls = GetVeriClass(method_id.class_idx_); in GetMethod() 281 VeriClass* kls = GetVeriClass(field_id.class_idx_); in GetField()
|
/art/dex2oat/driver/ |
D | compiler_driver-inl.h | 62 return ResolveClass(soa, dex_cache, class_loader, referrer_method_id.class_idx_, mUnit); in ResolveCompilingMethodsClass()
|
/art/runtime/ |
D | class_linker-inl.h | 282 LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in CheckInvokeClassMismatch() 296 ObjPtr<mirror::Class> klass = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in LookupResolvedMethod() 374 LookupResolvedType(method_id.class_idx_, in ResolveMethod() 384 cls = ResolveType(method_id.class_idx_, h_dex_cache, h_class_loader); in ResolveMethod()
|
D | module_exclusion_test.cc | 68 class_linker->ResolveType(class_def.class_idx_, dex_cache, class_loader); in DoTest()
|
D | art_method.cc | 144 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_; in FindObsoleteDexClassDefIndex() 253 const char* mid_declaring_class_descriptor = dexfile->StringByTypeIdx(mid.class_idx_); in FindDexMethodIndexInOtherDexFile()
|
/art/dexlist/ |
D | dexlist.cc | 97 const char* classDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpMethod()
|
/art/dexdump/ |
D | dexdump.cc | 638 fprintf(gOutFile, "class_idx : %d\n", pClassDef.class_idx_.index_); in dumpClassDef() 871 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString() 883 const char* backDescriptor = pDexFile->StringByTypeIdx(pFieldId.class_idx_); in indexString() 904 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString() 1175 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpBytecodes() 1269 const char* backDescriptor = dex_file.StringByTypeIdx(pMethodId.class_idx_); in dumpMethod() 1389 const char* backDescriptor = dex_file.StringByTypeIdx(field_id.class_idx_); in dumpField() 1478 const char* classDescriptor = pDexFile->StringByTypeIdx(pClassDef.class_idx_); in dumpClass()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 117 const dex::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId() 137 const dex::TypeId& klass_type_id = klass_dex.GetTypeId(klass->GetClassDef()->class_idx_); in TryGetClassDescriptorStringId() 155 dex_file.GetMethodId(dex_method_index).class_idx_, in GetMethodDeclaringClassStringId() 174 dex_file.GetFieldId(dex_field_idx).class_idx_, in GetFieldDeclaringClassStringId() 1104 : dex_file.StringByTypeIdx(field_id.class_idx_); in VerifyFields() 1167 : dex_file.StringByTypeIdx(method_id.class_idx_); in VerifyMethods()
|
/art/profman/ |
D | boot_image_profile.cc | 52 std::string type_string(dex_file->GetTypeDescriptor(dex_file->GetTypeId(id.class_idx_))); in BootImageRepresentation()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 476 referrer->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodToCall() 671 dex::TypeIndex method_type_idx = dex_cache->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodFast()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 442 field_id.class_idx_, dex_cache, /* class_loader= */ nullptr); in PreloadDexCachesResolveField() 470 method_id.class_idx_, dex_cache, /* class_loader= */ nullptr); in PreloadDexCachesResolveMethod()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 158 DCHECK_EQ(GetFieldId().class_idx_, klass.GetClassIdx()); in DexMember() 163 DCHECK_EQ(GetMethodId().class_idx_, klass.GetClassIdx()); in DexMember()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 463 header_->TypeIds()[disk_field_id.class_idx_.index_], in CreateFieldId() 473 header_->TypeIds()[disk_method_id.class_idx_.index_], in CreateMethodId() 480 const TypeId* class_type = header_->TypeIds()[disk_class_def.class_idx_.index_]; in CreateClassDef()
|