Home
last modified time | relevance | path

Searched refs:MethodItem (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile_items.h854 class MethodItem : public BaseMethodItem {
856 MethodItem(ClassItem *cls, StringItem *name, ProtoItem *proto, uint32_t access_flags,
859 ~MethodItem() override = default;
861 DEFAULT_MOVE_SEMANTIC(MethodItem);
862 DEFAULT_COPY_SEMANTIC(MethodItem);
1074 MethodItem *AddMethod(Args... args) in AddMethod()
1077 …return methods_.insert(std::make_unique<MethodItem>(this, std::forward<Args>(args)..., container_)… in AddMethod()
1147 …bool operator()(const std::unique_ptr<MethodItem> &m1, const std::unique_ptr<MethodItem> &m2) const in operator()
1174 std::multiset<std::unique_ptr<MethodItem>, MethodCompByName> methods_;
1246 ParamAnnotationsItem(MethodItem *method, bool is_runtime_annotations);
[all …]
Dfile_items.cpp441 ParamAnnotationsItem::ParamAnnotationsItem(MethodItem *method, bool is_runtime_annotations) in ParamAnnotationsItem()
587 MethodItem::MethodItem(ClassItem *cls, StringItem *name, ProtoItem *proto, uint32_t access_flags, in MethodItem() function in panda::panda_file::MethodItem
597 size_t MethodItem::CalculateSize() const in CalculateSize()
633 bool MethodItem::WriteRuntimeAnnotations(Writer *writer) in WriteRuntimeAnnotations()
650 bool MethodItem::WriteTypeAnnotations(Writer *writer) in WriteTypeAnnotations()
667 bool MethodItem::WriteTaggedData(Writer *writer) in WriteTaggedData()
710 bool MethodItem::Write(Writer *writer) in Write()
Dfile_reader.h76 MethodItem *CreateMethodItem(ClassItem *cls, File::EntityId method_id);
Dfile_item_container.cpp261 void ItemContainer::DeduplicateDebugInfo(MethodItem *method, ItemDeduper *debug_info_deduper, in DeduplicateDebugInfo()
278 static void DeduplicateCode(MethodItem *method, ItemDeduper *code_deduper) in DeduplicateCode()
308 auto *method_item = static_cast<MethodItem *>(param_item); in DeduplicateCodeAndDebugInfo()
389 auto *method_item = static_cast<MethodItem *>(param_item); in DeduplicateAnnotations()
Dfile_item_container.h86 … static_assert(!std::is_same_v<T, MethodItem>, "Use ClassItem instance to create MethodItem"); in CreateItem()
194 void DeduplicateDebugInfo(MethodItem *method, ItemDeduper *debug_info_deduper,
Dfile_reader.cpp601 MethodItem *FileReader::CreateMethodItem(ClassItem *cls, File::EntityId method_id) in CreateMethodItem()
605 return static_cast<MethodItem *>(it->second); in CreateMethodItem()
633 return static_cast<MethodItem *>(it_check->second); in CreateMethodItem()
1274 auto *method_item = static_cast<MethodItem *>(param_item); in UpdateCodeAndDebugInfoDependencies()
1351 auto *method_item = static_cast<MethodItem *>(param_item); in ComputeLayoutAndUpdateIndices()
1377 auto *method_item = static_cast<MethodItem *>(param_item); in ComputeLayoutAndUpdateIndices()
/arkcompiler/runtime_core/assembler/
Dassembly-function.h154 bool Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method,
190 …panda_file::MethodItem *method, const std::unordered_map<std::string, panda_file::BaseClassItem *>…
Dassembly-emitter.h125 … static void SetCodeAndDebugInfo(panda_file::ItemContainer *items, panda_file::MethodItem *method,
129 panda_file::MethodItem *method, const Function &func);
134 … const std::vector<uint8_t> *bytes, const panda_file::MethodItem *method,
Dassembly-emitter.cpp50 using panda::panda_file::MethodItem;
200 …auto method_item = static_cast<panda::panda_file::MethodItem *>(Find(entities.method_items, name)); in CreateLiteralItem()
518 static void AddDependencyByIndex(MethodItem *method, const Ins &insn, in AddDependencyByIndex()
530 static void AddBytecodeIndexDependencies(MethodItem *method, const Function &func, in AddBytecodeIndexDependencies()
1090 void AsmEmitter::SetCodeAndDebugInfo(ItemContainer *items, MethodItem *method, const Function &func, in SetCodeAndDebugInfo()
1121 … const AsmEmitter::AsmEntityCollections &entities, MethodItem *method, in AddMethodAndParamsAnnotations()
1162 auto *method = static_cast<MethodItem *>(Find(entities.method_items, name)); in MakeFunctionDebugInfoAndAnnotations()
1202 … const MethodItem *method, const Function &func, const std::string &name, in EmitDebugInfo()
1245 auto *method = static_cast<MethodItem *>(Find(entities.method_items, name)); in EmitFunctions()
1483 bool Function::Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method, in Emit()
[all …]
Dassembly-ins.h110 bool Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method,
/arkcompiler/runtime_core/libpandafile/tests/
Ddebug_info_extractor_test.cpp52MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, … in PreparePandaFile()
80 MethodItem *method_item_bar = in PreparePandaFile()
103MethodItem *method_item_baz = class_item->AddMethod(method_name_baz, proto_item_baz, ACC_PUBLIC, p… in PreparePandaFile()
Dpgo_test.cpp35MethodItem *method_item_1 = class_item_a->AddMethod(method_name_1, proto_item_1, ACC_PUBLIC | ACC_… in CreateItems()
Dfile_item_container_test.cpp256MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, …
416MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, …
513MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, … in TestProtos()
590MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, …
833MethodItem *method_item_1 = class_item_a->AddMethod(method_name_1, proto_item_1, ACC_PUBLIC | ACC_…
845MethodItem *method_item_2 = class_item_b->AddMethod(method_name_2, proto_item_2, ACC_PUBLIC | ACC_…
1080 auto *method_item = static_cast<panda_file::MethodItem *>(method); in __anon1a961e181302()
1147MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, …
/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb20 bool Ins::Emit(BytecodeEmitter& emitter, panda_file::MethodItem *method,