/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 | 275 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F() 280 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F() 290 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F() 296 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F()
|
D | dex_file.cc | 221 if (class_def.class_idx_ == type_idx) { in FindClassDef() 259 if (class_idx > field.class_idx_) { in FindFieldId() 261 } else if (class_idx < field.class_idx_) { in FindFieldId() 301 if (class_idx > method.class_idx_) { in FindMethodIdByIndex() 303 } else if (class_idx < method.class_idx_) { in FindMethodIdByIndex() 316 DCHECK_EQ(class_idx, method.class_idx_); in FindMethodIdByIndex()
|
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 | class_accessor_test.cc | 34 EXPECT_EQ(accessor.GetDescriptor(), dex_file->StringByTypeIdx(class_def.class_idx_)); in TEST_F()
|
D | dex_file-inl.h | 130 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor() 184 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/runtime/ |
D | class_linker-inl.h | 285 LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in CheckInvokeClassMismatch() 299 ObjPtr<mirror::Class> klass = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in LookupResolvedMethod() 328 ObjPtr<mirror::Class> cls = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in GetResolvedMethod() 387 LookupResolvedType(method_id.class_idx_, in ResolveMethod() 397 cls = ResolveType(method_id.class_idx_, h_dex_cache, h_class_loader); in ResolveMethod() 458 klass = LookupResolvedType(method_id.class_idx_, dex_cache.Get(), class_loader.Get()); in ResolveMethod() 462 klass = ResolveType(method_id.class_idx_, dex_cache, class_loader); in ResolveMethod() 473 klass = ResolveType(method_id.class_idx_, dex_cache, class_loader); in ResolveMethod() 580 ObjPtr<mirror::Class> klass = ResolveType(field_id.class_idx_, dex_cache, class_loader); in ResolveField()
|
D | art_method.cc | 147 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_; in FindObsoleteDexClassDefIndex() 254 const char* mid_declaring_class_descriptor = dexfile->StringByTypeIdx(mid.class_idx_); in FindDexMethodIndexInOtherDexFile()
|
/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/dexlist/ |
D | dexlist.cc | 97 const char* classDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpMethod()
|
/art/dexdump/ |
D | dexdump.cc | 699 fprintf(gOutFile, "class_idx : %d\n", pClassDef.class_idx_.index_); in dumpClassDef() 938 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString() 950 const char* backDescriptor = pDexFile->StringByTypeIdx(pFieldId.class_idx_); in indexString() 971 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString() 1242 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpBytecodes() 1359 const char* backDescriptor = dex_file.StringByTypeIdx(pMethodId.class_idx_); in dumpMethod() 1479 const char* backDescriptor = dex_file.StringByTypeIdx(field_id.class_idx_); in dumpField() 1568 const char* classDescriptor = pDexFile->StringByTypeIdx(pClassDef.class_idx_); in dumpClass()
|
/art/profman/ |
D | profman.cc | 813 dex_file->GetCodeItem(dex_file->FindCodeItemOffset(*dex_file->FindClassDef(id.class_idx_), in GetInlineCacheLine() 821 auto val = ics.find(target.class_idx_); in GetInlineCacheLine() 823 val = ics.insert({ target.class_idx_, {} }).first; in GetInlineCacheLine() 884 std::string type_string(dex_file->GetTypeDescriptor(dex_file->GetTypeId(id.class_idx_))); in GetClassNamesAndMethods() 1147 if (meth.class_idx_ == target) { in GetAllInvokes() 1299 dex::TypeIndex slow_class_type = def->class_idx_; in ResolveMethod()
|
D | boot_image_profile.cc | 52 std::string type_string(dex_file->GetTypeDescriptor(dex_file->GetTypeId(id.class_idx_))); in BootImageRepresentation()
|
/art/compiler/optimizing/ |
D | optimizing_unit_test.h | 412 ti ? *ti : dex::TypeIndex(class_idx_++), 553 size_t class_idx_ = 42; variable
|
D | instruction_builder.cc | 62 dex_file->StringByTypeIdx(dex_file->GetMethodId(referrers_method_idx).class_idx_); in operator ()() 615 referrer_method_id.class_idx_, in InitializeParameters() 912 dex_compilation_unit.GetDexFile()->GetMethodId(method_idx).class_idx_, in ResolveMethod() 1564 if (dex_file.GetFieldId(it->VRegB_21c()).class_idx_ != klass->GetDexTypeIndex()) { in HasTrivialClinit() 2204 dex_compilation_unit_->GetDexFile()->GetFieldId(field_idx).class_idx_, in ResolveField() 2621 if (type_index != outer_class_def.class_idx_) { in LoadClassNeedsAccessCheck() 2627 outer_dex_file->StringByTypeIdx(outer_class_def.class_idx_, &outer_utf16_length); in LoadClassNeedsAccessCheck() 3741 return LookupResolvedType(method_id.class_idx_, *dex_compilation_unit_); in LookupReferrerClass()
|
D | sharpening.cc | 217 referrer_dex_file->GetClassDef(dex_compilation_unit.GetClassDefIndex()).class_idx_; in ComputeLoadClassKind()
|
/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()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 171 DCHECK_EQ(GetFieldId().class_idx_, klass.GetClassIdx()); in DexMember() 176 DCHECK_EQ(GetMethodId().class_idx_, klass.GetClassIdx()); in DexMember()
|