/art/runtime/ |
D | imtable-inl.h | 57 const DexFile::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 DexFile::TypeList* param_types = dex_file->GetProtoParameters(proto_id); in GetImtHashComponents()
|
D | dex_file-inl.h | 99 inline const Signature DexFile::GetProtoSignature(const ProtoId& proto_id) const { in GetProtoSignature() argument 100 return Signature(this, proto_id); in GetProtoSignature() 124 inline const char* DexFile::GetReturnTypeDescriptor(const ProtoId& proto_id) const { in GetReturnTypeDescriptor() argument 125 return StringByTypeIdx(proto_id.return_type_idx_); in GetReturnTypeDescriptor() 129 const ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty() local 130 return StringDataByIdx(proto_id.shorty_idx_); in GetShorty()
|
D | dex_file.h | 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 { in GetIndexForProtoId() argument 785 CHECK_GE(&proto_id, proto_ids_) << GetLocation(); in GetIndexForProtoId() 786 CHECK_LT(&proto_id, proto_ids_ + header_->proto_ids_size_) << GetLocation(); in GetIndexForProtoId() 787 return &proto_id - proto_ids_; in GetIndexForProtoId() 811 const TypeList* GetProtoParameters(const ProtoId& proto_id) const { in GetProtoParameters() argument 812 if (proto_id.parameters_off_ == 0) { in GetProtoParameters() 815 const uint8_t* addr = begin_ + proto_id.parameters_off_; in GetProtoParameters() 1249 DexFileParameterIterator(const DexFile& dex_file, const DexFile::ProtoId& proto_id) in DexFileParameterIterator() argument [all …]
|
D | art_method-inl.h | 339 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeDescriptor() local 340 return dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_)); in GetReturnTypeDescriptor() 396 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnType() local 397 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in GetReturnType()
|
D | art_method.cc | 555 const auto& proto_id = dex_file->GetMethodPrototype(method_id); in EqualParameters() local 556 const DexFile::TypeList* proto_params = dex_file->GetProtoParameters(proto_id); in EqualParameters()
|
D | dex_file.cc | 920 const ProtoId* proto_id = FindProtoId(return_type_idx, param_type_indices); in CreateSignature() local 921 if (proto_id == nullptr) { in CreateSignature() 924 return Signature(this, *proto_id); in CreateSignature()
|
D | dex_file_verifier.cc | 3243 const DexFile::ProtoId* const proto_id = CheckLoadProtoId(method_id->proto_idx_, in CheckConstructorProperties() local 3245 if (proto_id == nullptr) { in CheckConstructorProperties()
|
D | class_linker.cc | 4950 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in ThrowSignatureCheckResolveReturnTypeException() local 4951 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in ThrowSignatureCheckResolveReturnTypeException() 8314 const DexFile::ProtoId& proto_id = dex_file.GetProtoId(proto_idx); in ResolveMethodType() local 8316 ResolveType(dex_file, proto_id.return_type_idx_, dex_cache, class_loader))); in ResolveMethodType() 8326 const size_t num_method_args = strlen(dex_file.StringDataByIdx(proto_id.shorty_idx_)) - 1; in ResolveMethodType() 8337 DexFileParameterIterator it(dex_file, proto_id); in ResolveMethodType()
|
/art/dexlayout/ |
D | dex_visualize.cc | 146 void DumpProtoId(const dex_ir::ProtoId* proto_id, int class_index) { in DumpProtoId() argument 147 DumpAddressRange(proto_id, class_index); in DumpProtoId() 148 if (proto_id == nullptr) { in DumpProtoId() 151 DumpStringId(proto_id->Shorty(), class_index); in DumpProtoId() 152 const dex_ir::TypeList* type_list = proto_id->Parameters(); in DumpProtoId() 158 DumpTypeId(proto_id->ReturnType(), class_index); in DumpProtoId()
|
D | dex_writer.cc | 285 for (std::unique_ptr<dex_ir::ProtoId>& proto_id : header_->GetCollections().ProtoIds()) { in WriteProtos() 286 buffer[0] = proto_id->Shorty()->GetIndex(); in WriteProtos() 287 buffer[1] = proto_id->ReturnType()->GetIndex(); in WriteProtos() 288 buffer[2] = proto_id->Parameters() == nullptr ? 0 : proto_id->Parameters()->GetOffset(); in WriteProtos() 289 Write(buffer, proto_id->GetSize(), proto_id->GetOffset()); in WriteProtos()
|
D | dex_ir.h | 83 virtual void Dispatch(const ProtoId* proto_id) = 0; 654 void SetProtoId(ProtoId* proto_id) { u_.proto_val_ = proto_id; } in SetProtoId() argument
|
D | dex_ir.cc | 368 ProtoId* proto_id = new ProtoId(GetStringId(disk_proto_id.shorty_idx_.index_), in CreateProtoId() local 371 proto_ids_.AddIndexedItem(proto_id, ProtoIdsOffset() + i * ProtoId::ItemSize(), i); in CreateProtoId()
|
D | dexlayout.cc | 473 dex_ir::ProtoId* proto_id = header->GetCollections().GetProtoId(secondary_index); in IndexString() local 474 proto = GetSignatureForProtoId(proto_id); in IndexString()
|
/art/profman/ |
D | profman.cc | 631 const DexFile::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in FindMethodIndex() local 632 if (proto_id == nullptr) { in FindMethodIndex() 637 dex_file->GetTypeId(class_ref.type_index), *name_id, *proto_id); in FindMethodIndex()
|
/art/runtime/openjdkjvmti/ |
D | ti_redefine.cc | 1355 const art::DexFile::ProtoId* proto_id = dex_file_->FindProtoId(method_return_idx, in UpdateMethods() local 1357 CHECK(proto_id != nullptr || old_type_list == nullptr); in UpdateMethods() 1360 *proto_id); in UpdateMethods()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 1744 const DexFile::ProtoId& proto_id = in SetTypesFromSignature() local 1746 DexFileParameterIterator iterator(*dex_file_, proto_id); in SetTypesFromSignature() 1825 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in SetTypesFromSignature() 3135 const DexFile::ProtoId& proto_id = dex_file_->GetProtoId(proto_idx); in CodeFlowVerifyInstruction() local 3136 DexFileParameterIterator param_it(*dex_file_, proto_id); in CodeFlowVerifyInstruction() 3139 const char* return_descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in CodeFlowVerifyInstruction() 5302 const DexFile::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id); in GetMethodReturnType() local 5303 dex::TypeIndex return_type_idx = proto_id.return_type_idx_; in GetMethodReturnType()
|
/art/dexdump/ |
D | dexdump.cc | 1722 const DexFile::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite() local 1723 value = pDexFile->GetProtoSignature(proto_id).ToString(); in dumpCallSite()
|