/arkcompiler/runtime_core/static_core/verification/config/handlers/ |
D | config_handler_method_options.cpp | 42 bool ProcessSectionMsg(MethodOption::MsgClass msgClass, const PandaString &items, MethodOptions *op… in ProcessSectionMsg() argument 46 const char *start = items.c_str(); in ProcessSectionMsg() 48 if (!MessageSetParser()(c, start, items.c_str() + items.length())) { in ProcessSectionMsg() 49 LOG(ERROR, VERIFIER) << "Unexpected set of messages: '" << items << "'"; in ProcessSectionMsg() 127 PandaString items; in MethodOptionsProcessor() local 128 for (const auto &item : s.items) { in MethodOptionsProcessor() 129 items += item; in MethodOptionsProcessor() 130 items += " "; in MethodOptionsProcessor() 134 if (!ProcessSectionMsg(MethodOption::MsgClass::ERROR, items, &options)) { in MethodOptionsProcessor() 138 if (!ProcessSectionMsg(MethodOption::MsgClass::WARNING, items, &options)) { in MethodOptionsProcessor() [all …]
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-emitter.cpp | 519 const std::unordered_map<std::string, T *> &items, size_t idx = 0) in AddDependencyByIndex() argument 525 auto it = items.find(id); in AddDependencyByIndex() 526 ASSERT(it != items.cend()); in AddDependencyByIndex() 585 void AsmEmitter::MakeStringItems(ItemContainer *items, const Program &program, in MakeStringItems() argument 589 auto *item = items->GetOrCreateStringItem(s); in MakeStringItems() 595 void AsmEmitter::MakeLiteralItems(ItemContainer *items, const Program &program, in MakeLiteralItems() argument 599 auto *literal_array_item = items->GetOrCreateLiteralArrayItem(id); in MakeLiteralItems() 731 CreateLiteralItem(items, value.get(), &literal_array, entities); in MakeLiteralItems() 738 void AsmEmitter::MakeArrayTypeItems(ItemContainer *items, const Program &program, in MakeArrayTypeItems() argument 742 auto *foreign_record = items->GetOrCreateForeignClassItem(t.GetDescriptor()); in MakeArrayTypeItems() [all …]
|
D | assembly-emitter.h | 52 …static bool Emit(panda_file::ItemContainer *items, const Program &program, PandaFileToPandaAsmMaps… 77 static void MakeStringItems(panda_file::ItemContainer *items, const Program &program, 79 static void MakeLiteralItems(panda_file::ItemContainer *items, const Program &program, 81 static void MakeArrayTypeItems(panda_file::ItemContainer *items, const Program &program, 84 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities, 87 …static bool HandleBaseRecord(panda_file::ItemContainer *items, const Program &program, const std::… 89 …static bool HandleInterfaces(panda_file::ItemContainer *items, const Program &program, const std::… 92 …panda_file::ItemContainer *items, const Program &program, AsmEmitter::AsmEntityCollections &entiti… 96 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities, 100 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities, [all …]
|
/arkcompiler/runtime_core/static_core/assembler/ |
D | assembly-emitter.cpp | 704 const std::unordered_map<std::string, T *> &items) in AddBytecodeIndexDependencies() argument 709 auto it = items.find(id); in AddBytecodeIndexDependencies() 710 ASSERT_PRINT(it != items.cend(), "Symbol '" << id << "' not found"); in AddBytecodeIndexDependencies() 756 void AsmEmitter::MakeStringItems(ItemContainer *items, const Program &program, in MakeStringItems() argument 760 auto *item = items->GetOrCreateStringItem(s); in MakeStringItems() 766 void AsmEmitter::MakeLiteralItems(ItemContainer *items, const Program &program, in MakeLiteralItems() argument 770 auto literalArrayItem = items->GetOrCreateLiteralArrayItem(id); in MakeLiteralItems() 898 CreateLiteralItem(items, value.get(), &literalArray, entities.methodItems); in MakeLiteralItems() 907 void AsmEmitter::MakeArrayTypeItems(ItemContainer *items, const Program &program, in MakeArrayTypeItems() argument 911 auto *foreignRecord = items->GetOrCreateForeignClassItem(t.GetDescriptor()); in MakeArrayTypeItems() [all …]
|
D | assembly-emitter.h | 53 PANDA_PUBLIC_API static bool Emit(panda_file::ItemContainer *items, const Program &program, 78 static void MakeStringItems(panda_file::ItemContainer *items, const Program &program, 80 static void MakeLiteralItems(panda_file::ItemContainer *items, const Program &program, 82 static void MakeArrayTypeItems(panda_file::ItemContainer *items, const Program &program, 85 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities, 88 …static bool HandleBaseRecord(panda_file::ItemContainer *items, const Program &program, const std::… 90 …static bool HandleInterfaces(panda_file::ItemContainer *items, const Program &program, const std::… 93 …panda_file::ItemContainer *items, const Program &program, AsmEmitter::AsmEntityCollections &entiti… 97 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities, 101 panda_file::ItemContainer *items, const Program &program, AsmEntityCollections &entities, [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/annotations/ |
D | annotation_@Link_2.ets | 24 @Link items: number[]; 30 this.items.push(this.items.length+1); 35 this.items = [100, 200, 300]; 47 Child({ items: this.arr })
|
D | annotation_@Provide.ets | 30 ForEach(this.data.items, item => { 57 ForEach(this.data.items, item => { 74 ForEach(this.data.items, item => { 103 ForEach(this.data.items, item => {
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
D | file_reader.cpp | 335 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local 338 items.emplace_back(std::move(scalar)); in CreateAnnotationItem() 341 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::U1), std::move(items))); in CreateAnnotationItem() 346 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local 349 items.emplace_back(std::move(scalar)); in CreateAnnotationItem() 352 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::I8), std::move(items))); in CreateAnnotationItem() 357 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local 360 items.emplace_back(std::move(scalar)); in CreateAnnotationItem() 363 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::U8), std::move(items))); in CreateAnnotationItem() 368 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local [all …]
|
D | pgo.cpp | 93 void ProfileOptimizer::ProfileGuidedRelayout(std::list<std::unique_ptr<BaseItem>> &items) in ProfileGuidedRelayout() argument 97 for (auto &item : items) { in ProfileGuidedRelayout() 125 items.sort(Cmp); in ProfileGuidedRelayout()
|
/arkcompiler/runtime_core/libpandafile/ |
D | file_reader.cpp | 298 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local 301 items.emplace_back(std::move(scalar)); in CreateAnnotationItem() 304 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::U1), std::move(items))); in CreateAnnotationItem() 309 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local 312 items.emplace_back(std::move(scalar)); in CreateAnnotationItem() 315 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::I8), std::move(items))); in CreateAnnotationItem() 320 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local 323 items.emplace_back(std::move(scalar)); in CreateAnnotationItem() 326 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::U8), std::move(items))); in CreateAnnotationItem() 331 std::vector<ScalarValueItem> items; in CreateAnnotationItem() local [all …]
|
D | pgo.cpp | 93 void ProfileOptimizer::ProfileGuidedRelayout(std::list<std::unique_ptr<BaseItem>> &items) in ProfileGuidedRelayout() argument 97 for (auto &item : items) { in ProfileGuidedRelayout() 125 items.sort(cmp); in ProfileGuidedRelayout()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/unions/ |
D | union_generics_01.ets | 24 function superMax<T>(items: T[], comparator: (l: T, r: T) => int = null): T | null { 25 if (comparator && items.length > 0) { 26 let max: T = items[0] 27 for (const item: T of items) {
|
D | union_generics_02.ets | 40 function superMax<T extends Comparable<T>>(items: Item<T>[]): T | null { 41 if (items.length == 0) { 44 let max: T = items[0] 45 for (const item: T of items) {
|
D | union_generics_03.ets | 40 function superMax<T extends Comparable<T>>(items: Item<T>[]): T | null { 41 if (items.length == 0) { 44 let max: T = items[0] 45 for (const item: T of items) {
|
/arkcompiler/ets_runtime/test/moduletest/arraysortcase/ |
D | arraysortcase.js | 58 var items = ["réservé", "premier", "cliché", "communiqué", "café", "adieu"]; variable 59 items.sort(function (a, b) { 62 print(items);
|
/arkcompiler/runtime_core/static_core/verification/config/ |
D | config.h | 33 std::vector<PandaString> items; member 42 for (const auto &i : items) {
|
/arkcompiler/runtime_core/static_core/quickener/ |
D | quickener.h | 34 const std::map<panda_file::File::EntityId, panda_file::BaseItem *> *items) in Quickener() argument 35 : container_(container), file_(file), items_(items) {}; in Quickener()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | array_helper.cpp | 382 JSHandle<TaggedArray> items(thread->GetEcmaVM()->GetFactory()->NewTaggedArray(len)); in SortIndexedProperties() local 404 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, items); in SortIndexedProperties() 411 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, items); in SortIndexedProperties() 412 items->Set(thread, index++, kValue.GetTaggedValue()); in SortIndexedProperties() 417 items->Trim(thread, index); in SortIndexedProperties() 422 JSArray::SortElements(thread, items, callbackFnHandle); in SortIndexedProperties() 423 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, items); in SortIndexedProperties() 425 return items; in SortIndexedProperties()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
D | test_main_function.j2 | 22 {%- for key, value in item.result_type_signature.items() %} 26 {%- for test_name, test_data in item.method_test_index_data.items() %} 31 {%- for key, value in item.method_expected_data[test_name].items() %}
|
D | test_static_method.j2 | 18 {%- for number, param in item.param_list.items() %} 37 {%- for number, param in item.param_list.items() %} 45 {%- for number, param in item.param_list.items() %}
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | symbolTable.cpp | 130 std::vector<std::string_view> items; in GetStringItems() local 137 items.push_back(token); in GetStringItems() 144 items.push_back(tail); in GetStringItems() 147 return items; in GetStringItems()
|
/arkcompiler/ets_frontend/ets2panda/linter/test/ |
D | functions.ts | 78 items: T[] = []; property in Collection 83 for (const arg of args) this.items.push(arg);
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
D | functions.ts | 78 items: T[] = []; property in Collection 83 for (const arg of args) this.items.push(arg);
|
/arkcompiler/runtime_core/static_core/static_linker/ |
D | linker_code_parser_context.cpp | 191 auto *items = data->fileReader->GetItems(); in ProcessCodeData() local 205 auto iter = items->find(oldId); in ProcessCodeData() 206 ASSERT(iter != items->end()); in ProcessCodeData() 234 auto iter = items->find(EntityId(off)); in ProcessCodeData() 235 ASSERT(iter != items->end()); in ProcessCodeData()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
D | pool_map_test.cpp | 61 auto items = std::remove(pools_.begin(), pools_.end(), pool); in RemovePoolFromMap() local 62 ASSERT(items != pools_.end()); in RemovePoolFromMap() 63 pools_.erase(items, pools_.end()); in RemovePoolFromMap()
|