| /arkcompiler/ets_runtime/test/aottest/large_func/ |
| D | large_func.ts | 16 function add(a:number, b:number):number function 21 add(1, 2); 22 add(1, 2); 23 add(1, 2); 24 add(1, 2); 25 add(1, 2); 26 add(1, 2); 27 add(1, 2); 28 add(1, 2); 29 add(1, 2); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/large_func_acc/ |
| D | large_func_acc.ts | 16 function add(a:number, b:number):number function 22 r += add(1, 2); 23 r += add(1, 2); 24 r += add(1, 2); 25 r += add(1, 2); 26 r += add(1, 2); 27 r += add(1, 2); 28 r += add(1, 2); 29 r += add(1, 2); 30 r += add(1, 2); [all …]
|
| /arkcompiler/toolchain/tooling/test/testcases/js/ |
| D | container.js | 20 arrayList.add(5); 22 arrayList.add(8); 24 arrayList.add(15); 25 arrayList.add(3); 26 arrayList.add(10); 27 arrayList.add(288); 28 arrayList.add(188); 77 hashSet.add(5); 78 hashSet.add(18); 79 hashSet.add(2); [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_events.cpp | 22 result->Add("breakpointId", breakpointId_.c_str()); in ToJson() 24 result->Add("location", location_->ToJson()); in ToJson() 27 object->Add("method", GetName().c_str()); in ToJson() 28 object->Add("params", result); in ToJson() 43 result->Add("callFrames", array); in ToJson() 44 result->Add("reason", reason_.c_str()); in ToJson() 47 result->Add("data", data_.value()->ToJson()); in ToJson() 55 result->Add("hitBreakpoints", breakpoints); in ToJson() 59 object->Add("method", GetName().c_str()); in ToJson() 60 object->Add("params", result); in ToJson() [all …]
|
| D | pt_returns.cpp | 23 result->Add("debuggerId", std::to_string(debuggerId_).c_str()); in ToJson() 29 result->Add("protocols", array); in ToJson() 42 result->Add("protocols", array); in ToJson() 51 result->Add("breakpointId", id_.c_str()); in ToJson() 59 result->Add("locations", array); in ToJson() 75 result->Add("locations", array); in ToJson() 85 result->Add("result", result_->ToJson()); in ToJson() 88 result->Add("exceptionDetails", exceptionDetails_.value()->ToJson()); in ToJson() 105 result->Add("locations", array); in ToJson() 114 result->Add("scriptSource", scriptSource_.c_str()); in ToJson() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/ |
| D | BasicSetTest.sts | 19 failures += test(createSetAndAdd(), "Create Set and Add single item"); 21 failures += test(createSetAddAndClear(), "Create Set add and clear it"); 22 failures += test(createSetAddAndRemove(), "Create Set add and remove some key"); 45 set.add(c'a'); 46 set.add(c'b'); 47 set.add(c'c'); 67 set.add(c'a'); 68 set.add(c'c'); 69 set.add(c'b'); 70 set.add(c'c'); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Clear/ |
| D | builtinSetClear.ts | 67 mySet.add(0); 68 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetClear 69 mySet.add(12); 70 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetClear 85 mySet.add(0); 86 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetClear 87 mySet.add(12); 88 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetClear 99 mySet.add(0); 100 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetClear [all …]
|
| /arkcompiler/toolchain/tooling/test/ |
| D | pt_params_test.cpp | 56 ptJson->Add("maxScriptsCacheSize", attribute.c_str()); in HWTEST_F_L0() 65 ptJson->Add("objectGroup", 0); in HWTEST_F_L0() 66 ptJson->Add("includeCommandLineAPI", attribute.c_str()); in HWTEST_F_L0() 67 ptJson->Add("silent", attribute.c_str()); in HWTEST_F_L0() 68 ptJson->Add("returnByValue", attribute.c_str()); in HWTEST_F_L0() 69 ptJson->Add("generatePreview", attribute.c_str()); in HWTEST_F_L0() 70 ptJson->Add("throwOnSideEffect", attribute.c_str()); in HWTEST_F_L0() 82 ptJson->Add("start", start); in HWTEST_F_L0() 83 ptJson->Add("end", end); in HWTEST_F_L0() 86 ptJson1->Add("end", attribute.c_str()); in HWTEST_F_L0() [all …]
|
| D | pt_types_test.cpp | 317 ptJson->Add("recordMode", 0); in HWTEST_F_L0() 318 ptJson->Add("enableSampling", attribute.c_str()); in HWTEST_F_L0() 319 ptJson->Add("enableSystrace", attribute.c_str()); in HWTEST_F_L0() 320 ptJson->Add("enableArgumentFilter", attribute.c_str()); in HWTEST_F_L0() 321 ptJson->Add("includedCategories", attribute.c_str()); in HWTEST_F_L0() 322 ptJson->Add("excludedCategories", attribute.c_str()); in HWTEST_F_L0() 323 ptJson->Add("syntheticDelays", attribute.c_str()); in HWTEST_F_L0() 324 ptJson->Add("memoryDumpConfig", attribute.c_str()); in HWTEST_F_L0() 329 ptJson1->Add("recordMode", "test"); in HWTEST_F_L0() 347 ptJson3->Add("recordMode", "recordUntilFull"); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Add/ |
| D | builtinSetAdd.ts | 26 return mySet.add(x); 38 print(x.add(y)); 46 print(mySet.add()); 47 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 56 mySet.add(125); 57 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 65 mySet.add(0, undefined); 66 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 74 mySet.add(0, "ab", 14); 75 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd [all …]
|
| D | builtinSetAdd copy.ts | 26 return mySet.add(x); 38 print(x.add(y)); 46 print(mySet.add()); 47 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 56 mySet.add(125); 57 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 65 mySet.add(0, undefined); 66 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 74 mySet.add(0, "ab", 14); 75 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | irtoc.md | 15 …n the IR instructions has corresponding token in the irtoc lang. For example, IR instruction `Add`: 17 - opcode: Add 21 description: Add two inputs. 23 has keyword with the same name `Add` and with same signature: 25 var = Add(input1, input2) 31 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 41 In last example variable `var` holds the newly created instruction `Add` and it can be input for th… 44 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 49 Return(Add(input1, input2).i64.CC(:CC_GE).pc(123)).i64 56 For example, add 1 to the biggest value: [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | irtoc.md | 15 …n the IR instructions has corresponding token in the irtoc lang. For example, IR instruction `Add`: 17 - opcode: Add 21 description: Add two inputs. 23 has keyword with the same name `Add` and with same signature: 25 var = Add(input1, input2) 31 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 41 In last example variable `var` holds the newly created instruction `Add` and it can be input for th… 44 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 49 Return(Add(input1, input2).i64.CC(:CC_GE).pc(123)).i64 56 For example, add 1 to the biggest value: [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | container_hashset.js | 28 set.add("aa"); 29 set.add("bb"); 34 set.add("cc"); 67 set.add("ee"); 68 set.add("dd"); 85 proxy.add("aa"); 86 proxy.add("bb"); 91 proxy.add("cc"); 126 collisionSet.add(1224); 127 collisionSet.add(1288); [all …]
|
| D | container_plainarray.js | 31 let ret = proxy.add(0, "0") 32 proxy.add(1, "1") 33 proxy.add(2, "2") 34 proxy.add(3, "3") 35 proxy.add(4, "4") 36 proxy.add(5, "5") 43 map.set("test plainarray add:", res) 44 map.set("test plainarray 'add' ret:", ret === undefined) 110 proxy1.add(0, "0") 111 proxy1.add(1, "1") [all …]
|
| D | container_treeset.js | 34 set.add("aa"); 35 set.add("bb"); 40 set.add("cc"); 83 set.add("ee"); 84 set.add("dd"); 103 cmmp.add("aa"); 104 cmmp.add("bb"); 107 cmmp.add(null, 1); 108 cmmp.add(undefined, 1); 113 comset.add("c"); [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/scripts/ |
| D | tests.irt | 34 r1 := Add(res, 2).u64 35 v0 := Add(value, 2).u64 38 r2 := Add(res, 1).u64 39 v1 := Add(value, 1).u64 49 i1 := Add(i, 1).u64 76 r1 := Add(res, 2).u64 77 v0 := Add(value, 2).u64 81 r2 := Add(res, 1).u64 82 v1 := Add(value, 1).u64 93 i1 := Add(i, 1).u64 [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | add.yaml | 17 - file-name: add 28 - sig: add v1:in:i32, v2:in:i32 35 add v0, v1 43 description: Check add with zero and various values. 76 - sig: add v1:in:i32, v2:in:i32 83 add v0, v1 91 description: Check add with +1 and various values. 125 - sig: add v1:in:i32, v2:in:i32 132 add v0, v1 140 description: Check add with -1 and various values. [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | add.yaml | 17 - file-name: add 28 - sig: add v1:in:i32, v2:in:i32 35 add v0, v1 43 description: Check add with zero and various values. 75 - sig: add v1:in:i32, v2:in:i32 82 add v0, v1 90 description: Check add with +1 and various values. 123 - sig: add v1:in:i32, v2:in:i32 130 add v0, v1 138 description: Check add with -1 and various values. [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedset/ |
| D | expect_output.txt | 52 add extension(.): TypeError: Cannot add property in prevent extensions 53 add extension([]): TypeError: Cannot add property in prevent extensions 62 Add Scenario[for-of] updated size: 6 66 Add Scenario[next()] updated size: 6 77 Add Scenario[forEach]: BusinessError: Concurrent modification exception, errCode: 10200201 82 sharedSet add[shared] element success 83 sharedSet add[unshared]: BusinessError: Parameter error. Only accept sendable value., errCode: 401 84 sharedSet add[unshared]: BusinessError: Parameter error. Only accept sendable value., errCode: 401 93 SubSendableSet add[unshared]: BusinessError: Parameter error. Only accept sendable value., errCode:… 103 add extension(.): TypeError: Cannot add property in prevent extensions [all …]
|
| /arkcompiler/ets_runtime/test/aottest/icnotfound/ |
| D | icnotfound.js | 27 function add(obj) { function in Test1 34 add(obj1); 50 function add(obj) { function in Test2 57 add(obj1); 76 function add(obj) { function in Test3 83 add(obj1); 106 function add(obj) { function in Test4 113 add(obj1); 136 function add(obj) { function in Test5 144 add(obj1); [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | balance_expressions_test.cpp | 50 INST(8U, Opcode::Add).u64().Inputs(0U, 1U); in AddMulParallelBuildGraph() 53 INST(10U, Opcode::Add).u64().Inputs(8U, 2U); in AddMulParallelBuildGraph() 56 INST(12U, Opcode::Add).u64().Inputs(10U, 3U); in AddMulParallelBuildGraph() 59 INST(14U, Opcode::Add).u64().Inputs(12U, 4U); in AddMulParallelBuildGraph() 62 INST(16U, Opcode::Add).u64().Inputs(14U, 5U); in AddMulParallelBuildGraph() 65 INST(18U, Opcode::Add).u64().Inputs(16U, 6U); in AddMulParallelBuildGraph() 68 INST(20U, Opcode::Add).u64().Inputs(18U, 7U); in AddMulParallelBuildGraph() 108 INST(8U, Opcode::Add).u64().Inputs(0U, 1U); in TEST_F() 109 INST(10U, Opcode::Add).u64().Inputs(2U, 3U); in TEST_F() 110 INST(12U, Opcode::Add).u64().Inputs(8U, 10U); in TEST_F() [all …]
|
| D | scheduler_test.cpp | 39 INST(8U, Opcode::Add).u64().Inputs(0U, 1U); in TEST_F() 40 INST(9U, Opcode::Add).u64().Inputs(2U, 3U); in TEST_F() 42 INST(10U, Opcode::Add).u64().Inputs(8U, 9U); in TEST_F() 44 INST(11U, Opcode::Add).u64().Inputs(4U, 5U); in TEST_F() 45 INST(12U, Opcode::Add).u64().Inputs(6U, 7U); in TEST_F() 46 INST(13U, Opcode::Add).u64().Inputs(11U, 12U); in TEST_F() 48 INST(14U, Opcode::Add).u64().Inputs(10U, 13U); in TEST_F() 81 INST(10U, Opcode::Add).u64().Inputs(2U, 3U); in TEST_F() 82 INST(11U, Opcode::Add).u64().Inputs(4U, 5U); in TEST_F() 84 INST(12U, Opcode::Add).u64().Inputs(10U, 11U); in TEST_F() [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | ProjectCollections.spec.ts | 43 it('should add all elements from sourceSet to targetSet', ()=> { 124 projectWhiteListManagerForTest.fileWhiteListInfo.fileKeepInfo.structProperties.add('test1'); 125 projectWhiteListManagerForTest.fileWhiteListInfo.fileKeepInfo.enumProperties.add('test2'); 131 projectWhiteListManagerForTest.fileWhiteListInfo.fileKeepInfo.structProperties.add('test3'); 132 projectWhiteListManagerForTest.fileWhiteListInfo.fileKeepInfo.enumProperties.add('test4'); 141 projectWhiteListManagerForTest.fileWhiteListInfo.fileKeepInfo.structProperties.add("test3"); 142 projectWhiteListManagerForTest.fileWhiteListInfo.fileKeepInfo.enumProperties.add("test4"); 153 fileWhilteListTemp.fileKeepInfo.keepSymbol?.globalNames.add('test1'); 154 fileWhilteListTemp.fileKeepInfo.keepSymbol?.propertyNames.add('test2'); 155 fileWhilteListTemp.fileKeepInfo.keepAsConsumer?.globalNames.add('test3'); [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/icnotfoundtest/ |
| D | icnotfoundtest.js | 27 function add(obj) { function in Test1 34 add(obj1); 50 function add(obj) { function in Test2 57 add(obj1); 76 function add(obj) { function in Test3 83 add(obj1); 106 function add(obj) { function in Test4 113 add(obj1); 136 function add(obj) { function in Test5 144 add(obj1); [all …]
|