Home
last modified time | relevance | path

Searched refs:StringItem (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/runtime_core/libpandafile/tests/
Ddebug_info_extractor_test.cpp46 StringItem *method_name = container->GetOrCreateStringItem("foo"); in PreparePandaFile()
59 StringItem *source_file_item = container->GetOrCreateStringItem(SOURCE_FILE); in PreparePandaFile()
60 StringItem *param_string_item = container->GetOrCreateStringItem("arg0"); in PreparePandaFile()
61 StringItem *local_variable_name_0 = container->GetOrCreateStringItem("local_0"); in PreparePandaFile()
62 StringItem *local_variable_name_1 = container->GetOrCreateStringItem("local_1"); in PreparePandaFile()
63 StringItem *local_variable_name_2 = container->GetOrCreateStringItem("local_2"); in PreparePandaFile()
64 StringItem *local_variable_type_i32 = container->GetOrCreateStringItem("I"); in PreparePandaFile()
65 StringItem *local_variable_sig_type_i32 = container->GetOrCreateStringItem("type_i32"); in PreparePandaFile()
73 StringItem *method_name_bar = container->GetOrCreateStringItem("bar"); in PreparePandaFile()
87 StringItem *param_string_item_bar1 = container->GetOrCreateStringItem("arg0"); in PreparePandaFile()
[all …]
Dfile_item_container_test.cpp54 StringItem *string_item = container.GetOrCreateStringItem("1");
250 StringItem *method_name = container.GetOrCreateStringItem("foo");
260 StringItem *field_name = container.GetOrCreateStringItem("field");
284 StringItem *source_file = container.GetOrCreateStringItem("source_file");
410 StringItem *method_name = container.GetOrCreateStringItem("foo");
488 StringItem *method_name = container.GetOrCreateStringItem("foo"); in TestProtos()
584 StringItem *method_name = container.GetOrCreateStringItem("foo");
592 StringItem *source_file_item = container.GetOrCreateStringItem("<source>");
593 StringItem *source_code_item = container.GetOrCreateStringItem("let a = 1;");
594 StringItem *param_string_item = container.GetOrCreateStringItem("a0");
[all …]
Dpgo_test.cpp31 StringItem *method_name_1 = container.GetOrCreateStringItem("foo1"); in CreateItems()
/arkcompiler/runtime_core/libpandafile/
Dfile_items.h433 class StringItem : public IndexedItem {
435 explicit StringItem(std::string str, ItemContainer *container);
437 explicit StringItem(File::StringData data, ItemContainer *container);
439 ~StringItem() override = default;
465 DEFAULT_MOVE_SEMANTIC(StringItem);
466 DEFAULT_COPY_SEMANTIC(StringItem);
487 StringItem *GetNameItem() const in GetNameItem()
498 BaseFieldItem(BaseClassItem *cls, StringItem *name, TypeItem *type, ItemContainer *container);
506 StringItem *name_;
512 …FieldItem(ClassItem *cls, StringItem *name, TypeItem *type, uint32_t access_flags, ItemContainer *…
[all …]
Dfile_items.cpp192 StringItem::StringItem(std::string str, ItemContainer *container) : IndexedItem(container), str_(st… in StringItem() function in panda::panda_file::StringItem
206 StringItem::StringItem(File::StringData data, ItemContainer *container) in StringItem() function in panda::panda_file::StringItem
211 size_t StringItem::CalculateSize() const in CalculateSize()
217 bool StringItem::Write(Writer *writer) in Write()
548 BaseMethodItem::BaseMethodItem(BaseClassItem *cls, StringItem *name, ProtoItem *proto, uint32_t acc… in BaseMethodItem()
587 MethodItem::MethodItem(ClassItem *cls, StringItem *name, ProtoItem *proto, uint32_t access_flags, in MethodItem()
1237 BaseFieldItem::BaseFieldItem(BaseClassItem *cls, StringItem *name, TypeItem *type, ItemContainer *c… in BaseFieldItem()
1267 FieldItem::FieldItem(ClassItem *cls, StringItem *name, TypeItem *type, uint32_t access_flags, ItemC… in FieldItem()
1481 StringItem *name, StringItem *type) in EmitStartLocal()
1487StringItem *name, StringItem *type, StringItem *type_signature) in EmitStartLocalExtended()
[all …]
Dfile_item_container.h42 StringItem *GetOrCreateStringItem(const std::string &str);
76 … static_assert(!std::is_same_v<T, StringItem>, "Use GetOrCreateStringItem to create StringItem"); in CreateItem()
114 std::unordered_map<std::string, StringItem *> *GetStringMap() in GetStringMap()
540 std::unordered_map<std::string, StringItem *> string_map_;
Dpgo.cpp32 identity = static_cast<StringItem *>(item.get())->GetData(); in GetNameInfo()
Dfile_item_container.cpp185 StringItem *ItemContainer::GetOrCreateStringItem(const std::string &str) in GetOrCreateStringItem()
192 return GetOrInsert<StringItem>(string_map_, items_, items_end_, str, false, str, this); in GetOrCreateStringItem()
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.h48 std::unordered_map<std::string, panda_file::StringItem *> string_items;
99 …static panda_file::StringItem *GetMethodName(panda_file::ItemContainer *items, const Function &fun…
117 … panda_file::StringItem *method_name, const std::string &mangled_name,
Dassembly-emitter.cpp56 using panda::panda_file::StringItem;
868 StringItem *AsmEmitter::GetMethodName(ItemContainer *items, const Function &func, const std::string… in GetMethodName()
970 … ForeignClassItem *foreign_area, uint32_t access_flags, StringItem *method_name, in CreateMethodItem()
1012 StringItem *method_name = GetMethodName(items, func, name); in MakeFunctionItems()
1487 const std::unordered_map<std::string, panda_file::StringItem *> &strings, in Emit()
1533 StringItem *variable_name = container->GetOrCreateStringItem(v.name); in EmitLocalVariable()
1534 StringItem *variable_type = container->GetOrCreateStringItem(v.signature); in EmitLocalVariable()
1538 StringItem *type_signature = container->GetOrCreateStringItem(v.signature_type); in EmitLocalVariable()
Dassembly-ins.h114 const std::unordered_map<std::string, panda_file::StringItem *> &strings,
Dassembly-function.h158 const std::unordered_map<std::string, panda_file::StringItem *> &strings,
/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb24 const std::unordered_map<std::string, panda_file::StringItem *> &strings,