Home
last modified time | relevance | path

Searched refs:ProtoId (Results 1 – 25 of 30) sorted by relevance

12

/art/libdexfile/dex/
Dsignature.h31 struct ProtoId;
55 Signature(const DexFile* dex, const dex::ProtoId& proto) : dex_file_(dex), proto_id_(&proto) { in Signature()
63 const dex::ProtoId* const proto_id_ = nullptr;
Ddex_file.h368 const dex::ProtoId& signature) const;
374 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype()
382 const Signature GetProtoSignature(const dex::ProtoId& proto_id) const;
453 const char* GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const;
462 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId()
467 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId()
474 const dex::ProtoId* FindProtoId(dex::TypeIndex return_type_idx,
477 const dex::ProtoId* FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
490 const dex::TypeList* GetProtoParameters(const dex::ProtoId& proto_id) const { in GetProtoParameters()
846 const dex::ProtoId* const proto_ids_;
[all …]
Dmethod_reference.h66 const dex::ProtoId& prid1 = mr1.dex_file->GetProtoId(mid1.proto_idx_); in SlowCompare()
67 const dex::ProtoId& prid2 = mr2.dex_file->GetProtoId(mid2.proto_idx_); in SlowCompare()
Ddex_file_structs.h78 struct ProtoId { struct
85 DISALLOW_COPY_AND_ASSIGN(ProtoId); argument
Ddex_file.cc52 using dex::ProtoId;
116 proto_ids_(reinterpret_cast<const ProtoId*>(base + header_->proto_ids_off_)), in DexFile()
276 const ProtoId& signature) const { in FindMethodId()
365 const ProtoId* DexFile::FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
373 const ProtoId& proto = GetProtoId(proto_idx); in FindProtoId()
527 const ProtoId* proto_id = with_signature ? &GetProtoId(method_id.proto_idx_) : nullptr; in PrettyMethod()
Dart_dex_file_loader_test.cc248 const dex::ProtoId& to_find = java_lang_dex_file_->GetProtoId(dex::ProtoIndex(i)); in TEST_F()
256 const dex::ProtoId* found = in TEST_F()
268 const dex::ProtoId& signature = java_lang_dex_file_->GetProtoId(to_find.proto_idx_); in TEST_F()
Ddex_file-inl.h119 inline const Signature DexFile::GetProtoSignature(const dex::ProtoId& proto_id) const { in GetProtoSignature()
154 inline const char* DexFile::GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const { in GetReturnTypeDescriptor()
159 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty()
Ddex_file_verifier.h171 const dex::ProtoId* CheckLoadProtoId(dex::ProtoIndex idx, const char* error_fmt);
Ddex_file_verifier.cc133 const dex::ProtoId* DexFileVerifier::CheckLoadProtoId(dex::ProtoIndex idx, in CheckLoadProtoId()
1779 if (!CheckListSize(ptr_, 1, sizeof(dex::ProtoId), "proto_ids")) { in CheckIntraSectionIterate()
1782 ptr_ += sizeof(dex::ProtoId); in CheckIntraSectionIterate()
2222 const dex::ProtoId* item = reinterpret_cast<const dex::ProtoId*>(ptr_); in CheckInterProtoIdItem()
2265 const dex::ProtoId* prev = reinterpret_cast<const dex::ProtoId*>(previous_item_); in CheckInterProtoIdItem()
2298 ptr_ += sizeof(dex::ProtoId); in CheckInterProtoIdItem()
3467 const dex::ProtoId* const proto_id = CheckLoadProtoId(method_id->proto_idx_, in CheckConstructorProperties()
Dtest_dex_file_builder.h140 uint32_t field_ids_offset = proto_ids_offset + protos_.size() * sizeof(dex::ProtoId); in Build()
187 uint32_t raw_offset = proto_ids_offset + entry.second.idx * sizeof(dex::ProtoId); in Build()
Ddex_file_verifier_test.cc1418 const dex::ProtoId& proto1 = dex_file->GetProtoId(proto1_idx); in TEST_F()
1420 const dex::ProtoId& proto2 = dex_file->GetProtoId(proto2_idx); in TEST_F()
/art/dexlayout/
Ddex_ir.h60 class ProtoId; variable
88 virtual void Dispatch(const ProtoId* proto_id) = 0;
442 IndexedCollectionVector<ProtoId>& ProtoIds() { return proto_ids_; } in ProtoIds()
443 const IndexedCollectionVector<ProtoId>& ProtoIds() const { return proto_ids_; } in ProtoIds()
552 IndexedCollectionVector<ProtoId> proto_ids_;
652 class ProtoId : public IndexedItem {
654 ProtoId(const StringId* shorty, const TypeId* return_type, TypeList* parameters) in ProtoId() function
657 ~ProtoId() override { } in ~ProtoId()
672 DISALLOW_COPY_AND_ASSIGN(ProtoId);
699 MethodId(const TypeId* klass, const ProtoId* proto, const StringId* name) in MethodId()
[all …]
Ddex_verify.h39 bool VerifyId(dex_ir::ProtoId* orig, dex_ir::ProtoId* output, std::string* error_msg);
Ddexlayout.h149 const dex_ir::ProtoId* proto);
Ddex_visualize.cc148 void DumpProtoId(const dex_ir::ProtoId* proto_id, int class_index) { in DumpProtoId()
Ddex_verify.cc99 bool VerifyId(dex_ir::ProtoId* orig, dex_ir::ProtoId* output, std::string* error_msg) { in VerifyId()
Ddexlayout.cc234 static std::string GetSignatureForProtoId(const dex_ir::ProtoId* proto) { in GetSignatureForProtoId()
463 dex_ir::ProtoId* proto_id = header->ProtoIds()[secondary_index]; in IndexString()
1081 const dex_ir::ProtoId* proto) { in DumpCode()
Ddex_ir_builder.cc445 const dex::ProtoId& disk_proto_id = dex_file.GetProtoId(dex::ProtoIndex(i)); in CreateProtoId()
450 header_->ProtoIds().GetOffset() + i * ProtoId::ItemSize(), in CreateProtoId()
/art/runtime/
Dimtable-inl.h57 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetImtHashComponents()
Dart_method-inl.h240 inline const dex::ProtoId& ArtMethod::GetPrototype() { in GetPrototype()
249 const dex::ProtoId& proto = dex_file->GetMethodPrototype( in GetParameterTypeList()
340 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeIndex()
Dart_method.h598 const dex::ProtoId& GetPrototype() REQUIRES_SHARED(Locks::mutator_lock_);
/art/dexdump/
Ddexdump.cc872 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(secondary_index)); in indexString()
890 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(index)); in indexString()
1685 const dex::ProtoId& method_type_id = pDexFile->GetProtoId(method_type_idx); in dumpCallSite()
1743 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite()
/art/compiler/debug/
Delf_debug_info_writer.h152 const dex::ProtoId& dex_proto = dex->GetMethodPrototype(dex_method); in Write()
/art/tools/veridex/
Dflow_analysis.cc135 const dex::ProtoId& proto_id = dex_file.GetMethodPrototype(method_id); in GetReturnType()
/art/compiler/optimizing/
Dgraph_visualizer.cc396 const dex::ProtoId& proto_id = dex_file.GetProtoId(load_method_type->GetProtoIndex()); in VisitLoadMethodType()

12