/art/test/1972-jni-id-swap-indices/src/ |
D | Main.java | 37 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/ |
D | method_reference.h | 34 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()
|
D | art_dex_file_loader_test.cc | 128 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()
|
D | dex_file-inl.h | 134 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()
|
D | dex_file_verifier_test.cc | 158 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()
|
D | dex_file_tracking_registrar.cc | 207 const dex::MethodId& methodid_item = dex_file_->GetMethodId(method.GetIndex()); in SetCodeItemRegistration()
|
/art/test/1973-jni-id-swap-pointer/src/ |
D | Main.java | 35 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/ |
D | art_method-inl.h | 171 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()
|
D | imtable-inl.h | 49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
|
D | art_method.cc | 144 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() 532 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in EqualParameters()
|
D | class_linker-inl.h | 279 const dex::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch() 294 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod() 371 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in ResolveMethod()
|
/art/dexlayout/ |
D | dex_verify.cc | 392 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 …]
|
D | dex_visualize.cc | 178 uint32_t method_idx = method->GetMethodId()->GetIndex(); in DumpMethodItem() 187 DumpMethodId(method->GetMethodId(), class_index); in DumpMethodItem()
|
D | compact_dex_writer.cc | 61 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/ |
D | dexanalyze_experiments.cc | 226 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/ |
D | dex_compilation_unit.h | 74 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/ |
D | compiler_driver_test.cc | 146 << " " << 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()
|
D | compiler_driver-inl.h | 61 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass()
|
/art/tools/veridex/ |
D | resolver.cc | 143 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()
|
D | hidden_api.cc | 75 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
|
/art/runtime/mirror/ |
D | dex_cache_test.cc | 149 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/tools/hiddenapi/ |
D | hiddenapi.cc | 163 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/ |
D | dexlist.cc | 95 const dex::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
|
/art/compiler/optimizing/ |
D | builder.cc | 171 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); in BuildIntrinsicGraph()
|
/art/dexdump/ |
D | dexdump.cc | 501 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()
|