| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | globalTypesHolder.cpp | 5 * You may obtain a copy of the License at 195 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NUMBER)); in GlobalNumberType() 200 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::ANY)); in GlobalAnyType() 205 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::STRING)); in GlobalStringType() 210 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::BOOLEAN)); in GlobalBooleanType() 215 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::VOID)); in GlobalVoidType() 220 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NULL_ID)); in GlobalNullType() 225 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNDEFINED)); in GlobalUndefinedType() 230 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNKNOWN)); in GlobalUnknownType() 235 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NEVER)); in GlobalNeverType() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception2/ |
| 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)
|
| 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)
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception6/ |
| 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)
|
| 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)
|
| /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 55 result.push(obj.at(-1) == 14); 56 result.push(obj.at(1.5) == 11); 57 result.push(obj.at(-3) == 12); 58 result.push(obj.at("3") == 13) 59 result.push(obj.at(-6) == undefined); 60 result.push(obj.at(5) == undefined); 61 result.push(obj.at({}) == 10); 78 result.push(obj.at(-1) == 9017199254740995n); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception4/ |
| 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)
|
| 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)
|
| /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));
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | work_manager.cpp | 5 * You may obtain a copy of the License at 59 continuousQueue_.at(i) = new ProcessQueue(); 67 continuousQueue_.at(i)->Destroy(); in ~WorkManager() 68 delete continuousQueue_.at(i); in ~WorkManager() 69 continuousQueue_.at(i) = nullptr; in ~WorkManager() 75 WorkNode *&inNode = works_.at(threadId).inNode_; in Push() 85 WorkNode *&inNode = works_.at(threadId).inNode_; in PushWorkNodeToGlobal() 98 WorkNode *&outNode = works_.at(threadId).outNode_; in Pop() 99 WorkNode *&inNode = works_.at(threadId).inNode_; in Pop() 115 return workStack_.Pop(&works_.at(threadId).outNode_); in PopWorkNodeFromGlobal() [all …]
|
| /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/test/aottest/ts_inline_exception7/ |
| 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)
|
| 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)
|
| /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 | 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)
|
| 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)
|
| /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 44 return a + b + arr.at(index)!; 121 return a + b + arr.at(index)!; 132 initialValue = -arr.at(0)!; 155 initialValue = -arr.at(0)!; 175 initialValue = -arr.at(0)!; 187 let tmp = arr.at(index)! + a; 247 if (res.at(i) == undefined) { return fail; } 249 if (res.at(0)! != -5) { return fail; } 250 if (res.at(1)! != -1) { return fail; } [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/ |
| D | scc.h | 5 * You may obtain a copy of the License at 231 nodes.at(id) = &rootNode; in BuildSCCDFS() 232 visitedOrder.at(id) = visitIndex; in BuildSCCDFS() 233 lowestOrder.at(id) = visitIndex; in BuildSCCDFS() 235 inStack.at(id) = true; in BuildSCCDFS() 245 if (visitedOrder.at(outNodeId) == 0) { in BuildSCCDFS() 249 if (lowestOrder.at(outNodeId) < lowestOrder.at(id)) { in BuildSCCDFS() 250 lowestOrder.at(id) = lowestOrder.at(outNodeId); in BuildSCCDFS() 252 } else if (inStack.at(outNodeId) && (visitedOrder.at(outNodeId) < lowestOrder.at(id))) { in BuildSCCDFS() 254 lowestOrder.at(id) = visitedOrder.at(outNodeId); in BuildSCCDFS() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | global_tables.h | 5 * You may obtain a copy of the License at 143 return typeTable.at(tyIdx); in GetTypeFromTyIdx() 149 return typeTable.at(index); in GetTypeFromTyIdx() 155 return typeTable.at(tyIdx)->GetPrimType(); in GetPrimTypeFromTyIdx() 175 return typeTable.at(primType); in GetPrimType() 181 return typeTable.at(PTY_f32); in GetFloat() 187 return typeTable.at(PTY_f64); in GetDouble() 193 return typeTable.at(PTY_f128); in GetFloat128() 199 return typeTable.at(PTY_u1); in GetUInt1() 205 return typeTable.at(PTY_u8); in GetUInt8() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception8/ |
| 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)
|
| 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)
|