Home
last modified time | relevance | path

Searched refs:proto_id (Results 1 – 19 of 19) 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.cc74 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in ShouldDenyAccess() local
75 if (proto_id == nullptr) { in ShouldDenyAccess()
80 dex_file->FindMethodId(*declaring_type_id, *name_id, *proto_id); in ShouldDenyAccess()
Dart_method-inl.h350 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeIndex() local
351 return proto_id.return_type_idx_; in GetReturnTypeIndex()
Dart_method.cc516 const auto& proto_id = dex_file->GetMethodPrototype(method_id); in EqualParameters() local
517 const dex::TypeList* proto_params = dex_file->GetProtoParameters(proto_id); in EqualParameters()
Dclass_linker.cc5650 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in ThrowSignatureCheckResolveReturnTypeException() local
5651 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in ThrowSignatureCheckResolveReturnTypeException()
9391 const dex::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType() local
9393 ResolveType(proto_id.return_type_idx_, dex_cache, class_loader))); in ResolveMethodType()
9403 const size_t num_method_args = strlen(dex_file.StringDataByIdx(proto_id.shorty_idx_)) - 1; in ResolveMethodType()
9413 DexFileParameterIterator it(dex_file, proto_id); in ResolveMethodType()
9710 const dex::ProtoId& proto_id = dex_file->GetProtoId(method_id.proto_idx_); in ResolveMethodHandleForMethod() local
9711 DexFileParameterIterator it(*dex_file, proto_id); in ResolveMethodHandleForMethod()
9725 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-inl.h120 inline const Signature DexFile::GetProtoSignature(const dex::ProtoId& proto_id) const { in GetProtoSignature() argument
121 return Signature(this, proto_id); in GetProtoSignature()
159 inline const char* DexFile::GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const { in GetReturnTypeDescriptor() argument
160 return StringByTypeIdx(proto_id.return_type_idx_); in GetReturnTypeDescriptor()
164 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty() local
165 return StringDataByIdx(proto_id.shorty_idx_); in GetShorty()
Ddex_file.h400 const Signature GetProtoSignature(const dex::ProtoId& proto_id) const;
472 const char* GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const;
486 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId() argument
487 CHECK_GE(&proto_id, proto_ids_) << GetLocation(); in GetIndexForProtoId()
488 CHECK_LT(&proto_id, proto_ids_ + header_->proto_ids_size_) << GetLocation(); in GetIndexForProtoId()
489 return dex::ProtoIndex(&proto_id - proto_ids_); in GetIndexForProtoId()
509 const dex::TypeList* GetProtoParameters(const dex::ProtoId& proto_id) const { in GetProtoParameters() argument
510 return DataPointer<dex::TypeList>(proto_id.parameters_off_); in GetProtoParameters()
918 DexFileParameterIterator(const DexFile& dex_file, const dex::ProtoId& proto_id) in DexFileParameterIterator() argument
920 type_list_ = dex_file_.GetProtoParameters(proto_id); in DexFileParameterIterator()
Ddex_file.cc547 const ProtoId* proto_id = with_signature ? &GetProtoId(method_id.proto_idx_) : nullptr; in AppendPrettyMethod() local
549 AppendPrettyDescriptor(StringByTypeIdx(proto_id->return_type_idx_), result); in AppendPrettyMethod()
557 const TypeList* params = GetProtoParameters(*proto_id); in AppendPrettyMethod()
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.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.cc1727 const dex::ProtoId& proto_id = in SetTypesFromSignature() local
1729 DexFileParameterIterator iterator(*dex_file_, proto_id); in SetTypesFromSignature()
1810 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in SetTypesFromSignature()
3176 const dex::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction() local
3177 DexFileParameterIterator param_it(*dex_file_, proto_id); in CodeFlowVerifyInstruction()
3180 const char* return_descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in CodeFlowVerifyInstruction()
4953 const dex::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id); in GetMethodReturnType() local
4954 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in GetMethodReturnType()
/art/profman/
Dprofman.cc1098 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in FindMethodIndex() local
1099 if (proto_id == nullptr) { in FindMethodIndex()
1104 dex_file->GetTypeId(class_ref.TypeIndex()), *name_id, *proto_id); in FindMethodIndex()
/art/dexdump/
Ddexdump.cc1766 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite() local
1767 value = pDexFile->GetProtoSignature(proto_id).ToString(); in dumpCallSite()
/art/openjdkjvmti/
Dti_redefine.cc2578 const art::dex::ProtoId* proto_id = dex_file_->FindProtoId(method_return_idx, new_type_list); in UpdateMethods() local
2579 CHECK(proto_id != nullptr || old_type_list == nullptr); in UpdateMethods()
2582 *proto_id); in UpdateMethods()