| /arkcompiler/ets_runtime/test/moduletest/createarray/ |
| D | createarray.js | 23 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 24 0x00, 0x02, 0x00, 0x00, 0xcd, 0x1f, 0x40, 0xcd, 0x37, 0x56, 0x2f, 0x78, 0xbb, 0x27, 0x1e, 0xba, 25 0x66, 0xba, 0x84, 0xc6, 0xdb, 0xa0, 0x72, 0xf3, 0x1b, 0x53, 0x8c, 0x46, 0x99, 0x65, 0x0d, 0xf7, 26 0xb4, 0xae, 0x19, 0x46, 0x1e, 0x05, 0xb0, 0xbc, 0xe1, 0x84, 0x9b, 0x44, 0xc5, 0x06, 0x18, 0xef, 27 0x68, 0x4b, 0x80, 0xf4, 0xfc, 0x00, 0x79, 0x8e, 0x21, 0x5e, 0x8f, 0x26, 0x65, 0x69, 0x09, 0x31, 28 0x4b, 0xa0, 0x95, 0x37, 0x53, 0xa2, 0xf5, 0x52, 0x78, 0xb5, 0x3c, 0xec, 0x58, 0x25, 0x1f, 0x23, 29 0x99, 0x89, 0xc1, 0x46, 0x29, 0x65, 0xbb, 0xbe, 0x59, 0x4c, 0xe4, 0x6f, 0xfc, 0xeb, 0x53, 0xe5, 30 0x33, 0x6e, 0x9a, 0x14, 0x57, 0x2a, 0x39, 0xc5, 0xec, 0x4e, 0xc3, 0x3e, 0xcf, 0x76, 0xa3, 0xe9, 31 0xf8, 0xe3, 0x8a, 0x40, 0x1b, 0x3d, 0x07, 0x0e, 0xe4, 0x8e, 0xc7, 0x03, 0xbe, 0xf0, 0x3b, 0xb1, 32 0x25, 0x4d, 0x20, 0x07, 0x9d, 0x2a, 0x18, 0x92, 0x4b, 0x62, 0x34, 0x73, 0xbc, 0x60, 0x3c, 0x18, [all …]
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_imm_fetch_tests.cpp | 30 const uint8_t bytecode[] = {0x4f, 0x17}; in TEST() 32 EXPECT_EQ(static_cast<uint8_t>(inst.GetOpcode()), 0x4f); in TEST() 33 …PECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0>()), static_cast<int8_t>(0x17)); in TEST() 34 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0, true>()), in TEST() 35 static_cast<int8_t>(0x17)); in TEST() 36 EXPECT_EQ(inst.GetImmData(0), static_cast<int64_t>(0x17)); in TEST() 42 const uint8_t bytecode[] = {0x4d, 0xea}; in TEST() 44 EXPECT_EQ(static_cast<uint8_t>(inst.GetOpcode()), 0x4d); in TEST() 45 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), static_cast<int8_t>(-22)); in TEST() 46 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0, true>()), static_cast<int8_t>(-22)); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/06.string_literals/ |
| D | hex.ets | 21 …22\x23\x24\x25\x26\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a… 23 for (let i = 0; i < s.length; i++) {
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode/ts/ic/ |
| D | ic-slot-8-16-bit-sort-expected.txt | 1 slotNum = 0x0 11 slotNum = 0x81 16 ldai 0x0 17 trystglobalbyname 0x0, a0 18 ldai 0x1 19 trystglobalbyname 0x1, a1 21 callruntime.isfalse 0x2 23 callruntime.isfalse 0x3 25 callruntime.isfalse 0x4 27 callruntime.isfalse 0x5 [all …]
|
| D | ic-slot-8-16-bit-no-sort-expected.txt | 1 slotNum = 0x0 11 slotNum = 0x80 16 ldai 0x0 17 trystglobalbyname 0x0, a0 18 ldai 0x1 19 trystglobalbyname 0x1, a1 21 callruntime.isfalse 0x2 23 callruntime.isfalse 0x3 25 callruntime.isfalse 0x4 27 callruntime.isfalse 0x5 [all …]
|
| D | ic-slot-no-overflow-expected.txt | 1 slotNum = 0x0 11 slotNum = 0x80 17 callruntime.isfalse 0x0 19 callruntime.isfalse 0x1 21 callruntime.isfalse 0x2 23 callruntime.isfalse 0x3 25 callruntime.isfalse 0x4 27 callruntime.isfalse 0x5 29 callruntime.isfalse 0x6 31 callruntime.isfalse 0x7 [all …]
|
| D | ic-slot-8-overflow-gap-0xfe-expected.txt | 1 slotNum = 0x0 11 slotNum = 0x81 17 callruntime.isfalse 0x0 19 callruntime.isfalse 0x1 21 callruntime.isfalse 0x2 23 callruntime.isfalse 0x3 25 callruntime.isfalse 0x4 27 callruntime.isfalse 0x5 29 callruntime.isfalse 0x6 31 callruntime.isfalse 0x7 [all …]
|
| D | ic-slot-8-overflow-16-gap-expected.txt | 1 slotNum = 0x0 11 slotNum = 0x83 16 ldai 0x0 17 trystglobalbyname 0x0, a0 18 ldai 0x1 19 trystglobalbyname 0x1, a1 21 callruntime.isfalse 0x2 23 callruntime.isfalse 0x3 25 callruntime.isfalse 0x4 27 callruntime.isfalse 0x5 [all …]
|
| D | ic-slot-8-overflow-no-gap-expected.txt | 1 slotNum = 0x0 11 slotNum = 0x81 17 callruntime.isfalse 0x0 19 callruntime.isfalse 0x1 21 callruntime.isfalse 0x2 23 callruntime.isfalse 0x3 25 callruntime.isfalse 0x4 27 callruntime.isfalse 0x5 29 callruntime.isfalse 0x6 31 callruntime.isfalse 0x7 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/01.character_type_and_literals/01.character_literals/ |
| D | char_literals.ets | 24 for (let i = 0; i < escaped_chars.length; i++) { 35 c'\x34', c'\x35', c'\x36', c'\x37', c'\x38', c'\x39', c'\x3a', c'\x3b', c'\x3c', 45 for (let i: Int = 0; i < 128; i++) { 60 let j = 0;
|
| /arkcompiler/ets_frontend/es2panda/lexer/token/ |
| D | letters.h | 23 #define LEX_CHAR_NULL 0x00 /* \0 */ 26 #define LEX_CHAR_LF 0x0A /* line feed */ 27 #define LEX_CHAR_CR 0x0D /* carriage return */ 28 #define LEX_CHAR_LS 0x2028 /* line separator */ 29 #define LEX_CHAR_PS 0x2029 /* paragraph separator */ 31 #define LEX_CHAR_LOWERCASE_A 0x61 /* a */ 32 #define LEX_CHAR_LOWERCASE_B 0x62 /* b */ 33 #define LEX_CHAR_LOWERCASE_C 0x63 /* c */ 34 #define LEX_CHAR_LOWERCASE_D 0x64 /* d */ 35 #define LEX_CHAR_LOWERCASE_E 0X65 /* e */ [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/optimizer/ts/branch-elimination/projects/ts_ohmurl_project/ |
| D | test-import-exec-expected.pa.txt | 1 slotNum = 0x0 7 stmodulevar 0x0 9 stmodulevar 0x1 15 slotNum = 0x0 21 stmodulevar 0x0 27 slotNum = 0x0 33 stmodulevar 0x0 39 slotNum = 0x0 45 stmodulevar 0x5 47 stmodulevar 0x6 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/js/ |
| D | many_locals_1.js | 18 let x0 = 0 53 let x35 = 35 variable
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | manyLocalsParamRegUsage.ets | 282 0, 283 0, 284 0, 285 0, 286 0, 287 0, 288 0, 289 0, 290 0, 291 0, [all …]
|
| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | letters.h | 23 inline constexpr char32_t LEX_CHAR_NULL = 0x00; /* \0 */ 26 inline constexpr char32_t LEX_CHAR_LF = 0x0A; /* line feed */ 27 inline constexpr char32_t LEX_CHAR_CR = 0x0D; /* carriage return */ 28 inline constexpr char32_t LEX_CHAR_LS = 0x2028; /* line separator */ 29 inline constexpr char32_t LEX_CHAR_PS = 0x2029; /* paragraph separator */ 31 inline constexpr char32_t LEX_CHAR_LOWERCASE_A = 0x61; /* a */ 32 inline constexpr char32_t LEX_CHAR_LOWERCASE_B = 0x62; /* b */ 33 inline constexpr char32_t LEX_CHAR_LOWERCASE_C = 0x63; /* c */ 34 inline constexpr char32_t LEX_CHAR_LOWERCASE_D = 0x64; /* d */ 35 inline constexpr char32_t LEX_CHAR_LOWERCASE_E = 0X65; /* e */ [all …]
|
| /arkcompiler/runtime_core/abc2program/tests/ts/release-line-number/ |
| D | InvalidOpcodeExpected.txt | 6 _ESModuleRecord_613 { 6 [ i32:0, i32:0, i32:0, i32:0, i32:0, i32:0, ]} 51 ldai 0x1 # line: 17 # column: 0 52 sta v0 # line: 17 # column: 0 53 lda v0 # line: 17 # column: 0 54 stricteq 0x0, v0 # line: 17 # column: 0 55 jeqz label@11 # line: 17 # column: 0 56 tryldglobalbyname 0x1, print # line: 18 # column: 0 57 sta v1 # line: 18 # column: 0 58 lda.str 111 # line: 18 # column: 0 59 sta v2 # line: 18 # column: 0 [all …]
|
| D | TsNewFeatrueSyntaxExpected.txt | 6 _ESModuleRecord_2044 { 6 [ i32:0, i32:0, i32:0, i32:0, i32:0, i32:0, ]} 12 _GLOBAL_2106 { 2 [ tag_value:2, i32:0, ]} 14 _GLOBAL_2115 { 4 [ tag_value:5, string:"value", tag_value:255, null_value:0, ]} 16 …tag_value:5, string:"getName", tag_value:6, method:.#~@0>#getName, tag_value:9, method_affiliate:0… 18 …getName", tag_value:6, method:.#~@1>#getName, tag_value:9, method_affiliate:0, tag_value:2, i32:1,… 20 …hod", tag_value:6, method:.#~C>#publicMethod, tag_value:9, method_affiliate:0, tag_value:2, i32:1,… 22 …0, tag_value:26, getter:.#~C>#^1, tag_value:9, method_affiliate:0, tag_value:27, setter:.#~C>#^2, … 24 _GLOBAL_2249 { 2 [ tag_value:2, i32:0, ]} 28 _GLOBAL_2282 { 2 [ tag_value:2, i32:0, ]} 71 createobjectwithbuffer 0x0, _GLOBAL_2115 # line: 120 # column: 0 [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/ |
| D | test-nested-try-catch-expected.pa.txt | 1 slotNum = 0x1e 13 ldai 0x1 24 tryldglobalbyname 0x0, print 25 callarg1 0x1, v4 26 tryldglobalbyname 0x3, print 27 callarg1 0x4, v5 36 tryldglobalbyname 0x6, print 37 callarg1 0x7, v3 43 ldai 0x3 61 ldai 0x5 [all …]
|
| /arkcompiler/runtime_core/verifier/tests/ |
| D | verify_constant_pool_tests.cpp | 37 std::vector<uint8_t> method_id_in_test_constant_pool = {0x0e, 0x00}; 39 std::vector<uint8_t> string_id_in_test_constant_pool = {0x0c, 0x00}; 41 std::vector<uint8_t> literal_id_in_test_constant_pool = {0x0f, 0x00}; 43 std::vector<uint8_t> jump_ins_id_in_test_constant_pool = {0x4f, 0x0c}; 100 for (size_t i = buffer.size() - 1; i >= 0; --i) { 101 if (buffer[i] == method_id[0] && buffer[i + 1] == method_id[1]) { 102 buffer[i] = static_cast<unsigned char>(new_method_id[0]); 125 … buffer_0[12] = static_cast<unsigned char>(panda_file::LAST_CONTAINS_LITERAL_IN_HEADER_VERSION[0]); 160 for (size_t i = 0; i < buffer.size(); ++i) { 161 if (buffer[i] == literal_id[0] && buffer[i + 1] == literal_id[1]) { [all …]
|
| /arkcompiler/toolchain/tooling/dynamic/test/ |
| D | pt_base64_test.cpp | 52 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0() 56 EXPECT_EQ(len, 0u); in HWTEST_F_L0() 64 size_t len = 0; in HWTEST_F_L0() 165 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0() 174 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0() 183 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0() 191 … 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, in HWTEST_F_L0() 192 … 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, in HWTEST_F_L0() 193 … 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, in HWTEST_F_L0() 194 … 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/binder/noModule/ |
| D | scopeNames-order-without-module-expected.txt | 1 slotNum = 0x5a 2 expectedProperty = 0x12 9 defineclasswithbuffer 0x0, .#~A=A~BB=#BB, _1, 0x0, v0 11 ldobjbyname 0x1, prototype 13 stobjbyname 0x3, B, a2 16 defineclasswithbuffer 0x5, .#~A=A~@0=#CCC, _2, 0x0, v0 18 ldobjbyname 0x6, prototype 20 stobjbyname 0x8, C, a2 23 defineclasswithbuffer 0xa, .#~A=A~@1=#DDD, _3, 0x0, v0 25 ldobjbyname 0xb, prototype [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/binder/ |
| D | index-hex-name-js-expected.txt | 1 slotNum = 0x2 2 expectedProperty = 0x12 7 ldlexvar 0x0, 0x0 8 callruntime.callinit 0x0, a2 14 slotNum = 0x5a 21 defineclasswithbuffer 0x0, .#~A>@0~BB=#BB, _2, 0x0, v0 23 ldobjbyname 0x1, prototype 25 definepropertybyname 0x3, BB, a2 28 defineclasswithbuffer 0x5, .#~A>@0~@1=#CCC, _3, 0x0, v0 30 ldobjbyname 0x6, prototype [all …]
|
| D | index-hex-name-ts-expected.txt | 1 slotNum = 0x5a 2 expectedProperty = 0x12 9 defineclasswithbuffer 0x0, .#~A=A~BB=#BB, _2, 0x0, v0 11 ldobjbyname 0x1, prototype 13 stobjbyname 0x3, B, a2 16 defineclasswithbuffer 0x5, .#~A=A~@0=#CCC, _3, 0x0, v0 18 ldobjbyname 0x6, prototype 20 stobjbyname 0x8, C, a2 23 defineclasswithbuffer 0xa, .#~A=A~@1=#DDD, _4, 0x0, v0 25 ldobjbyname 0xb, prototype [all …]
|
| /arkcompiler/runtime_core/abc2program/tests/ts/release-column-number/ |
| D | ReleaseEnableColumnNumberCallargsExpected.txt | 6 _ESModuleRecord_989 { 6 [ i32:0, i32:0, i32:0, i32:0, i32:0, i32:0, ]} 51 tryldglobalbyname 0x0, print # line: 28 # column: 0 52 sta v0 # line: 28 # column: 0 53 lda.str callRange # line: 28 # column: 0 54 sta v1 # line: 28 # column: 0 56 callarg1 0x1, v1 # line: 28 # column: 4 57 returnundefined # line: 29 # column: 0 65 tryldglobalbyname 0x0, print # line: 19 # column: 0 66 sta v0 # line: 19 # column: 0 67 lda.str callarg1 # line: 19 # column: 0 [all …]
|
| D | ReleaseEnableColumnNumberCallthisExpected.txt | 6 _ESModuleRecord_966 { 6 [ i32:0, i32:0, i32:0, i32:0, i32:0, i32:0, ]} 10 …0, tag_value:5, string:"callthis1", tag_value:6, method:.#~A>#callthis1, tag_value:9, method_affil… 55 lda a3 # line: 18 # column: 0 56 stobjbyname 0x0, b, a2 # line: 18 # column: 0 57 lda a2 # line: 19 # column: 0 58 return # line: 19 # column: 0 63 SlotNumber 0 66 returnundefined # line: 25 # column: 0 71 SlotNumber 0 74 returnundefined # line: 27 # column: 0 [all …]
|