Searched defs:proto_id (Results 1 - 16 of 16) sorted by relevance

/art/runtime/
H A Dimtable-inl.h57 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); local
61 dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_)));
66 const DexFile::TypeList* param_types = dex_file->GetProtoParameters(proto_id);
H A Ddex_file-inl.h99 inline const Signature DexFile::GetProtoSignature(const ProtoId& proto_id) const {
100 return Signature(this, proto_id);
124 inline const char* DexFile::GetReturnTypeDescriptor(const ProtoId& proto_id) const {
125 return StringByTypeIdx(proto_id.return_type_idx_);
129 const ProtoId& proto_id = GetProtoId(proto_idx); local
130 return StringDataByIdx(proto_id.shorty_idx_);
H A Dart_method-inl.h339 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); local
340 return dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_));
396 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); local
397 dex::TypeIndex return_type_idx = proto_id.return_type_idx_;
H A Dart_method.cc555 const auto& proto_id = dex_file->GetMethodPrototype(method_id); local
556 const DexFile::TypeList* proto_params = dex_file->GetProtoParameters(proto_id);
H A Ddex_file.cc920 const ProtoId* proto_id = FindProtoId(return_type_idx, param_type_indices); local
921 if (proto_id == nullptr) {
924 return Signature(this, *proto_id);
H A Ddex_file_verifier.cc2099 ErrorStringPrintf("Out-of-order proto_id return types");
2114 ErrorStringPrintf("Out-of-order proto_id arguments");
2124 ErrorStringPrintf("Out-of-order proto_id arguments");
3243 const DexFile::ProtoId* const proto_id = CheckLoadProtoId(method_id->proto_idx_, member in class:art::DexFile
3245 if (proto_id == nullptr) {
H A Ddex_file.h670 // Looks up a method by its declaring class, name and proto_id
687 const Signature GetProtoSignature(const ProtoId& proto_id) const;
770 const char* GetReturnTypeDescriptor(const ProtoId& proto_id) const;
784 uint16_t GetIndexForProtoId(const ProtoId& proto_id) const {
785 CHECK_GE(&proto_id, proto_ids_) << GetLocation();
786 CHECK_LT(&proto_id, proto_ids_ + header_->proto_ids_size_) << GetLocation();
787 return &proto_id - proto_ids_;
811 const TypeList* GetProtoParameters(const ProtoId& proto_id) const {
812 if (proto_id.parameters_off_ == 0) {
815 const uint8_t* addr = begin_ + proto_id
1249 DexFileParameterIterator(const DexFile& dex_file, const DexFile::ProtoId& proto_id) argument
[all...]
H A Dclass_linker.cc4950 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); local
4951 dex::TypeIndex return_type_idx = proto_id.return_type_idx_;
8314 const DexFile::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); local
8316 ResolveType(dex_file, proto_id.return_type_idx_, dex_cache, class_loader)));
8326 const size_t num_method_args = strlen(dex_file.StringDataByIdx(proto_id.shorty_idx_)) - 1;
8337 DexFileParameterIterator it(dex_file, proto_id);
/art/dexlayout/
H A Ddex_visualize.cc146 void DumpProtoId(const dex_ir::ProtoId* proto_id, int class_index) { argument
147 DumpAddressRange(proto_id, class_index);
148 if (proto_id == nullptr) {
151 DumpStringId(proto_id->Shorty(), class_index);
152 const dex_ir::TypeList* type_list = proto_id->Parameters();
158 DumpTypeId(proto_id->ReturnType(), class_index);
H A Ddex_ir.cc368 ProtoId* proto_id = new ProtoId(GetStringId(disk_proto_id.shorty_idx_.index_), local
371 proto_ids_.AddIndexedItem(proto_id, ProtoIdsOffset() + i * ProtoId::ItemSize(), i);
H A Ddexlayout.cc473 dex_ir::ProtoId* proto_id = header->GetCollections().GetProtoId(secondary_index); local
474 proto = GetSignatureForProtoId(proto_id);
H A Ddex_ir.h83 virtual void Dispatch(const ProtoId* proto_id) = 0;
654 void SetProtoId(ProtoId* proto_id) { u_.proto_val_ = proto_id; } argument
/art/profman/
H A Dprofman.cc631 const DexFile::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); local
632 if (proto_id == nullptr) {
633 LOG(ERROR) << "Could not find proto_id: " << name;
637 dex_file->GetTypeId(class_ref.type_index), *name_id, *proto_id);
/art/dexdump/
H A Ddexdump.cc1722 const DexFile::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); local
1723 value = pDexFile->GetProtoSignature(proto_id).ToString();
/art/runtime/openjdkjvmti/
H A Dti_redefine.cc1355 const art::DexFile::ProtoId* proto_id = dex_file_->FindProtoId(method_return_idx, local
1357 CHECK(proto_id != nullptr || old_type_list == nullptr);
1360 *proto_id);
/art/runtime/verifier/
H A Dmethod_verifier.cc1744 const DexFile::ProtoId& proto_id = local
1746 DexFileParameterIterator iterator(*dex_file_, proto_id);
1825 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id);
3135 const DexFile::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); local
3136 DexFileParameterIterator param_it(*dex_file_, proto_id);
3139 const char* return_descriptor = dex_file_->GetReturnTypeDescriptor(proto_id);
5302 const DexFile::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id); local
5303 dex::TypeIndex return_type_idx = proto_id.return_type_idx_;

Completed in 239 milliseconds