Home
last modified time | relevance | path

Searched refs:GetMethodId (Results 1 – 25 of 63) sorted by relevance

123

/art/libdexfile/dex/
Dmethod_reference.h34 const dex::MethodId& GetMethodId() const { in GetMethodId() function
35 return dex_file->GetMethodId(index); in GetMethodId()
53 const dex::MethodId& mid1 = mr1.GetMethodId(); in SlowCompare()
54 const dex::MethodId& mid2 = mr2.GetMethodId(); in SlowCompare()
Dart_dex_file_loader_test.cc128 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
202 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
265 const dex::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
Ddex_file-inl.h133 return StringDataAndUtf16LengthByIdx(GetMethodId(idx).name_idx_, utf_length); in GetMethodName()
137 return StringDataByIdx(GetProtoId(GetMethodId(idx).proto_idx_).shorty_idx_); in GetMethodShorty()
348 DexFileParameterIterator it(*this, GetMethodPrototype(GetMethodId(method_idx))); in DecodeDebugLocalInfo()
354 GetMethodDeclaringClassDescriptor(GetMethodId(method_idx)), in DecodeDebugLocalInfo()
Ddex_file_verifier_test.cc156 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
166 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
176 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
246 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
1412 CHECK_EQ(dex_file->GetMethodId(method_idx).name_idx_, in TEST_F()
1413 dex_file->GetMethodId(method_idx + 1).name_idx_); in TEST_F()
1414 CHECK_EQ(dex_file->GetMethodId(method_idx).proto_idx_.index_ + 1u, in TEST_F()
1415 dex_file->GetMethodId(method_idx + 1).proto_idx_.index_); in TEST_F()
1417 dex::ProtoIndex proto1_idx = dex_file->GetMethodId(method_idx).proto_idx_; in TEST_F()
Ddex_file_tracking_registrar.cc207 const dex::MethodId& methodid_item = dex_file_->GetMethodId(method.GetIndex()); in SetCodeItemRegistration()
/art/runtime/
Dart_method-inl.h171 return dex_file->GetMethodDeclaringClassDescriptor(dex_file->GetMethodId(dex_method_idx)); in GetDeclaringClassDescriptor()
182 return dex_file->GetMethodShorty(dex_file->GetMethodId(GetDexMethodIndex()), out_length); in GetShorty()
190 return dex_file->GetMethodSignature(dex_file->GetMethodId(dex_method_idx)); in GetSignature()
200 return dex_file->GetMethodName(dex_file->GetMethodId(dex_method_idx)); in GetName()
211 const char* name = dex_file->GetMethodName(dex_file->GetMethodId(dex_method_idx), &length); in GetNameView()
219 const dex::MethodId& method_id = GetDexFile()->GetMethodId(GetDexMethodIndex()); in ResolveNameString()
243 return dex_file->GetMethodPrototype(dex_file->GetMethodId(GetDexMethodIndex())); in GetPrototype()
250 dex_file->GetMethodId(GetDexMethodIndex())); in GetParameterTypeList()
339 const dex::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnTypeIndex()
Dart_method.cc135 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_; in FindObsoleteDexClassDefIndex()
184 const dex::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
186 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
190 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
237 const dex::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
238 const dex::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
523 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in EqualParameters()
Dimtable-inl.h49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
Dclass_linker-inl.h276 const dex::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch()
291 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod()
/art/dexlayout/
Ddex_verify.cc392 if (orig_method->GetMethodId()->GetIndex() != output_method->GetMethodId()->GetIndex()) { in VerifyMethodAnnotations()
396 orig_method->GetMethodId()->GetIndex(), in VerifyMethodAnnotations()
397 output_method->GetMethodId()->GetIndex()); in VerifyMethodAnnotations()
433 if (orig_param->GetMethodId()->GetIndex() != output_param->GetMethodId()->GetIndex()) { in VerifyParameterAnnotations()
437 orig_param->GetMethodId()->GetIndex(), in VerifyParameterAnnotations()
438 output_param->GetMethodId()->GetIndex()); in VerifyParameterAnnotations()
674 if (orig->GetMethodId()->GetIndex() != output->GetMethodId()->GetIndex()) { in VerifyEncodedValue()
678 orig->GetMethodId()->GetIndex(), in VerifyEncodedValue()
679 output->GetMethodId()->GetIndex()); in VerifyEncodedValue()
820 if (orig_method->GetMethodId()->GetIndex() != output_method->GetMethodId()->GetIndex()) { in VerifyMethods()
[all …]
Ddex_visualize.cc178 uint32_t method_idx = method->GetMethodId()->GetIndex(); in DumpMethodItem()
187 DumpMethodId(method->GetMethodId(), class_index); in DumpMethodItem()
Dcompact_dex_writer.cc61 const dex_ir::MethodId* method_id = method.GetMethodId(); in WriteDebugInfoOffsetTable()
249 const dex_ir::MethodId* method_id = method.GetMethodId(); in SortDebugInfosByMethodIndex()
349 const uint32_t idx = method.GetMethodId()->GetIndex(); in CanGenerateCompactDex()
Ddexlayout.cc550 dex_ir::MethodId* method_id = data->GetMethodId(); in DumpEncodedValue()
740 const dex_ir::MethodId* method_id = method->GetMethodId(); in DumpClassAnnotations()
751 const dex_ir::MethodId* method_id = parameter->GetMethodId(); in DumpClassAnnotations()
1497 DumpMethod((*direct_methods)[i].GetMethodId()->GetIndex(), in DumpClass()
1514 DumpMethod((*virtual_methods)[i].GetMethodId()->GetIndex(), in DumpClass()
1643 const dex_ir::MethodId* method_id = method.GetMethodId(); in LayoutStringData()
1750 const dex_ir::MethodId *method_id = method.GetMethodId(); in LayoutCodeItems()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc226 unique_method_names.insert(dex_file->StringDataByIdx(dex_file->GetMethodId(i).name_idx_)); in ProcessDexFiles()
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()
425 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile()
[all …]
/art/compiler/driver/
Ddex_compilation_unit.h74 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
79 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
/art/dex2oat/driver/
Dcompiler_driver_test.cc146 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) in TEST_F()
147 << " " << dex.GetMethodName(dex.GetMethodId(i)); in TEST_F()
149 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) << " " in TEST_F()
150 << dex.GetMethodName(dex.GetMethodId(i)); in TEST_F()
Dcompiler_driver-inl.h61 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass()
/art/tools/veridex/
Dresolver.cc143 const dex::MethodId& other_method_id = other_dex_file.GetMethodId(method.GetIndex()); in LookupMethodIn()
249 other_dex_file.GetMethodId(method.GetIndex()), in LookupDeclaredMethodIn()
262 const dex::MethodId& method_id = dex_file_.GetMethodId(method_index); in GetMethod()
Dhidden_api.cc80 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
/art/runtime/mirror/
Ddex_cache_test.cc149 const dex::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); in TEST_F()
150 const dex::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); in TEST_F()
/art/profman/
Dboot_image_profile.cc65 inferred_classes.emplace(profile.get(), ref.GetMethodId().class_idx_); in GenerateBootImageProfile()
/art/tools/hiddenapi/
Dhiddenapi.cc163 DCHECK_EQ(GetMethodId().class_idx_, klass.GetClassIdx()); in DexMember()
203 return IsMethod() ? item_.GetDexFile().GetMethodName(GetMethodId()) in GetName()
208 return IsMethod() ? item_.GetDexFile().GetMethodSignature(GetMethodId()).ToString() in GetSignature()
217 inline const dex::MethodId& GetMethodId() const { in GetMethodId() function in art::hiddenapi::DexMember
219 return item_.GetDexFile().GetMethodId(item_.GetIndex()); in GetMethodId()
/art/compiler/optimizing/
Dbuilder.cc171 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); in BuildIntrinsicGraph()
/art/dexlist/
Ddexlist.cc95 const dex::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
/art/dexdump/
Ddexdump.cc501 const dex::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpEncodedValue()
685 const dex::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
696 const dex::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
829 const dex::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
862 const dex::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
1133 const dex::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpBytecodes()
1226 const dex::MethodId& pMethodId = dex_file.GetMethodId(method.GetIndex()); in dumpMethod()
1635 const dex::MethodId& method_id = pDexFile->GetMethodId(mh.field_or_method_idx_); in dumpMethodHandle()

123