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.cc275 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()
Ddex_file.cc221 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()
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()
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()
156 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/runtime/
Dclass_linker-inl.h282 LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in CheckInvokeClassMismatch()
295 ObjPtr<mirror::Class> klass = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in LookupResolvedMethod()
324 ObjPtr<mirror::Class> cls = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in GetResolvedMethod()
383 LookupResolvedType(method_id.class_idx_, in ResolveMethod()
393 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.cc147 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/
Dcompiler_driver-inl.h62 return ResolveClass(soa, dex_cache, class_loader, referrer_method_id.class_idx_, mUnit); in ResolveCompilingMethodsClass()
/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/profman/
Dprofman.cc813 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()
Dboot_image_profile.cc52 std::string type_string(dex_file->GetTypeDescriptor(dex_file->GetTypeId(id.class_idx_))); in BootImageRepresentation()
/art/compiler/optimizing/
Dinstruction_builder.cc61 dex_file->StringByTypeIdx(dex_file->GetMethodId(referrers_method_idx).class_idx_); in operator ()()
611 referrer_method_id.class_idx_, in InitializeParameters()
900 dex_compilation_unit.GetDexFile()->GetMethodId(method_idx).class_idx_, in ResolveMethod()
931 dex_compilation_unit.GetDexFile()->GetMethodId(method_idx).class_idx_, in ResolveMethod()
1420 if (dex_file.GetFieldId(it->VRegB_21c()).class_idx_ != klass->GetDexTypeIndex()) { in HasTrivialClinit()
2056 dex_compilation_unit_->GetDexFile()->GetFieldId(field_idx).class_idx_, in ResolveField()
2469 if (type_index != outer_class_def.class_idx_) { in LoadClassNeedsAccessCheck()
2475 outer_dex_file->StringByTypeIdx(outer_class_def.class_idx_, &outer_utf16_length); in LoadClassNeedsAccessCheck()
3589 return LookupResolvedType(method_id.class_idx_, *dex_compilation_unit_); in LookupReferrerClass()
Doptimizing_unit_test.h412 ti ? *ti : dex::TypeIndex(class_idx_++),
553 size_t class_idx_ = 42; variable
Dsharpening.cc207 referrer_dex_file->GetClassDef(dex_compilation_unit.GetClassDefIndex()).class_idx_; in ComputeLoadClassKind()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h476 referrer->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodToCall()
670 dex::TypeIndex method_type_idx = dex_cache->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodFast()

123