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.h340 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeIndex() local
341 return proto_id.return_type_idx_; in GetReturnTypeIndex()
Dart_method.cc524 const auto& proto_id = dex_file->GetMethodPrototype(method_id); in EqualParameters() local
525 const dex::TypeList* proto_params = dex_file->GetProtoParameters(proto_id); in EqualParameters()
Dclass_linker.cc5534 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in ThrowSignatureCheckResolveReturnTypeException() local
5535 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in ThrowSignatureCheckResolveReturnTypeException()
8848 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType() local
8850 ResolveType(proto_id.return_type_idx_, dex_cache, class_loader))); in ResolveMethodType()
8860 const size_t num_method_args = strlen(dex_file.StringDataByIdx(proto_id.shorty_idx_)) - 1; in ResolveMethodType()
8870 DexFileParameterIterator it(dex_file, proto_id); in ResolveMethodType()
9167 const dex::ProtoId& proto_id = dex_file->GetProtoId(method_id.proto_idx_); in ResolveMethodHandleForMethod() local
9168 DexFileParameterIterator it(*dex_file, proto_id); in ResolveMethodHandleForMethod()
9182 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.cc463 dex_ir::ProtoId* proto_id = header->ProtoIds()[secondary_index]; in IndexString() local
464 proto = GetSignatureForProtoId(proto_id); in IndexString()
/art/libdexfile/dex/
Ddex_file.h382 const Signature GetProtoSignature(const dex::ProtoId& proto_id) const;
453 const char* GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const;
467 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId() argument
468 CHECK_GE(&proto_id, proto_ids_) << GetLocation(); in GetIndexForProtoId()
469 CHECK_LT(&proto_id, proto_ids_ + header_->proto_ids_size_) << GetLocation(); in GetIndexForProtoId()
470 return dex::ProtoIndex(&proto_id - proto_ids_); in GetIndexForProtoId()
490 const dex::TypeList* GetProtoParameters(const dex::ProtoId& proto_id) const { in GetProtoParameters() argument
491 return DataPointer<dex::TypeList>(proto_id.parameters_off_); in GetProtoParameters()
893 DexFileParameterIterator(const DexFile& dex_file, const dex::ProtoId& proto_id) in DexFileParameterIterator() argument
895 type_list_ = dex_file_.GetProtoParameters(proto_id); in DexFileParameterIterator()
Ddex_file-inl.h119 inline const Signature DexFile::GetProtoSignature(const dex::ProtoId& proto_id) const { in GetProtoSignature() argument
120 return Signature(this, proto_id); in GetProtoSignature()
154 inline const char* DexFile::GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const { in GetReturnTypeDescriptor() argument
155 return StringByTypeIdx(proto_id.return_type_idx_); in GetReturnTypeDescriptor()
159 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty() local
160 return StringDataByIdx(proto_id.shorty_idx_); in GetShorty()
Ddex_file.cc527 const ProtoId* proto_id = with_signature ? &GetProtoId(method_id.proto_idx_) : nullptr; in PrettyMethod() local
529 AppendPrettyDescriptor(StringByTypeIdx(proto_id->return_type_idx_), &result); in PrettyMethod()
537 const TypeList* params = GetProtoParameters(*proto_id); in PrettyMethod()
Ddex_file_verifier.cc3467 const dex::ProtoId* const proto_id = CheckLoadProtoId(method_id->proto_idx_, in CheckConstructorProperties() local
3469 if (proto_id == nullptr) { in CheckConstructorProperties()
/art/profman/
Dprofman.cc870 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in FindMethodIndex() local
871 if (proto_id == nullptr) { in FindMethodIndex()
876 dex_file->GetTypeId(class_ref.TypeIndex()), *name_id, *proto_id); in FindMethodIndex()
/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.cc396 const dex::ProtoId& proto_id = dex_file.GetProtoId(load_method_type->GetProtoIndex()); in VisitLoadMethodType() local
397 StartAttributeStream("method_type") << dex_file.GetProtoSignature(proto_id); in VisitLoadMethodType()
/art/runtime/verifier/
Dmethod_verifier.cc1710 const dex::ProtoId& proto_id = in SetTypesFromSignature() local
1712 DexFileParameterIterator iterator(*dex_file_, proto_id); in SetTypesFromSignature()
1793 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in SetTypesFromSignature()
3192 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction() local
3193 DexFileParameterIterator param_it(*dex_file_, proto_id); in CodeFlowVerifyInstruction()
3196 const char* return_descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in CodeFlowVerifyInstruction()
5016 const dex::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id); in GetMethodReturnType() local
5017 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in GetMethodReturnType()
/art/openjdkjvmti/
Dti_redefine.cc1475 const art::dex::ProtoId* proto_id = dex_file_->FindProtoId(method_return_idx, new_type_list); in UpdateMethods() local
1476 CHECK(proto_id != nullptr || old_type_list == nullptr); in UpdateMethods()
1479 *proto_id); in UpdateMethods()
/art/dexdump/
Ddexdump.cc1743 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite() local
1744 value = pDexFile->GetProtoSignature(proto_id).ToString(); in dumpCallSite()