Home
last modified time | relevance | path

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

123

/art/libdexfile/dex/
Ddex_file_verifier.cc590 (reinterpret_cast<const dex::FieldId*>(begin_ + header_->field_ids_off_) + idx)->class_idx_; in CheckClassDataItemField()
631 dex::TypeIndex my_class_index = method_id.class_idx_; in CheckClassDataItemMethod()
926 class_idx_; in FindClassIndexAndDef()
930 class_idx_; in FindClassIndexAndDef()
944 if (class_def->class_idx_ == *class_type_index) { in FindClassIndexAndDef()
2128 return field->class_idx_; in FindFirstClassDataDefiner()
2136 return method->class_idx_; in FindFirstClassDataDefiner()
2152 return field->class_idx_; in FindFirstAnnotationsDirectoryDefiner()
2159 return method->class_idx_; in FindFirstAnnotationsDirectoryDefiner()
2166 return method->class_idx_; in FindFirstAnnotationsDirectoryDefiner()
[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.cc220 if (class_def.class_idx_ == type_idx) { in FindClassDef()
251 if (class_idx > field.class_idx_) { in FindFieldId()
253 } else if (class_idx < field.class_idx_) { in FindFieldId()
286 if (class_idx > method.class_idx_) { in FindMethodId()
288 } 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.h111 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor()
151 return StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor()
Ddex_file_verifier.h250 std::unordered_set<decltype(dex::ClassDef::class_idx_)> defined_classes_;
Dclass_accessor-inl.h238 return dex_file_.GetClassDef(class_def_index_).class_idx_; in GetClassIdx()
/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/tools/veridex/
Dhidden_api.cc81 ss << dex_file.StringByTypeIdx(method_id.class_idx_) in GetApiMethodName()
91 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/profman/
Dboot_image_profile.cc65 inferred_classes.emplace(profile.get(), ref.GetMethodId().class_idx_); in GenerateBootImageProfile()
/art/dex2oat/driver/
Dcompiler_driver-inl.h62 return ResolveClass(soa, dex_cache, class_loader, referrer_method_id.class_idx_, mUnit); in ResolveCompilingMethodsClass()
/art/runtime/
Dmodule_exclusion_test.cc66 class_linker->ResolveType(class_def.class_idx_, dex_cache, class_loader); in DoTest()
Dclass_linker-inl.h278 LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in CheckInvokeClassMismatch()
292 ObjPtr<mirror::Class> klass = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in LookupResolvedMethod()
Dart_method.cc135 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_; in FindObsoleteDexClassDefIndex()
244 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.cc599 fprintf(gOutFile, "class_idx : %d\n", pClassDef.class_idx_.index_); in dumpClassDef()
832 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString()
844 const char* backDescriptor = pDexFile->StringByTypeIdx(pFieldId.class_idx_); in indexString()
865 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString()
1136 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpBytecodes()
1230 const char* backDescriptor = dex_file.StringByTypeIdx(pMethodId.class_idx_); in dumpMethod()
1347 const char* backDescriptor = dex_file.StringByTypeIdx(field_id.class_idx_); in dumpField()
1436 const char* classDescriptor = pDexFile->StringByTypeIdx(pClassDef.class_idx_); in dumpClass()
/art/runtime/verifier/
Dverifier_deps.cc120 const dex::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId()
140 const dex::TypeId& klass_type_id = klass_dex.GetTypeId(klass->GetClassDef()->class_idx_); in TryGetClassDescriptorStringId()
158 dex_file.GetMethodId(dex_method_index).class_idx_, in GetMethodDeclaringClassStringId()
177 dex_file.GetFieldId(dex_field_idx).class_idx_, in GetFieldDeclaringClassStringId()
1038 : dex_file.StringByTypeIdx(field_id.class_idx_); in VerifyFields()
1101 : dex_file.StringByTypeIdx(method_id.class_idx_); in VerifyMethods()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h482 referrer->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodToCall()
677 dex::TypeIndex method_type_idx = dex_cache->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodFast()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc437 field_id.class_idx_, dex_cache, /* class_loader= */ nullptr); in PreloadDexCachesResolveField()
465 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()

123