/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 | dex_file-inl.h | 134 return StringDataByIdx(GetMethodId(idx).name_idx_); in GetMethodName() 138 return StringDataAndUtf16LengthByIdx(GetMethodId(idx).name_idx_, utf_length); in GetMethodName() 142 return StringDataByIdx(GetProtoId(GetMethodId(idx).proto_idx_).shorty_idx_); in GetMethodShorty() 353 DexFileParameterIterator it(*this, GetMethodPrototype(GetMethodId(method_idx))); in DecodeDebugLocalInfo() 359 GetMethodDeclaringClassDescriptor(GetMethodId(method_idx)), in DecodeDebugLocalInfo()
|
D | art_dex_file_loader_test.cc | 137 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F() 211 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F() 274 const dex::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
|
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()
|
/art/runtime/ |
D | art_method-inl.h | 173 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() 253 return dex_file->GetMethodPrototype(dex_file->GetMethodId(GetDexMethodIndex())); in GetPrototype() 260 dex_file->GetMethodId(GetDexMethodIndex())); in GetParameterTypeList() 349 const dex::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnTypeIndex()
|
D | art_method.cc | 147 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_; in FindObsoleteDexClassDefIndex() 194 const dex::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature() 196 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 200 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 247 const dex::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile() 248 const dex::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile() 515 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in EqualParameters()
|
D | imtable-inl.h | 49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
|
D | class_linker-inl.h | 280 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() 323 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in GetResolvedMethod() 381 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in ResolveMethod()
|
/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/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 | 60 const dex_ir::MethodId* method_id = method.GetMethodId(); in WriteDebugInfoOffsetTable() 247 const dex_ir::MethodId* method_id = method.GetMethodId(); in SortDebugInfosByMethodIndex() 347 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 | 144 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) in TEST_F() 145 << " " << dex.GetMethodName(dex.GetMethodId(i)); in TEST_F() 147 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) << " " in TEST_F() 148 << 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/compiler/optimizing/ |
D | builder.cc | 161 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); in BuildIntrinsicGraph()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 176 DCHECK_EQ(GetMethodId().class_idx_, klass.GetClassIdx()); in DexMember() 216 return IsMethod() ? item_.GetDexFile().GetMethodName(GetMethodId()) in GetName() 221 return IsMethod() ? item_.GetDexFile().GetMethodSignature(GetMethodId()).ToString() in GetSignature() 230 inline const dex::MethodId& GetMethodId() const { in GetMethodId() function in art::hiddenapi::DexMember 232 return item_.GetDexFile().GetMethodId(item_.GetIndex()); in GetMethodId()
|
/art/dexlist/ |
D | dexlist.cc | 95 const dex::MethodId& pMethodId = pDexFile->GetMethodId(idx); in dumpMethod()
|
/art/dexdump/ |
D | dexdump.cc | 540 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()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 173 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); in artCriticalNativeFrameSize()
|