Home
last modified time | relevance | path

Searched refs:ProtoId (Results 1 – 25 of 29) 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;
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.h371 const dex::ProtoId& signature) const;
377 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype()
385 const Signature GetProtoSignature(const dex::ProtoId& proto_id) const;
456 const char* GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const;
465 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId()
470 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId()
477 const dex::ProtoId* FindProtoId(dex::TypeIndex return_type_idx,
480 const dex::ProtoId* FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
493 const dex::TypeList* GetProtoParameters(const dex::ProtoId& proto_id) const { in GetProtoParameters()
849 const dex::ProtoId* const proto_ids_;
[all …]
Ddex_file_structs.h78 struct ProtoId { struct
85 DISALLOW_COPY_AND_ASSIGN(ProtoId); argument
Ddex_file.cc53 using dex::ProtoId;
117 proto_ids_(reinterpret_cast<const ProtoId*>(base + header_->proto_ids_off_)), in DexFile()
277 const ProtoId& signature) const { in FindMethodId()
366 const ProtoId* DexFile::FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
374 const ProtoId& proto = GetProtoId(proto_idx); in FindProtoId()
528 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.h120 inline const Signature DexFile::GetProtoSignature(const dex::ProtoId& proto_id) const { in GetProtoSignature()
155 inline const char* DexFile::GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const { in GetReturnTypeDescriptor()
160 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty()
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.cc1244 if (!CheckListSize(ptr_, 1, sizeof(dex::ProtoId), "proto_ids")) { in CheckIntraProtoIdItem()
1248 const dex::ProtoId* proto_id = reinterpret_cast<const dex::ProtoId*>(ptr_); in CheckIntraProtoIdItem()
1256 ptr_ += sizeof(dex::ProtoId); in CheckIntraProtoIdItem()
2530 const dex::ProtoId* item = reinterpret_cast<const dex::ProtoId*>(ptr_); in CheckInterProtoIdItem()
2573 const dex::ProtoId* prev = reinterpret_cast<const dex::ProtoId*>(previous_item_); in CheckInterProtoIdItem()
2606 ptr_ += sizeof(dex::ProtoId); in CheckInterProtoIdItem()
Ddex_file_verifier_test.cc1420 const dex::ProtoId& proto1 = dex_file->GetProtoId(proto1_idx); in TEST_F()
1422 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.cc235 static std::string GetSignatureForProtoId(const dex_ir::ProtoId* proto) { in GetSignatureForProtoId()
464 dex_ir::ProtoId* proto_id = header->ProtoIds()[secondary_index]; in IndexString()
1082 const dex_ir::ProtoId* proto) { in DumpCode()
Ddex_ir_builder.cc446 const dex::ProtoId& disk_proto_id = dex_file.GetProtoId(dex::ProtoIndex(i)); in CreateProtoId()
451 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.h242 inline const dex::ProtoId& ArtMethod::GetPrototype() { in GetPrototype()
251 const dex::ProtoId& proto = dex_file->GetMethodPrototype( in GetParameterTypeList()
342 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in GetReturnTypeIndex()
Dart_method.h654 const dex::ProtoId& GetPrototype() REQUIRES_SHARED(Locks::mutator_lock_);
/art/dexdump/
Ddexdump.cc911 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(secondary_index)); in indexString()
929 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(index)); in indexString()
1727 const dex::ProtoId& method_type_id = pDexFile->GetProtoId(method_type_idx); in dumpCallSite()
1785 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.cc402 const dex::ProtoId& proto_id = dex_file.GetProtoId(load_method_type->GetProtoIndex()); in VisitLoadMethodType()
/art/profman/
Dprofman.cc976 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in FindMethodIndex()

12