Home
last modified time | relevance | path

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

123

/art/test/1972-jni-id-swap-indices/src/
DMain.java37 return GetMethodId(true, k, name, "()V"); in GetId()
66 long well_known_id = GetMethodId(false, Consumer.class, "accept", "(Ljava/lang/Object;)V"); in main()
77 private static native long GetMethodId(boolean is_static, Class k, String name, String sig); in GetMethodId() method in Main
/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.h134 return StringDataAndUtf16LengthByIdx(GetMethodId(idx).name_idx_, utf_length); in GetMethodName()
138 return StringDataByIdx(GetProtoId(GetMethodId(idx).proto_idx_).shorty_idx_); in GetMethodShorty()
349 DexFileParameterIterator it(*this, GetMethodPrototype(GetMethodId(method_idx))); in DecodeDebugLocalInfo()
355 GetMethodDeclaringClassDescriptor(GetMethodId(method_idx)), in DecodeDebugLocalInfo()
Ddex_file_verifier_test.cc158 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
168 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
178 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
248 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
1414 CHECK_EQ(dex_file->GetMethodId(method_idx).name_idx_, in TEST_F()
1415 dex_file->GetMethodId(method_idx + 1).name_idx_); in TEST_F()
1416 CHECK_EQ(dex_file->GetMethodId(method_idx).proto_idx_.index_ + 1u, in TEST_F()
1417 dex_file->GetMethodId(method_idx + 1).proto_idx_.index_); in TEST_F()
1419 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/test/1973-jni-id-swap-pointer/src/
DMain.java35 return GetMethodId(true, c, name, "()V"); in GetId()
68 private static native long GetMethodId(boolean is_static, Class k, String name, String sig); in GetMethodId() method in Main
/art/runtime/
Dart_method-inl.h173 return dex_file->GetMethodDeclaringClassDescriptor(dex_file->GetMethodId(dex_method_idx)); in GetDeclaringClassDescriptor()
184 return dex_file->GetMethodShorty(dex_file->GetMethodId(GetDexMethodIndex()), out_length); in GetShorty()
192 return dex_file->GetMethodSignature(dex_file->GetMethodId(dex_method_idx)); in GetSignature()
202 return dex_file->GetMethodName(dex_file->GetMethodId(dex_method_idx)); in GetName()
213 const char* name = dex_file->GetMethodName(dex_file->GetMethodId(dex_method_idx), &length); in GetNameView()
221 const dex::MethodId& method_id = GetDexFile()->GetMethodId(GetDexMethodIndex()); in ResolveNameString()
245 return dex_file->GetMethodPrototype(dex_file->GetMethodId(GetDexMethodIndex())); in GetPrototype()
252 dex_file->GetMethodId(GetDexMethodIndex())); in GetParameterTypeList()
341 const dex::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnTypeIndex()
Dimtable-inl.h49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
Dart_method.cc144 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_; in FindObsoleteDexClassDefIndex()
193 const dex::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature()
195 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
199 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
246 const dex::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile()
247 const dex::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
514 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in EqualParameters()
Dclass_linker-inl.h280 const dex::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch()
295 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod()
372 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in ResolveMethod()
/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()
/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.cc75 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/compiler/optimizing/
Dbuilder.cc165 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); in BuildIntrinsicGraph()
/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/dexlist/
Ddexlist.cc95 const dex::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
/art/dexdump/
Ddexdump.cc540 const dex::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpEncodedValue()
724 const dex::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
735 const dex::MethodId& pMethodId = pDexFile->GetMethodId(method_idx); in dumpClassAnnotations()
868 const dex::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
901 const dex::MethodId& pMethodId = pDexFile->GetMethodId(index); in indexString()
1172 const dex::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpBytecodes()
1265 const dex::MethodId& pMethodId = dex_file.GetMethodId(method.GetIndex()); in dumpMethod()
1677 const dex::MethodId& method_id = pDexFile->GetMethodId(mh.field_or_method_idx_); in dumpMethodHandle()

123