/art/runtime/ |
D | imtable-inl.h | 49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents() local 52 *class_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodDeclaringClassDescriptor(method_id)); in GetImtHashComponents() 55 *name_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodName(method_id)); in GetImtHashComponents() 57 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetImtHashComponents()
|
D | art_method-inl.h | 219 const dex::MethodId& method_id = GetDexFile()->GetMethodId(GetDexMethodIndex()); in ResolveNameString() local 220 return Runtime::Current()->GetClassLinker()->ResolveString(method_id.name_idx_, this); in ResolveNameString() 339 const dex::MethodId& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in GetReturnTypeIndex() local 340 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeIndex()
|
D | hidden_api.cc | 153 const dex::MethodId& method_id = dex_file.GetMethodId(method.GetIndex()); in MemberSignature() local 154 class_name_ = dex_file.GetMethodDeclaringClassDescriptor(method_id); in MemberSignature() 155 member_name_ = dex_file.GetMethodName(method_id); in MemberSignature() 156 type_signature_ = dex_file.GetMethodSignature(method_id).ToString(); in MemberSignature()
|
D | class_linker-inl.h | 276 const dex::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch() 278 LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in CheckInvokeClassMismatch() 291 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod() local 292 ObjPtr<mirror::Class> klass = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in LookupResolvedMethod()
|
D | debugger.h | 406 static std::string GetMethodName(JDWP::MethodId method_id) 408 static bool IsMethodObsolete(JDWP::MethodId method_id) 419 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id, 425 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value, 431 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id, 650 JDWP::MethodId method_id, uint32_t arg_count,
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 74 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty() local 75 return dex_file_->GetMethodShorty(method_id); in GetShorty() 79 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty() local 80 return dex_file_->GetMethodShorty(method_id, shorty_len); in GetShorty()
|
/art/tools/veridex/ |
D | resolver.cc | 50 const dex::MethodId& method_id, in HasSameNameAndSignature() argument 53 return strcmp(method_name, dex_file.GetMethodName(method_id)) == 0 && in HasSameNameAndSignature() 54 strcmp(type, dex_file.GetMethodSignature(method_id).ToString().c_str()) == 0; in HasSameNameAndSignature() 58 const dex::MethodId& method_id, in HasSameNameAndSignature() argument 61 return strcmp(method_name, dex_file.GetMethodName(method_id)) == 0 && in HasSameNameAndSignature() 62 dex_file.GetMethodSignature(method_id) == signature; in HasSameNameAndSignature() 262 const dex::MethodId& method_id = dex_file_.GetMethodId(method_index); in GetMethod() local 263 VeriClass* kls = GetVeriClass(method_id.class_idx_); in GetMethod() 269 dex_file_.GetMethodName(method_id), in GetMethod() 270 dex_file_.GetMethodSignature(method_id)); in GetMethod()
|
D | hidden_api.cc | 80 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName() local 81 ss << dex_file.StringByTypeIdx(method_id.class_idx_) in GetApiMethodName() 83 << dex_file.GetMethodName(method_id) in GetApiMethodName() 84 << dex_file.GetMethodSignature(method_id).ToString(); in GetApiMethodName()
|
D | hidden_api_finder.cc | 32 void HiddenApiFinder::CheckMethod(uint32_t method_id, in CheckMethod() argument 37 std::string name = HiddenApi::GetApiMethodName(resolver->GetDexFile(), method_id); in CheckMethod()
|
/art/libdexfile/dex/ |
D | dex_file-inl.h | 109 inline const char* DexFile::GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) in GetMethodDeclaringClassDescriptor() argument 111 const dex::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor() 115 inline const Signature DexFile::GetMethodSignature(const dex::MethodId& method_id) const { in GetMethodSignature() argument 116 return Signature(this, GetProtoId(method_id.proto_idx_)); in GetMethodSignature() 123 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id) const { in GetMethodName() argument 124 return StringDataByIdx(method_id.name_idx_); in GetMethodName() 127 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) in GetMethodName() argument 129 return StringDataAndUtf16LengthByIdx(method_id.name_idx_, utf_length); in GetMethodName() 140 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id) const { in GetMethodShorty() argument 141 return StringDataByIdx(GetProtoId(method_id.proto_idx_).shorty_idx_); in GetMethodShorty() [all …]
|
D | art_dex_file_loader_test.cc | 128 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F() local 129 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F() 131 std::string signature(raw->GetMethodSignature(method_id).ToString()); in TEST_F() 202 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F() local 204 const char* name = raw->StringDataByIdx(method_id.name_idx_); in TEST_F() 207 std::string signature(raw->GetMethodSignature(method_id).ToString()); in TEST_F()
|
D | dex_file.h | 359 uint32_t GetIndexForMethodId(const dex::MethodId& method_id) const { in GetIndexForMethodId() argument 360 CHECK_GE(&method_id, method_ids_) << GetLocation(); in GetIndexForMethodId() 361 CHECK_LT(&method_id, method_ids_ + header_->method_ids_size_) << GetLocation(); in GetIndexForMethodId() 362 return &method_id - method_ids_; in GetIndexForMethodId() 371 const char* GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) const; 374 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype() argument 375 return GetProtoId(method_id.proto_idx_); in GetMethodPrototype() 379 const Signature GetMethodSignature(const dex::MethodId& method_id) const; 385 const char* GetMethodName(const dex::MethodId& method_id) const; 386 const char* GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) const; [all …]
|
D | dex_file.cc | 525 const MethodId& method_id = GetMethodId(method_idx); in PrettyMethod() local 527 const ProtoId* proto_id = with_signature ? &GetProtoId(method_id.proto_idx_) : nullptr; in PrettyMethod() 532 AppendPrettyDescriptor(GetMethodDeclaringClassDescriptor(method_id), &result); in PrettyMethod() 534 result += GetMethodName(method_id); in PrettyMethod()
|
/art/runtime/jni/ |
D | jni_internal.h | 60 static inline ArtMethod* DecodeArtMethod(jmethodID method_id) { in DecodeArtMethod() argument 61 return reinterpret_cast<ArtMethod*>(method_id); in DecodeArtMethod()
|
/art/dexlayout/ |
D | dex_visualize.cc | 163 void DumpMethodId(const dex_ir::MethodId* method_id, int class_index) { in DumpMethodId() argument 164 DumpAddressRange(method_id, class_index); in DumpMethodId() 165 if (method_id == nullptr) { in DumpMethodId() 168 DumpTypeId(method_id->Class(), class_index); in DumpMethodId() 169 DumpProtoId(method_id->Proto(), class_index); in DumpMethodId() 170 DumpStringId(method_id->Name(), class_index); in DumpMethodId() 199 for (dex_ir::MethodId* method_id : fixups->MethodIds()) { in DumpMethodItem() 200 DumpMethodId(method_id, class_index); in DumpMethodItem()
|
D | dexlayout.cc | 423 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString() local 424 const char* name = method_id->Name()->Data(); in IndexString() 425 std::string type_descriptor = GetSignatureForProtoId(method_id->Proto()); in IndexString() 426 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString() 456 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString() local 457 const char* name = method_id->Name()->Data(); in IndexString() 458 std::string type_descriptor = GetSignatureForProtoId(method_id->Proto()); in IndexString() 459 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString() 550 dex_ir::MethodId* method_id = data->GetMethodId(); in DumpEncodedValue() local 551 fputs(method_id->Name()->Data(), out_file_); in DumpEncodedValue() [all …]
|
D | compact_dex_writer.cc | 61 const dex_ir::MethodId* method_id = method.GetMethodId(); in WriteDebugInfoOffsetTable() local 65 const uint32_t method_idx = method_id->GetIndex(); in WriteDebugInfoOffsetTable() 249 const dex_ir::MethodId* method_id = method.GetMethodId(); in SortDebugInfosByMethodIndex() local 253 method_idx_map.insert(std::make_pair(debug_item, method_id->GetIndex())); in SortDebugInfosByMethodIndex()
|
D | dex_ir.h | 90 virtual void Dispatch(const MethodId* method_id) = 0; 743 MethodItem(uint32_t access_flags, const MethodId* method_id, CodeItem* code) in MethodItem() argument 744 : access_flags_(access_flags), method_id_(method_id), code_(code) { } in MethodItem() 783 void SetMethodId(MethodId* method_id) { u_.method_val_ = method_id; } in SetMethodId() argument 1176 MethodAnnotation(MethodId* method_id, AnnotationSetItem* annotation_set_item) in MethodAnnotation() argument 1177 : method_id_(method_id), annotation_set_item_(annotation_set_item) { } in MethodAnnotation() 1193 ParameterAnnotation(MethodId* method_id, AnnotationSetRefList* annotations) in ParameterAnnotation() argument 1194 : method_id_(method_id), annotations_(annotations) { } in ParameterAnnotation()
|
D | dex_ir_builder.cc | 209 MethodId* method_id, 755 MethodId* method_id = header_->MethodIds()[methods[i].method_idx_]; in CreateAnnotationsDirectoryItem() local 762 method_id, annotation_set_item)); in CreateAnnotationsDirectoryItem() 771 MethodId* method_id = header_->MethodIds()[parameters[i].method_idx_]; in CreateAnnotationsDirectoryItem() local 775 GenerateParameterAnnotation(dex_file, method_id, list, parameters[i].annotations_off_))); in CreateAnnotationsDirectoryItem() 1226 MethodId* method_id = header_->MethodIds()[method.GetIndex()]; in GenerateMethodItem() local 1235 return MethodItem(access_flags, method_id, code_item); in GenerateMethodItem() 1240 MethodId* method_id, in GenerateParameterAnnotation() argument 1258 return new ParameterAnnotation(method_id, set_ref_list); in GenerateParameterAnnotation()
|
/art/test/661-oat-writer-layout/ |
D | info.txt | 4 MethodHotness bitmask (and sub-sorts by class_def_idx, then method_id).
|
/art/runtime/jdwp/ |
D | jdwp_handler.cc | 49 std::string DescribeMethod(const MethodId& method_id) { in DescribeMethod() argument 50 return StringPrintf("%#" PRIx64 " (%s)", method_id, Dbg::GetMethodName(method_id).c_str()); in DescribeMethod() 90 RefTypeId class_id, MethodId method_id, bool is_constructor) in RequestInvoke() argument 99 class_id, method_id, Dbg::GetClassName(class_id).c_str(), in RequestInvoke() 100 Dbg::GetMethodName(method_id).c_str()); in RequestInvoke() 119 class_id, method_id, arg_count, in RequestInvoke() 654 MethodId method_id = request->ReadMethodId(); in CT_InvokeMethod() local 656 return RequestInvoke(state, request, thread_id, 0, class_id, method_id, false); in CT_InvokeMethod() 671 MethodId method_id = request->ReadMethodId(); in CT_NewInstance() local 678 return RequestInvoke(state, request, thread_id, object_id, class_id, method_id, true); in CT_NewInstance() [all …]
|
D | jdwp_main.cc | 756 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) in operator <<() 762 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && in operator ==()
|
/art/dalvikvm/ |
D | dalvikvm.cc | 32 static bool IsMethodPublic(JNIEnv* env, jclass c, jmethodID method_id) { in IsMethodPublic() argument 33 ScopedLocalRef<jobject> reflected(env, env->ToReflectedMethod(c, method_id, JNI_FALSE)); in IsMethodPublic()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 889 const dex::MethodId& method_id = dex_file.GetMethodId(method.GetDexMethodIndex()); in Dump() local 891 << dex_file.GetMethodDeclaringClassDescriptor(method_id) << "->" in Dump() 892 << dex_file.GetMethodName(method_id) in Dump() 893 << dex_file.GetMethodSignature(method_id).ToString() in Dump() 1077 const dex::MethodId& method_id = dex_file.GetMethodId(index); in GetMethodDescription() local 1078 return std::string(dex_file.GetMethodDeclaringClassDescriptor(method_id)) in GetMethodDescription() 1080 + dex_file.GetMethodName(method_id) in GetMethodDescription() 1081 + dex_file.GetMethodSignature(method_id).ToString(); in GetMethodDescription() 1093 const dex::MethodId& method_id = dex_file.GetMethodId(entry.GetDexMethodIndex()); in VerifyMethods() local 1095 const char* name = dex_file.GetMethodName(method_id); in VerifyMethods() [all …]
|
/art/runtime/mirror/ |
D | class.cc | 498 const dex::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); in FindInterfaceMethod() local 499 std::string_view name = dex_file.StringViewByIdx(method_id.name_idx_); in FindInterfaceMethod() 500 const Signature signature = dex_file.GetMethodSignature(method_id); in FindInterfaceMethod() 625 const dex::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); in FindClassMethod() local 626 const Signature signature = dex_file.GetMethodSignature(method_id); in FindClassMethod() 633 name = dex_file.GetMethodName(method_id, &length); in FindClassMethod() 657 if (cmp_method_id.name_idx_ == method_id.name_idx_ && in FindClassMethod() 658 cmp_method_id.proto_idx_ == method_id.proto_idx_) { in FindClassMethod() 665 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod() 693 name = dex_file.StringDataByIdx(method_id.name_idx_); in FindClassMethod()
|