Home
last modified time | relevance | path

Searched refs:proto_id (Results 1 – 16 of 16) sorted by relevance

/art/runtime/
Dimtable-inl.h57 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetImtHashComponents() local
61 dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_))); in GetImtHashComponents()
66 const dex::TypeList* param_types = dex_file->GetProtoParameters(proto_id); in GetImtHashComponents()
Dsdk_checker.cc70 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in ShouldDenyAccess() local
71 if (proto_id == nullptr) { in ShouldDenyAccess()
76 dex_file->FindMethodId(*declaring_type_id, *name_id, *proto_id); in ShouldDenyAccess()
Dart_method-inl.h584 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
585 return proto_id.return_type_idx_;
Dart_method.cc563 const auto& proto_id = dex_file->GetMethodPrototype(method_id); in EqualParameters() local
564 const dex::TypeList* proto_params = dex_file->GetProtoParameters(proto_id); in EqualParameters()
Dclass_linker.cc6001 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in ThrowSignatureCheckResolveReturnTypeException() local
6002 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in ThrowSignatureCheckResolveReturnTypeException()
10269 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType() local
10271 ResolveType(proto_id.return_type_idx_, dex_cache, class_loader); in ResolveMethodType()
10279 DexFileParameterIterator it(dex_file, proto_id); in ResolveMethodType()
10570 const dex::ProtoId& proto_id = dex_file->GetProtoId(method_id.proto_idx_); in ResolveMethodHandleForMethod() local
10571 DexFileParameterIterator it(*dex_file, proto_id); in ResolveMethodHandleForMethod()
10585 hs.NewHandle(ResolveType(proto_id.return_type_idx_, referrer)); in ResolveMethodHandleForMethod()
/art/libdexfile/dex/
Ddex_file-inl.h189 inline const Signature DexFile::GetProtoSignature(const dex::ProtoId& proto_id) const { in GetProtoSignature() argument
190 return Signature(this, proto_id); in GetProtoSignature()
246 inline const char* DexFile::GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const { in GetReturnTypeDescriptor() argument
247 return GetTypeDescriptor(proto_id.return_type_idx_); in GetReturnTypeDescriptor()
251 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty() local
252 return GetStringData(proto_id.shorty_idx_); in GetShorty()
261 inline std::string_view DexFile::GetShortyView(const dex::ProtoId& proto_id) const { in GetShortyView() argument
263 const char* shorty_data = GetStringDataAndUtf16Length(proto_id.shorty_idx_, &shorty_len); in GetShortyView()
Ddex_file.h492 const Signature GetProtoSignature(const dex::ProtoId& proto_id) const;
568 const char* GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const;
582 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId() argument
583 CHECK_GE(&proto_id, proto_ids_) << GetLocation(); in GetIndexForProtoId()
584 CHECK_LT(&proto_id, proto_ids_ + header_->proto_ids_size_) << GetLocation(); in GetIndexForProtoId()
585 return dex::ProtoIndex(&proto_id - proto_ids_); in GetIndexForProtoId()
605 std::string_view GetShortyView(const dex::ProtoId& proto_id) const;
607 const dex::TypeList* GetProtoParameters(const dex::ProtoId& proto_id) const { in GetProtoParameters() argument
608 return DataPointer<dex::TypeList>(proto_id.parameters_off_); in GetProtoParameters()
1034 DexFileParameterIterator(const DexFile& dex_file, const dex::ProtoId& proto_id) in DexFileParameterIterator() argument
[all …]
Ddex_file.cc665 const ProtoId* proto_id = with_signature ? &GetProtoId(method_id.proto_idx_) : nullptr; in AppendPrettyMethod() local
667 AppendPrettyDescriptor(GetTypeDescriptor(proto_id->return_type_idx_), result); in AppendPrettyMethod()
675 const TypeList* params = GetProtoParameters(*proto_id); in AppendPrettyMethod()
Ddex_file_verifier.cc1385 const dex::ProtoId* proto_id = reinterpret_cast<const dex::ProtoId*>(ptr_); in CheckIntraProtoIdItem() local
1386 if (!CheckIndex(proto_id->shorty_idx_.index_, header_->string_ids_size_, "proto_id.shorty") || in CheckIntraProtoIdItem()
1387 !CheckIndex(proto_id->return_type_idx_.index_, in CheckIntraProtoIdItem()
/art/tools/veridex/
Dflow_analysis.cc153 const dex::ProtoId& proto_id = dex_file.GetMethodPrototype(method_id); in GetReturnType() local
154 VeriClass* cls = resolver_->GetVeriClass(proto_id.return_type_idx_); in GetReturnType()
/art/compiler/optimizing/
Dgraph_visualizer.cc429 const dex::ProtoId& proto_id = dex_file.GetProtoId(load_method_type->GetProtoIndex()); in VisitLoadMethodType() local
430 StartAttributeStream("method_type") << dex_file.GetProtoSignature(proto_id); in VisitLoadMethodType()
/art/runtime/verifier/
Dmethod_verifier.cc1683 const dex::ProtoId& proto_id = in SetTypesFromSignature() local
1685 DexFileParameterIterator iterator(*dex_file_, proto_id); in SetTypesFromSignature()
1766 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in SetTypesFromSignature()
3097 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction() local
3098 DexFileParameterIterator param_it(*dex_file_, proto_id); in CodeFlowVerifyInstruction()
3101 const char* return_descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in CodeFlowVerifyInstruction()
4860 const dex::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id); in GetMethodReturnType() local
4861 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in GetMethodReturnType()
/art/profman/
Dprofman.cc1126 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in FindMethodIndex() local
1127 if (proto_id == nullptr) { in FindMethodIndex()
1132 dex_file->GetTypeId(class_ref.TypeIndex()), *name_id, *proto_id); in FindMethodIndex()
/art/dexdump/
Ddexdump.cc1856 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite() local
1857 value = pDexFile->GetProtoSignature(proto_id).ToString(); in dumpCallSite()
/art/openjdkjvmti/
Dti_redefine.cc2569 const art::dex::ProtoId* proto_id = dex_file_->FindProtoId(method_return_idx, new_type_list); in UpdateMethods() local
2570 CHECK(proto_id != nullptr || old_type_list == nullptr); in UpdateMethods()
2573 *proto_id); in UpdateMethods()
/art/oatdump/
Doatdump.cc1737 const dex::ProtoId& proto_id = dex_file->GetProtoId(dex::ProtoIndex(index)); in DumpBssMappings() local
1738 return dex_file->GetProtoSignature(proto_id).ToString(); in DumpBssMappings()