Home
last modified time | relevance | path

Searched refs:proto_id (Results 1 – 18 of 18) 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()
Dart_method-inl.h342 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeIndex() local
343 return proto_id.return_type_idx_; in GetReturnTypeIndex()
Dart_method.cc515 const auto& proto_id = dex_file->GetMethodPrototype(method_id); in EqualParameters() local
516 const dex::TypeList* proto_params = dex_file->GetProtoParameters(proto_id); in EqualParameters()
Dclass_linker.cc5788 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in ThrowSignatureCheckResolveReturnTypeException() local
5789 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in ThrowSignatureCheckResolveReturnTypeException()
9139 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType() local
9141 ResolveType(proto_id.return_type_idx_, dex_cache, class_loader))); in ResolveMethodType()
9151 const size_t num_method_args = strlen(dex_file.StringDataByIdx(proto_id.shorty_idx_)) - 1; in ResolveMethodType()
9161 DexFileParameterIterator it(dex_file, proto_id); in ResolveMethodType()
9458 const dex::ProtoId& proto_id = dex_file->GetProtoId(method_id.proto_idx_); in ResolveMethodHandleForMethod() local
9459 DexFileParameterIterator it(*dex_file, proto_id); in ResolveMethodHandleForMethod()
9473 hs.NewHandle(ResolveType(proto_id.return_type_idx_, referrer)); in ResolveMethodHandleForMethod()
/art/dexlayout/
Ddex_visualize.cc148 void DumpProtoId(const dex_ir::ProtoId* proto_id, int class_index) { in DumpProtoId() argument
149 DumpAddressRange(proto_id, class_index); in DumpProtoId()
150 if (proto_id == nullptr) { in DumpProtoId()
153 DumpStringId(proto_id->Shorty(), class_index); in DumpProtoId()
154 const dex_ir::TypeList* type_list = proto_id->Parameters(); in DumpProtoId()
160 DumpTypeId(proto_id->ReturnType(), class_index); in DumpProtoId()
Ddex_writer.cc303 for (auto& proto_id : header_->ProtoIds()) { in WriteProtoIds() local
305 ProcessOffset(stream, proto_id.get()); in WriteProtoIds()
307 stream->Skip(proto_id->GetSize()); in WriteProtoIds()
309 buffer[0] = proto_id->Shorty()->GetIndex(); in WriteProtoIds()
310 buffer[1] = proto_id->ReturnType()->GetIndex(); in WriteProtoIds()
311 buffer[2] = proto_id->Parameters() == nullptr ? 0 : proto_id->Parameters()->GetOffset(); in WriteProtoIds()
312 stream->Write(buffer, proto_id->GetSize()); in WriteProtoIds()
Ddex_ir.h88 virtual void Dispatch(const ProtoId* proto_id) = 0;
781 void SetProtoId(ProtoId* proto_id) { u_.proto_val_ = proto_id; } in SetProtoId() argument
Ddexlayout.cc464 dex_ir::ProtoId* proto_id = header->ProtoIds()[secondary_index]; in IndexString() local
465 proto = GetSignatureForProtoId(proto_id); in IndexString()
/art/libdexfile/dex/
Ddex_file.h385 const Signature GetProtoSignature(const dex::ProtoId& proto_id) const;
456 const char* GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const;
470 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId() argument
471 CHECK_GE(&proto_id, proto_ids_) << GetLocation(); in GetIndexForProtoId()
472 CHECK_LT(&proto_id, proto_ids_ + header_->proto_ids_size_) << GetLocation(); in GetIndexForProtoId()
473 return dex::ProtoIndex(&proto_id - proto_ids_); in GetIndexForProtoId()
493 const dex::TypeList* GetProtoParameters(const dex::ProtoId& proto_id) const { in GetProtoParameters() argument
494 return DataPointer<dex::TypeList>(proto_id.parameters_off_); in GetProtoParameters()
896 DexFileParameterIterator(const DexFile& dex_file, const dex::ProtoId& proto_id) in DexFileParameterIterator() argument
898 type_list_ = dex_file_.GetProtoParameters(proto_id); in DexFileParameterIterator()
Ddex_file-inl.h120 inline const Signature DexFile::GetProtoSignature(const dex::ProtoId& proto_id) const { in GetProtoSignature() argument
121 return Signature(this, proto_id); in GetProtoSignature()
155 inline const char* DexFile::GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const { in GetReturnTypeDescriptor() argument
156 return StringByTypeIdx(proto_id.return_type_idx_); in GetReturnTypeDescriptor()
160 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty() local
161 return StringDataByIdx(proto_id.shorty_idx_); in GetShorty()
Ddex_file.cc528 const ProtoId* proto_id = with_signature ? &GetProtoId(method_id.proto_idx_) : nullptr; in PrettyMethod() local
530 AppendPrettyDescriptor(StringByTypeIdx(proto_id->return_type_idx_), &result); in PrettyMethod()
538 const TypeList* params = GetProtoParameters(*proto_id); in PrettyMethod()
Ddex_file_verifier.cc1248 const dex::ProtoId* proto_id = reinterpret_cast<const dex::ProtoId*>(ptr_); in CheckIntraProtoIdItem() local
1249 if (!CheckIndex(proto_id->shorty_idx_.index_, header_->string_ids_size_, "proto_id.shorty") || in CheckIntraProtoIdItem()
1250 !CheckIndex(proto_id->return_type_idx_.index_, in CheckIntraProtoIdItem()
/art/tools/veridex/
Dflow_analysis.cc135 const dex::ProtoId& proto_id = dex_file.GetMethodPrototype(method_id); in GetReturnType() local
136 VeriClass* cls = resolver_->GetVeriClass(proto_id.return_type_idx_); in GetReturnType()
/art/compiler/optimizing/
Dgraph_visualizer.cc402 const dex::ProtoId& proto_id = dex_file.GetProtoId(load_method_type->GetProtoIndex()); in VisitLoadMethodType() local
403 StartAttributeStream("method_type") << dex_file.GetProtoSignature(proto_id); in VisitLoadMethodType()
/art/profman/
Dprofman.cc976 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in FindMethodIndex() local
977 if (proto_id == nullptr) { in FindMethodIndex()
982 dex_file->GetTypeId(class_ref.TypeIndex()), *name_id, *proto_id); in FindMethodIndex()
/art/runtime/verifier/
Dmethod_verifier.cc1721 const dex::ProtoId& proto_id = in SetTypesFromSignature() local
1723 DexFileParameterIterator iterator(*dex_file_, proto_id); in SetTypesFromSignature()
1804 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in SetTypesFromSignature()
3200 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction() local
3201 DexFileParameterIterator param_it(*dex_file_, proto_id); in CodeFlowVerifyInstruction()
3204 const char* return_descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in CodeFlowVerifyInstruction()
5023 const dex::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id); in GetMethodReturnType() local
5024 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in GetMethodReturnType()
/art/dexdump/
Ddexdump.cc1785 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite() local
1786 value = pDexFile->GetProtoSignature(proto_id).ToString(); in dumpCallSite()
/art/openjdkjvmti/
Dti_redefine.cc2577 const art::dex::ProtoId* proto_id = dex_file_->FindProtoId(method_return_idx, new_type_list); in UpdateMethods() local
2578 CHECK(proto_id != nullptr || old_type_list == nullptr); in UpdateMethods()
2581 *proto_id); in UpdateMethods()