Home
last modified time | relevance | path

Searched refs:class_idx_ (Results 1 – 25 of 51) sorted by relevance

123

/art/tools/dexanalyze/
Ddexanalyze_experiments.cc288 ++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 …]
Ddexanalyze_bytecode.cc263 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/
Ddex_file_verifier.cc168 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 …]
Ddex_file_structs.h69 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
Dmethod_reference.h55 int descriptor_diff = strcmp(mr1.dex_file->StringByTypeIdx(mid1.class_idx_), in SlowCompare()
56 mr2.dex_file->StringByTypeIdx(mid2.class_idx_)); in SlowCompare()
Dart_dex_file_loader_test.cc266 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()
Dtype_lookup_table.cc51 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()
Ddex_file.cc221 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()
Dclass_accessor_test.cc34 EXPECT_EQ(accessor.GetDescriptor(), dex_file->StringByTypeIdx(class_def.class_idx_)); in TEST_F()
Ddex_file-inl.h112 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor()
152 return StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor()
Dclass_accessor-inl.h238 return dex_file_.GetClassDef(class_def_index_).class_idx_; in GetClassIdx()
/art/tools/veridex/
Dhidden_api.cc76 ss << dex_file.StringByTypeIdx(method_id.class_idx_) in GetApiMethodName()
86 ss << dex_file.StringByTypeIdx(field_id.class_idx_) in GetApiFieldName()
Dresolver.cc263 VeriClass* kls = GetVeriClass(method_id.class_idx_); in GetMethod()
281 VeriClass* kls = GetVeriClass(field_id.class_idx_); in GetField()
/art/dex2oat/driver/
Dcompiler_driver-inl.h62 return ResolveClass(soa, dex_cache, class_loader, referrer_method_id.class_idx_, mUnit); in ResolveCompilingMethodsClass()
/art/runtime/
Dclass_linker-inl.h282 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()
Dmodule_exclusion_test.cc68 class_linker->ResolveType(class_def.class_idx_, dex_cache, class_loader); in DoTest()
Dart_method.cc144 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/
Ddexlist.cc97 const char* classDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpMethod()
/art/dexdump/
Ddexdump.cc638 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/
Dverifier_deps.cc117 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/
Dboot_image_profile.cc52 std::string type_string(dex_file->GetTypeDescriptor(dex_file->GetTypeId(id.class_idx_))); in BootImageRepresentation()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h476 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/
Ddalvik_system_VMRuntime.cc442 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/
Dhiddenapi.cc158 DCHECK_EQ(GetFieldId().class_idx_, klass.GetClassIdx()); in DexMember()
163 DCHECK_EQ(GetMethodId().class_idx_, klass.GetClassIdx()); in DexMember()
/art/dexlayout/
Ddex_ir_builder.cc463 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()

123