/arkcompiler/runtime_core/libpandafile/tests/ |
D | file_item_container_test.cpp | 52 ItemContainer container; variable 54 StringItem *string_item = container.GetOrCreateStringItem("1"); 55 EXPECT_EQ(string_item, container.GetOrCreateStringItem("1")); 57 ClassItem *class_item = container.GetOrCreateClassItem("1"); 58 EXPECT_EQ(class_item, container.GetOrCreateClassItem("1")); 60 ValueItem *int_item = container.GetOrCreateIntegerValueItem(1); 61 EXPECT_EQ(int_item, container.GetOrCreateIntegerValueItem(1)); 63 ValueItem *long_item = container.GetOrCreateLongValueItem(1); 64 EXPECT_EQ(long_item, container.GetOrCreateLongValueItem(1)); 67 ValueItem *float_item = container.GetOrCreateFloatValueItem(1.0); [all …]
|
D | pgo_test.cpp | 23 static void CreateItems(ItemContainer &container) in CreateItems() argument 26 ClassItem *empty_class_item = container.GetOrCreateClassItem("LTest;"); in CreateItems() 27 ClassItem *class_item_a = container.GetOrCreateClassItem("LAA;"); in CreateItems() 31 StringItem *method_name_1 = container.GetOrCreateStringItem("foo1"); in CreateItems() 32 PrimitiveTypeItem *ret_type_1 = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in CreateItems() 34 ProtoItem *proto_item_1 = container.GetOrCreateProtoItem(ret_type_1, params_1); in CreateItems() 39 CodeItem *code_item_1 = container.CreateItem<CodeItem>(0, 2, instructions_1); in CreateItems() 60 ItemContainer container; variable 61 CreateItems(container); 63 for (auto &item : container.GetItems()) { [all …]
|
D | debug_info_extractor_test.cpp | 41 void PreparePandaFile(ItemContainer *container) in PreparePandaFile() argument 43 ClassItem *class_item = container->GetOrCreateClassItem("A"); in PreparePandaFile() 46 StringItem *method_name = container->GetOrCreateStringItem("foo"); in PreparePandaFile() 48 PrimitiveTypeItem *ret_type = container->GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in PreparePandaFile() 50 params.emplace_back(container->GetOrCreatePrimitiveTypeItem(Type::TypeId::I32)); in PreparePandaFile() 51 ProtoItem *proto_item = container->GetOrCreateProtoItem(ret_type, params); in PreparePandaFile() 55 CodeItem *code_item = container->CreateItem<CodeItem>(4, 1, instructions); 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() [all …]
|
D | file_test.cpp | 100 ItemContainer container; variable 106 classes.push_back(container.GetOrCreateClassItem(name)); 111 ASSERT_TRUE(container.Write(&mem_writer)); 267 ItemContainer container; variable 269 ASSERT_TRUE(container.Write(&writer)); 294 ItemContainer container; variable 297 ASSERT_TRUE(container.Write(&writer)); 315 ItemContainer container; variable 318 ASSERT_TRUE(container.Write(&writer));
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-emitter.h | 156 …panda_file::ItemContainer *container, const Value *value, std::vector<panda_file::LiteralItem> *ou… 160 …static panda_file::ScalarValueItem *CreateScalarPrimValueItem(panda_file::ItemContainer *container, in CreateScalarPrimValueItem() argument 167 out->emplace_back(v, container); in CreateScalarPrimValueItem() 172 return container->GetOrCreateIntegerValueItem(v); in CreateScalarPrimValueItem() 174 return container->GetOrCreateLongValueItem(v); in CreateScalarPrimValueItem() 176 return container->GetOrCreateFloatValueItem(v); in CreateScalarPrimValueItem() 178 return container->GetOrCreateDoubleValueItem(v); in CreateScalarPrimValueItem() 185 …atic panda_file::ScalarValueItem *CreateScalarStringValueItem(panda_file::ItemContainer *container, 189 …panda_file::ItemContainer *container, const Value *value, std::vector<panda_file::ScalarValueItem>… 192 …panda_file::ItemContainer *container, const Value *value, std::vector<panda_file::ScalarValueItem>… [all …]
|
D | assembly-emitter.cpp | 63 std::unordered_map<Type::TypeId, PrimitiveTypeItem *> CreatePrimitiveTypes(ItemContainer *container) in CreatePrimitiveTypes() argument 66 res.insert({Type::TypeId::VOID, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID)}); in CreatePrimitiveTypes() 67 res.insert({Type::TypeId::U1, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::U1)}); in CreatePrimitiveTypes() 68 res.insert({Type::TypeId::I8, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::I8)}); in CreatePrimitiveTypes() 69 res.insert({Type::TypeId::U8, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::U8)}); in CreatePrimitiveTypes() 70 res.insert({Type::TypeId::I16, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::I16)}); in CreatePrimitiveTypes() 71 res.insert({Type::TypeId::U16, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::U16)}); in CreatePrimitiveTypes() 72 res.insert({Type::TypeId::I32, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::I32)}); in CreatePrimitiveTypes() 73 res.insert({Type::TypeId::U32, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::U32)}); in CreatePrimitiveTypes() 74 res.insert({Type::TypeId::I64, container->GetOrCreatePrimitiveTypeItem(Type::TypeId::I64)}); in CreatePrimitiveTypes() [all …]
|
D | assembly-function.h | 171 …EmitLocalVariable(panda_file::LineNumberProgramItem *program, panda_file::ItemContainer *container, 184 … panda_file::ItemContainer *container, std::vector<uint8_t> *constant_pool,
|
/arkcompiler/runtime_core/libpandafile/ |
D | file_items.h | 283 explicit IndexedItem(ItemContainer *container); 378 explicit TypeItem(Type type, ItemContainer *container) : IndexedItem(container), type_(type) {} in TypeItem() argument 380 …explicit TypeItem(Type::TypeId type_id, ItemContainer *container) : IndexedItem(container), type_(… in TypeItem() argument 403 …icit PrimitiveTypeItem(Type type, ItemContainer *container) : PrimitiveTypeItem(type.GetId(), cont… in PrimitiveTypeItem() argument 405 …it PrimitiveTypeItem(Type::TypeId type_id, ItemContainer *container) : TypeItem(type_id, container) in PrimitiveTypeItem() argument 435 explicit StringItem(std::string str, ItemContainer *container); 437 explicit StringItem(File::StringData data, ItemContainer *container); 498 BaseFieldItem(BaseClassItem *cls, StringItem *name, TypeItem *type, ItemContainer *container); 512 …ClassItem *cls, StringItem *name, TypeItem *type, uint32_t access_flags, ItemContainer *container); 610 explicit LineNumberProgramItem(ItemContainer *container) : IndexedItem(container) {} in LineNumberProgramItem() argument [all …]
|
D | file_items.cpp | 184 IndexedItem::IndexedItem(ItemContainer *container) in IndexedItem() argument 186 if (container != nullptr) { in IndexedItem() 187 item_global_index_ = container->GetIndexedItemCount(); in IndexedItem() 188 container->IncIndexedItemCount(); in IndexedItem() 192 StringItem::StringItem(std::string str, ItemContainer *container) : IndexedItem(container), str_(st… in StringItem() argument 206 StringItem::StringItem(File::StringData data, ItemContainer *container) in StringItem() argument 207 …: IndexedItem(container), str_(reinterpret_cast<const char *>(data.data)), utf16_length_(data.utf… in StringItem() 549 ItemContainer *container) in BaseMethodItem() argument 550 : IndexedItem(container), class_(cls), name_(name), proto_(proto), access_flags_(access_flags) in BaseMethodItem() 588 std::vector<MethodParamItem> params, ItemContainer *container) in MethodItem() argument [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | asiPreventsParsingAsAmbientExternalModule02.ts | 27 module container {
|
D | asiPreventsParsingAsNamespace03.ts | 27 namespace container {
|
D | asiPreventsParsingAsTypeAlias02.ts | 30 namespace container {
|
D | objectSpread.ts | 509 function container( function
|
/arkcompiler/runtime_core/compiler/optimizer/templates/ |
D | generate_ecma.inl.erb | 61 … && inst->GetImms().size() > <%= imm_index %>); // NOLINTNEXTLINE(readability-container-size-empty) 66 … && inst->GetImms().size() > <%= imm_index %>); // NOLINTNEXTLINE(readability-container-size-empty) 71 … && inst->GetImms().size() > <%= imm_index %>); // NOLINTNEXTLINE(readability-container-size-empty) 79 … && inst->GetImms().size() > <%= imm_index %>); // NOLINTNEXTLINE(readability-container-size-empty)
|
/arkcompiler/ets_runtime/test/moduletest/ |
D | BUILD.gn | 39 "container", 164 "container", 269 "container",
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | syntaxChecker.ts | 598 let container = ts.isSourceFile(node.parent) ? node.parent : node.parent.parent; 599 if (ts.isModuleDeclaration(container) && !jshelpers.isAmbientModule(container)) { 1206 let container = jshelpers.getSuperContainer(node, true); 1209 while (container && ts.isArrowFunction(container)) { 1210 container = jshelpers.getSuperContainer(container, true); 1214 let isSuperExpCanUse = isValidUseSuperExpression(container, isCallExpression); 1217 …let current = jshelpers.findAncestor(node, n => n === container ? "quit" : ts.isComputedPropertyNa… 1230 …if (!container || !container.parent || !ts.isClassLike(container.parent) || ts.isObjectLiteralExpr…
|
/arkcompiler/ets_runtime/docs/ |
D | overview-zh.md | 40 - 标准库:Ecmascript规范定义的标准库、高效的container容器库与对象模型
|
D | overview.md | 38 …- Standard library: standard library defined by ECMAScript, efficient container library, and objec…
|
/arkcompiler/ets_runtime/test/moduletest/container/ |
D | expect_output.txt | 14 container test start
|
D | BUILD.gn | 72 host_moduletest_action("container") {
|
/arkcompiler/ets_runtime/ |
D | README_zh.md | 14 方舟eTS运行时是OpenHarmony上默认的ArkTS语言运行时。支持Ecmascript规范定义的标准库和高效container容器库,提供完备的C++交互ArkTS NAPI和各种高性能的垃…
|
D | README.md | 5 … runtime on OpenHarmony. It supports ECMAScript libraries and efficient container libraries. It al…
|
/arkcompiler/toolchain/tooling/test/ |
D | BUILD.gn | 52 "container",
|
/arkcompiler/runtime_core/docs/ |
D | ir_format.md | 254 …pproaches to make iterating more effective is to store data in sequence container, such as array o… 260 …n't depend on the instruction type. Therefore storing users in sequence container has one big draw… 262 …on instruction type and mostly have fixed count. Thus, they should be stored in sequence container.
|
D | memory-management.md | 202 One of the ideas about string representation is to use a hash state inside Mark Word as a container… 279 Small objects are joined in "runs"(not individual element for each size, but some "container" with …
|