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;
62 Signature(const DexFile* dex, const dex::ProtoId& proto) : dex_file_(dex), proto_id_(&proto) { in Signature()
70 const dex::ProtoId* 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.h422 const dex::ProtoId& signature) const;
432 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype()
440 const Signature GetProtoSignature(const dex::ProtoId& proto_id) const;
514 const char* GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const;
523 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId()
528 dex::ProtoIndex GetIndexForProtoId(const dex::ProtoId& proto_id) const { in GetIndexForProtoId()
535 const dex::ProtoId* FindProtoId(dex::TypeIndex return_type_idx,
538 const dex::ProtoId* FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
550 std::string_view GetShortyView(const dex::ProtoId& proto_id) const;
552 const dex::TypeList* GetProtoParameters(const dex::ProtoId& proto_id) const { in GetProtoParameters()
[all …]
Ddex_file_structs.h78 struct ProtoId { struct
85 DISALLOW_COPY_AND_ASSIGN(ProtoId); argument
Ddex_file.cc53 using dex::ProtoId;
109 proto_ids_(reinterpret_cast<const ProtoId*>(base + header_->proto_ids_off_)), in DexFile()
315 const ProtoId& signature) const { in FindMethodId()
414 const ProtoId* DexFile::FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
422 const ProtoId& proto = GetProtoId(proto_idx); in FindProtoId()
578 const ProtoId* proto_id = with_signature ? &GetProtoId(method_id.proto_idx_) : nullptr; in AppendPrettyMethod()
Ddex_file-inl.h138 inline const Signature DexFile::GetProtoSignature(const dex::ProtoId& proto_id) const { in GetProtoSignature()
187 inline const char* DexFile::GetReturnTypeDescriptor(const dex::ProtoId& proto_id) const { in GetReturnTypeDescriptor()
192 const dex::ProtoId& proto_id = GetProtoId(proto_idx); in GetShorty()
197 inline std::string_view DexFile::GetShortyView(const dex::ProtoId& proto_id) const { in GetShortyView()
Dart_dex_file_loader_test.cc310 const dex::ProtoId& to_find = java_lang_dex_file_->GetProtoId(dex::ProtoIndex(i)); in TEST_F()
318 const dex::ProtoId* found = in TEST_F()
330 const dex::ProtoId& signature = java_lang_dex_file_->GetProtoId(to_find.proto_idx_); in TEST_F()
Dtest_dex_file_builder.h138 uint32_t field_ids_offset = proto_ids_offset + protos_.size() * sizeof(dex::ProtoId);
188 uint32_t raw_offset = proto_ids_offset + entry.second.idx * sizeof(dex::ProtoId);
Ddex_file_verifier.cc1239 if (!CheckListSize(ptr_, 1, sizeof(dex::ProtoId), "proto_ids")) { in CheckIntraProtoIdItem()
1243 const dex::ProtoId* proto_id = reinterpret_cast<const dex::ProtoId*>(ptr_); in CheckIntraProtoIdItem()
1251 ptr_ += sizeof(dex::ProtoId); in CheckIntraProtoIdItem()
2525 const dex::ProtoId* item = reinterpret_cast<const dex::ProtoId*>(ptr_); in CheckInterProtoIdItem()
2568 const dex::ProtoId* prev = reinterpret_cast<const dex::ProtoId*>(previous_item_); in CheckInterProtoIdItem()
2601 ptr_ += sizeof(dex::ProtoId); in CheckInterProtoIdItem()
Ddex_file_verifier_test.cc1413 const dex::ProtoId& proto1 = dex_file->GetProtoId(proto1_idx); in TEST_F()
1415 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;
450 IndexedCollectionVector<ProtoId>& ProtoIds() { return proto_ids_; } in ProtoIds()
451 const IndexedCollectionVector<ProtoId>& ProtoIds() const { return proto_ids_; } in ProtoIds()
560 IndexedCollectionVector<ProtoId> proto_ids_;
660 class ProtoId : public IndexedItem {
662 ProtoId(const StringId* shorty, const TypeId* return_type, TypeList* parameters) in ProtoId() function
665 ~ProtoId() override { } in ~ProtoId()
680 DISALLOW_COPY_AND_ASSIGN(ProtoId);
707 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.h153 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.cc237 static std::string GetSignatureForProtoId(const dex_ir::ProtoId* proto) { in GetSignatureForProtoId()
531 dex_ir::ProtoId* proto_id = header->ProtoIds()[secondary_index]; in IndexString()
1152 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()
Dsdk_checker.cc68 const dex::ProtoId* proto_id = dex_file->FindProtoId(return_type_idx, param_type_idxs); in ShouldDenyAccess()
Dart_method-inl.h471 inline const dex::ProtoId& ArtMethod::GetPrototype() {
480 const dex::ProtoId& proto = dex_file->GetMethodPrototype(
573 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
Dart_method.h922 const dex::ProtoId& GetPrototype() REQUIRES_SHARED(Locks::mutator_lock_);
/art/dexdump/
Ddexdump.cc978 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(secondary_index)); in indexString()
996 const dex::ProtoId& protoId = pDexFile->GetProtoId(dex::ProtoIndex(index)); in indexString()
1809 const dex::ProtoId& method_type_id = pDexFile->GetProtoId(method_type_idx); in dumpCallSite()
1856 const dex::ProtoId& proto_id = pDexFile->GetProtoId(proto_idx); in dumpCallSite()
/art/compiler/debug/
Delf_debug_info_writer.h153 const dex::ProtoId& dex_proto = dex->GetMethodPrototype(dex_method); in Write()
/art/tools/veridex/
Dflow_analysis.cc153 const dex::ProtoId& proto_id = dex_file.GetMethodPrototype(method_id); in GetReturnType()
/art/compiler/optimizing/
Dgraph_visualizer.cc429 const dex::ProtoId& proto_id = dex_file.GetProtoId(load_method_type->GetProtoIndex()); in VisitLoadMethodType()

12