Home
last modified time | relevance | path

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

123

/art/libdexfile/dex/
Dmethod_reference.h34 const DexFile::MethodId& GetMethodId() const { in GetMethodId() function
35 return dex_file->GetMethodId(index); in GetMethodId()
53 const DexFile::MethodId& mid1 = mr1.GetMethodId(); in SlowCompare()
54 const DexFile::MethodId& mid2 = mr2.GetMethodId(); in SlowCompare()
Ddex_file_verifier_test.cc153 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
163 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
173 DexFile::MethodId* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
245 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
1426 CHECK_EQ(dex_file->GetMethodId(method_idx).name_idx_, in TEST_F()
1427 dex_file->GetMethodId(method_idx + 1).name_idx_); in TEST_F()
1428 CHECK_EQ(dex_file->GetMethodId(method_idx).proto_idx_ + 1u, in TEST_F()
1429 dex_file->GetMethodId(method_idx + 1).proto_idx_); in TEST_F()
1431 uint32_t proto1_idx = dex_file->GetMethodId(method_idx).proto_idx_; in TEST_F()
Ddex_file-inl.h110 return StringDataByIdx(GetProtoId(GetMethodId(idx).proto_idx_).shorty_idx_); in GetMethodShorty()
395 DexFileParameterIterator it(*this, GetMethodPrototype(GetMethodId(method_idx))); in DecodeDebugLocalInfo()
401 GetMethodDeclaringClassDescriptor(GetMethodId(method_idx)), in DecodeDebugLocalInfo()
Ddex_file_tracking_registrar.cc231 const DexFile::MethodId& methodid_item = dex_file_->GetMethodId(cdit.GetMemberIndex()); in SetCodeItemRegistration()
/art/dexlayout/
Ddex_verify.cc379 if (orig_method->GetMethodId()->GetIndex() != output_method->GetMethodId()->GetIndex()) { in VerifyMethodAnnotations()
383 orig_method->GetMethodId()->GetIndex(), in VerifyMethodAnnotations()
384 output_method->GetMethodId()->GetIndex()); in VerifyMethodAnnotations()
420 if (orig_param->GetMethodId()->GetIndex() != output_param->GetMethodId()->GetIndex()) { in VerifyParameterAnnotations()
424 orig_param->GetMethodId()->GetIndex(), in VerifyParameterAnnotations()
425 output_param->GetMethodId()->GetIndex()); in VerifyParameterAnnotations()
661 if (orig->GetMethodId()->GetIndex() != output->GetMethodId()->GetIndex()) { in VerifyEncodedValue()
665 orig->GetMethodId()->GetIndex(), in VerifyEncodedValue()
666 output->GetMethodId()->GetIndex()); in VerifyEncodedValue()
807 if (orig_method->GetMethodId()->GetIndex() != output_method->GetMethodId()->GetIndex()) { in VerifyMethods()
[all …]
Ddex_ir.cc143 method_ids->push_back(collections.GetMethodId(index)); in GetIdFromInstruction()
278 item->SetMethodId(GetMethodId(method_index)); in ReadEncodedValue()
354 const DexFile::MethodId& disk_method_id = dex_file.GetMethodId(i); in CreateMethodId()
517 MethodId* method_id = GetMethodId(methods[i].method_idx_); in CreateAnnotationsDirectoryItem()
533 MethodId* method_id = GetMethodId(parameters[i].method_idx_); in CreateAnnotationsDirectoryItem()
722 MethodId* method_id = GetMethodId(cdii.GetMemberIndex()); in GenerateMethodItem()
823 field_or_method_id = GetMethodId(index); in CreateMethodHandleItem()
Ddexlayout.cc437 dex_ir::MethodId* method_id = header->GetCollections().GetMethodId(index); in IndexString()
470 dex_ir::MethodId* method_id = header->GetCollections().GetMethodId(index); in IndexString()
564 dex_ir::MethodId* method_id = data->GetMethodId(); in DumpEncodedValue()
755 const dex_ir::MethodId* method_id = method->GetMethodId(); in DumpClassAnnotations()
766 const dex_ir::MethodId* method_id = parameter->GetMethodId(); in DumpClassAnnotations()
1042 dex_ir::MethodId* method_id = header_->GetCollections().GetMethodId(idx); in DumpBytecodes()
1185 dex_ir::MethodId* method_id = header_->GetCollections().GetMethodId(idx); in DumpMethod()
1493 DumpMethod((*direct_methods)[i]->GetMethodId()->GetIndex(), in DumpClass()
1509 DumpMethod((*virtual_methods)[i]->GetMethodId()->GetIndex(), in DumpClass()
1639 const dex_ir::MethodId* method_id = method->GetMethodId(); in LayoutStringData()
[all …]
Ddex_visualize.cc178 uint32_t method_idx = method->GetMethodId()->GetIndex(); in DumpMethodItem()
187 DumpMethodId(method->GetMethodId(), class_index); in DumpMethodItem()
Dcompact_dex_writer.cc62 const dex_ir::MethodId* method_id = method->GetMethodId(); in WriteDebugInfoOffsetTable()
251 const dex_ir::MethodId* method_id = method->GetMethodId(); in SortDebugInfosByMethodIndex()
353 const uint32_t idx = method->GetMethodId()->GetIndex(); in CanGenerateCompactDex()
/art/compiler/driver/
Ddex_compilation_unit.h73 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
78 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
Dcompiler_driver_test.cc135 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) in TEST_F()
136 << " " << dex.GetMethodName(dex.GetMethodId(i)); in TEST_F()
138 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) << " " in TEST_F()
139 << dex.GetMethodName(dex.GetMethodId(i)); in TEST_F()
Dcompiler_driver-inl.h61 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass()
/art/runtime/
Dart_method-inl.h188 return dex_file->GetMethodDeclaringClassDescriptor(dex_file->GetMethodId(dex_method_idx)); in GetDeclaringClassDescriptor()
205 return dex_file->GetMethodShorty(dex_file->GetMethodId(GetDexMethodIndex<kWithoutReadBarrier>()), in GetShorty()
214 return dex_file->GetMethodSignature(dex_file->GetMethodId(dex_method_idx)); in GetSignature()
224 return dex_file->GetMethodName(dex_file->GetMethodId(dex_method_idx)); in GetName()
268 return dex_file->GetMethodPrototype(dex_file->GetMethodId(GetDexMethodIndex())); in GetPrototype()
275 dex_file->GetMethodId(GetDexMethodIndex())); in GetParameterTypeList()
364 const DexFile::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnTypeIndex()
Dart_method.cc139 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_; in FindObsoleteDexClassDefIndex()
151 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); in GetNameAsString()
199 const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
201 const DexFile::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
205 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
252 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
253 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
549 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in EqualParameters()
Dimtable-inl.h49 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
Dclass_linker-inl.h211 const DexFile::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch()
226 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod()
/art/tools/hiddenapi/
Dhiddenapi.cc103 DCHECK_EQ(it_.IsAtMethod() ? GetMethodId().class_idx_ : GetFieldId().class_idx_, in DexMember()
141 const DexFile::MethodId& mid = GetMethodId(); in GetApiEntry()
153 inline const DexFile::MethodId& GetMethodId() const { in GetMethodId() function in art::DexMember
155 return klass_.GetDexFile().GetMethodId(it_.GetMemberIndex()); in GetMethodId()
/art/tools/veridex/
Dhidden_api.cc28 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
Dresolver.cc156 const DexFile::MethodId& other_method_id = other_dex_file.GetMethodId(it.GetMemberIndex()); in LookupMethodIn()
268 const DexFile::MethodId& other_method_id = other_dex_file.GetMethodId(it.GetMemberIndex()); in LookupDeclaredMethodIn()
284 const DexFile::MethodId& method_id = dex_file_.GetMethodId(method_index); in GetMethod()
/art/runtime/mirror/
Ddex_cache_test.cc149 const DexFile::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); in TEST_F()
150 const DexFile::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); in TEST_F()
/art/profman/
Dboot_image_profile.cc64 inferred_classes.emplace(profile.get(), ref.GetMethodId().class_idx_); in GenerateBootImageProfile()
/art/runtime/dex/
Dart_dex_file_loader_test.cc130 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
203 const DexFile::MethodId& method_id = raw->GetMethodId(it.GetMemberIndex()); in TEST_F()
265 const DexFile::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
/art/compiler/optimizing/
Dbuilder.cc174 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); in BuildIntrinsicGraph()
/art/dexdump/
Ddexdump.cc503 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpEncodedValue()
695 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
706 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
858 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
891 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
1162 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpBytecodes()
1230 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
1659 const DexFile::MethodId& method_id = pDexFile->GetMethodId(mh.field_or_method_idx_); in dumpMethodHandle()
/art/dexlist/
Ddexlist.cc107 const DexFile::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()

123