| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | globalTypesHolder.cpp | 5 * You may obtain a copy of the License at 230 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NUMBER)); in GlobalNumberType() 235 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::ANY)); in GlobalAnyType() 240 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::STRING)); in GlobalStringType() 245 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::BOOLEAN)); in GlobalBooleanType() 250 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::VOID)); in GlobalVoidType() 255 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NULL_ID)); in GlobalNullType() 260 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNDEFINED)); in GlobalUndefinedType() 265 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNKNOWN)); in GlobalUnknownType() 270 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NEVER)); in GlobalNeverType() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_string_builder_append_merge_part4.sts | 5 * You may obtain a copy of the License at 285 assert append5() == "01234": 'Wrong result at append5()'; 286 assert append6() == "012345": 'Wrong result at append6()'; 287 assert append7() == "0123456": 'Wrong result at append7()'; 288 assert append8() == "01234567": 'Wrong result at append8()'; 290 assert append18() == "01234567891011121314151617": 'Wrong result at append18'; 291 assert chain_append4() == "0123": 'Wrong result at chain_append4'; 295 …assert append2(asciiString, asciiString) == "_xyz_xyz": 'Wrong result at append2(asciiString, asci… 296 …assert append2("str0" , asciiString) == "str0_xyz": 'Wrong result at append2("str0" , asci… 297 …assert append2(asciiString, "str1" ) == "_xyzstr1": 'Wrong result at append2(asciiString, "str… [all …]
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception2/ |
| D | expect_output.txt | 4 # You may obtain a copy of the License at 15 at foo1 (hidden:25:25) 16 at unknown (maybe inlined). depth: 3 17 at unknown (maybe inlined). depth: 2 18 at unknown (maybe inlined). depth: 1 19 at unknown (maybe inlined). depth: 0 20 at foo6 (hidden:40:40) 21 at func_main_0 (hidden:42:1)
|
| D | pgo_expect_output.txt | 4 # You may obtain a copy of the License at 15 at foo1 (hidden:25:25) 16 at foo2 (hidden:28:28) 17 at foo3 (hidden:31:31) 18 at foo4 (hidden:34:34) 19 at foo5 (hidden:37:37) 20 at foo6 (hidden:40:40) 21 at func_main_0 (hidden:42:1)
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception6/ |
| D | expect_output.txt | 4 # You may obtain a copy of the License at 15 at foo1 (hidden:24:24) 16 at unknown (maybe inlined). depth: 0 17 at foo3 (hidden:30:1) 18 at foo4 (hidden:34:34) 19 at unknown (maybe inlined). depth: 0 20 at foo6 (hidden:41:41) 21 at func_main_0 (hidden:42:1)
|
| D | pgo_expect_output.txt | 4 # You may obtain a copy of the License at 15 at foo1 (hidden:24:24) 16 at foo2 (hidden:27:27) 17 at foo3 (hidden:31:31) 18 at foo4 (hidden:34:34) 19 at foo5 (hidden:37:37) 20 at foo6 (hidden:40:40) 21 at func_main_0 (hidden:42:1)
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception4/ |
| D | pgo_expect_output.txt | 4 # You may obtain a copy of the License at 15 at anonymous (hidden:23:23) 16 at foo1 (hidden:29:29) 17 at foo2 (hidden:32:32) 18 at foo3 (hidden:35:35) 19 at foo4 (hidden:38:38) 20 at func_main_0 (hidden:41:1)
|
| D | expect_output.txt | 4 # You may obtain a copy of the License at 15 at anonymous (hidden:23:23) 16 at unknown (maybe inlined). depth: 1 17 at unknown (maybe inlined). depth: 0 18 at foo3 (hidden:36:36) 19 at foo4 (hidden:38:38) 20 at func_main_0 (hidden:41:1)
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | globalTypesHolder.cpp | 5 * You may obtain a copy of the License at 75 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NUMBER)); in GlobalNumberType() 80 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::ANY)); in GlobalAnyType() 85 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::STRING)); in GlobalStringType() 90 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::SYMBOL)); in GlobalSymbolType() 95 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::BOOLEAN)); in GlobalBooleanType() 100 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::VOID)); in GlobalVoidType() 105 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NULL_ID)); in GlobalNullType() 110 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNDEFINED)); in GlobalUndefinedType() 115 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNKNOWN)); in GlobalUnknownType() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_js_suites/ |
| D | test_filter.js | 5 * You may obtain a copy of the License at 40 ASSERT_EQ(filter.at(0), arr.at(0)); 41 ASSERT_EQ(filter1.at(0), arr.at(0)); 50 ASSERT_NE(filterFalse.at(0), arr.at(0)); 51 ASSERT_NE(filter1False.at(0), arr.at(0));
|
| D | test_copy_within.js | 5 * You may obtain a copy of the License at 24 // NOTE (oignatenko) enable when arr.at is fully supported 35 ASSERT_EQ(arr.at(2), 'something'); 37 ASSERT_EQ(arr.at(2), 123); 39 ASSERT_EQ(arr.at(1), 'foo'); 42 ASSERT_EQ(arr.at(1), 123);
|
| /arkcompiler/ets_runtime/test/moduletest/typedarrayat/ |
| D | typedarrayat.js | 5 * You may obtain a copy of the License at 18 * @tc.desc:test TypedArray.at 84 result.push(obj.at(-1) == 14); 85 result.push(obj.at(1.5) == 11); 86 result.push(obj.at(-3) == 12); 87 result.push(obj.at("3") == 13) 88 result.push(obj.at(-6) == undefined); 89 result.push(obj.at(5) == undefined); 90 result.push(obj.at({}) == 10); 107 result.push(obj.at(-1) == 9017199254740995n); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception7/ |
| D | pgo_expect_output.txt | 4 # You may obtain a copy of the License at 15 at Student (hidden:26:26) 16 at foo1 (hidden:31:31) 17 at foo2 (hidden:36:36) 18 at foo3 (hidden:40:40) 19 at func_main_0 (hidden:43:1)
|
| D | expect_output.txt | 4 # You may obtain a copy of the License at 15 at Student (hidden:26:26) 16 at unknown (maybe inlined). depth: 1 17 at unknown (maybe inlined). depth: 0 18 at foo3 (hidden:41:41) 19 at func_main_0 (hidden:43:1)
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception5/ |
| D | expect_output.txt | 4 # You may obtain a copy of the License at 15 at unknown (maybe inlined). depth: 1 16 at unknown (maybe inlined). depth: 0 17 at foo3 (hidden:31:31) 18 at foo4 (hidden:33:33) 19 at func_main_0 (hidden:35:1)
|
| D | pgo_expect_output.txt | 4 # You may obtain a copy of the License at 15 at foo1 (hidden:24:24) 16 at foo2 (hidden:27:27) 17 at foo3 (hidden:30:30) 18 at foo4 (hidden:33:33) 19 at func_main_0 (hidden:35:1)
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception3/ |
| D | expect_output.txt | 4 # You may obtain a copy of the License at 15 at unknown (maybe inlined). depth: 2 16 at unknown (maybe inlined). depth: 1 17 at unknown (maybe inlined). depth: 0 18 at foo5 (hidden:37:37) 19 at func_main_0 (hidden:38:1)
|
| D | pgo_expect_output.txt | 4 # You may obtain a copy of the License at 15 at foo1 (hidden:24:24) 16 at foo3 (hidden:30:30) 17 at foo4 (hidden:33:33) 18 at foo5 (hidden:36:36) 19 at func_main_0 (hidden:38:1)
|
| /arkcompiler/runtime_core/assembler/tests/ |
| D | assembler_parser_test.cpp | 5 * You may obtain a copy of the License at 49 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; 50 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[1], 2) << "2 expected"; 71 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].label, "label") << "label expected"; 72 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].set_label, true) << "true expected"; 73 …EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::INVALID) << "NONE expect… 254 EXPECT_EQ(item.Value().function_table.at(func_name).ins[3].ids[0], "foo") << "nain expected"; 255 EXPECT_EQ(item.Value().function_table.at(func_name).ins[0].regs[0], 0) << "1 expected"; 256 EXPECT_EQ(item.Value().function_table.at(func_name).ins[0].regs[1], 5) << "2 expected"; 314 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::JMP) << "ID expected"; [all …]
|
| D | parser_test.cpp | 5 * You may obtain a copy of the License at 35 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::MOV); in TEST() 36 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; in TEST() 37 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[1], 2) << "2 expected"; in TEST() 52 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].label, "label") << "label expected"; in TEST() 53 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].set_label, true) << "true expected"; in TEST() 54 …ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::INVALID) << "NONE expect… in TEST() 91 … ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::ADDI) << "IMM expected"; in TEST() 92 …ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].imms[0], Ins::IType(int64_t(1))) << "1 e… in TEST() 107 … ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::ADDI) << "IMM expected"; in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/tests/ |
| D | parser_test.cpp | 5 * You may obtain a copy of the License at 38 ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].opcode, Opcode::MOV); in TEST() 39 ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].regs[0], 1) << "1 expected"; in TEST() 40 ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].regs[1], 2) << "2 expected"; in TEST() 55 ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].label, "label") << "label expected"; in TEST() 56 ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].setLabel, true) << "true expected"; in TEST() 57 …ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].opcode, Opcode::INVALID) << "NONE expected… in TEST() 94 ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].opcode, Opcode::ADDI) << "IMM expected"; in TEST() 95 …ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].imms[0], Ins::IType(int64_t(1))) << "1 exp… in TEST() 110 ASSERT_EQ(item.Value().functionTable.at(sigMain).ins[0].opcode, Opcode::ADDI) << "IMM expected"; in TEST() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/ |
| D | scc.h | 5 * You may obtain a copy of the License at 228 nodes.at(id) = &rootNode; in BuildSCCDFS() 229 visitedOrder.at(id) = visitIndex; in BuildSCCDFS() 230 lowestOrder.at(id) = visitIndex; in BuildSCCDFS() 232 inStack.at(id) = true; in BuildSCCDFS() 242 if (visitedOrder.at(outNodeId) == 0) { in BuildSCCDFS() 246 if (lowestOrder.at(outNodeId) < lowestOrder.at(id)) { in BuildSCCDFS() 247 lowestOrder.at(id) = lowestOrder.at(outNodeId); in BuildSCCDFS() 249 } else if (inStack.at(outNodeId) && (visitedOrder.at(outNodeId) < lowestOrder.at(id))) { in BuildSCCDFS() 251 lowestOrder.at(id) = visitedOrder.at(outNodeId); in BuildSCCDFS() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception8/ |
| D | pgo_expect_output.txt | 4 # You may obtain a copy of the License at 16 at name (hidden:25:25) 17 at foo1 (hidden:31:31) 18 at foo2 (hidden:34:34) 19 at func_main_0 (hidden:37:1)
|
| D | expect_output.txt | 4 # You may obtain a copy of the License at 16 at name (hidden:25:25) 17 at unknown (maybe inlined). depth: 0 18 at foo2 (hidden:35:35) 19 at func_main_0 (hidden:37:1)
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ArrayTest4.sts | 5 * You may obtain a copy of the License at 59 return a + b + arr.at(index)!; 139 return a + b + arr.at(index)!; 150 initialValue = -arr.at(0)!; 174 initialValue = -arr.at(0)!; 195 initialValue = -arr.at(0)!; 209 let tmp = arr.at(index)! + a; 272 if (res.at(i) == undefined) { return fail; } 274 if (res.at(0)! != -5) { return fail; } 275 if (res.at(1)! != -1) { return fail; } [all …]
|