| /arkcompiler/ets_runtime/test/aottest/builtins_string/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 14 sd-93u498thikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 15 sd-93u498thikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 16 sd-93u498thikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 18 sd-93u498thikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 19 hikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 20 sd-93u498thikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 21 sd-93u498thikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 22 hikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw 26 sd-93u498thikefnow8y3-0rh1nalksfnwo8y3t19-3r8hoiefnw [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/02.order_of_expression_evaluation/ |
| D | int_parens.params.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 --- # List of integer addition and multiplication associative tests 16 - {left: "2+3+4+5", right: "(2+3)+4+5"} 17 - {left: "2+3+4+5", right: "(2+3)+(4+5)"} 18 - {left: "2+3+4+5", right: "2+(3+4)+5"} 19 - {left: "2+3+4+5", right: "2+3+(4+5)"} 20 - {left: "2+3+4+5", right: "(((2+3)+4)+5)"} 21 - {left: "2+3+4+5", right: "((2+3)+4)+5"} 23 - {left: "2*3*4*5", right: "(2*3)*4*5"} [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/ |
| D | list.copyWithin.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 - { 16 expected: [1, 2, 3, 4, 5], 17 params: [6, 2, 3] 19 - { 21 expected: [1, 2, 3, 4, 5], 22 params: [-3, 2, 3] 24 - { 26 expected: [1, 2, 3, 4, 5], [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/ |
| D | list.copyWithin.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 - { 16 expected: [1, 2, 3, 4, 5], 17 params: [6, 2, 3] 19 - { 21 expected: [1, 2, 3, 4, 5], 22 params: [-3, 2, 3] 24 - { 26 expected: [1, 2, 3, 4, 5], [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/array/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 19 1,2,3,4,5 21 1,2,3,4 23 1,2,3,3 25 2,3,4,5,6 26 5,4,3,2,1 47 3 66 3 69 -1 78 6,,4,3,2,1 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | sendable_class_interface_property.ts.json | 8 "http://www.apache.org/licenses/LICENSE-2.0", 22 …"Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-variables)" 26 "column": 3, 29 … in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-sendable-prop-types)" 33 "column": 3, 36 … in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-sendable-prop-types)" 40 "column": 3, 43 … in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-sendable-prop-types)" 47 "column": 3, 50 … in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-sendable-prop-types)" [all …]
|
| /arkcompiler/ets_runtime/test/aottest/createarrayimm16/ |
| D | createarrayimm16.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 19 let a0:number[] = [1, 2, 3]; 20 let a1:number[] = [1, 2, 3]; 21 let a2:number[] = [1, 2, 3]; 22 let a3:number[] = [1, 2, 3]; 23 let a4:number[] = [1, 2, 3]; 24 let a5:number[] = [1, 2, 3]; 25 let a6:number[] = [1, 2, 3]; 26 let a7:number[] = [1, 2, 3]; 27 let a8:number[] = [1, 2, 3]; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/03.operator_precedence/ |
| D | postfix.sts | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 18 ---*/ 21 let res: int, t2 = 2, t3 = 3, t4 = 4, t8 = 8, t255 = 255 25 if (res != 2 || t2 != 3) return 1; 28 res = + t2-- 33 res = - t2++ 34 if (res != -2 || t2 != 3) return 1; 37 res = - t2-- [all …]
|
| D | prefix.sts | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 18 ---*/ 21 let res: int, t2 = 2, t3 = 3, t4 = 4, t8 = 8, t255 = 255 25 if (res != 3 || t2 != 3) return 1; 28 res = + --t2 33 res = - ++t2 34 if (res != -3 || t2 != 3) return 1; 37 res = - --t2 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | binary_operations.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 19 private sum1 : int = 3 + 2; 20 private sum2 : int = 3 + 2 - 4 + 1; 21 private sub1 : int = 8 - 3; 22 private sub2 : int = 8 - 3 + 8; 23 private rem1 : int = 5 % 3; 24 private rem2 : int = 5 % 3 - 2 * 8; 28 private div2 : double = 4.2 / (2.2 - 0.1) + (3.3 / 6.1); 32 private bit1 : int = 7 & 3; 33 private bit2 : int = 7 | 3; [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedtypedarray/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 47 From an non-sendable ArrayBuffer: BusinessError: Parameter error. Only accept sendable value., errC… 54 From an iterable: 3, array: [1,2,3] 308 -1 309 -1 311 -1 312 -1 314 -1 315 -1 317 -1 [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/typearray/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 30 3,2,1 31 1,2,3 42 not-equal 69 2,3,4,5,6,7,8,9,9 70 1,2,3,4,5,6,1,2,3 71 1,2,3,4,2,3,4,5,6 72 1,2,3,4,8,9,7,8,9 73 1,2,3,4,1,2,3,4,5 74 1,1,2,3,4,5,6,7,8 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/03.numeric_operator_contexts/binary_numeric_promotion/ |
| D | result_type_bitwise.params.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 --- 16 - { type: byte, val: 1 as byte, rt: byte, rv: 1 as byte, op: '&', res: 3 } 17 - { type: byte, val: 1 as byte, rt: short, rv: 1 as short, op: '^', res: 3 } 18 - { type: byte, val: 1 as byte, rt: char, rv: "c'0'", op: '|', res: 3 } 19 - { type: byte, val: 1 as byte, rt: int, rv: 1, op: '&', res: 3 } 20 - { type: byte, val: 1 as byte, rt: long, rv: 1 as long, op: '^', res: 4 } 21 - { type: byte, val: 1 as byte, rt: float, rv: 1.0 as float, op: '&', res: 3 } 22 - { type: byte, val: 1 as byte, rt: double, rv: 4, op: '^', res: 4 } [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedJSON/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 15 sharedObj.arr: 1,2,3,4,5 20 sharedArr: 1,3,5,7,9 24 stringify1: {"innerEntry":{"x":1,"y":"abc","str":"innerStr"},"arr":[1,2,3,4,5]} 25 stringify2: {"innerEntry":{"x":1,"y":"abc","str":"innerStr"},"arr":[1,2,3,4,5]} 26 stringify3: {"innerEntry":{"x":1,"y":"abc","str":"innerStr"},"arr":[1,2,3,4,5]} 27 stringify4: [1,3,5,7,9] 28 stringify5: [1,3,5,7,9] 29 stringify6: [1,3,5,7,9] 73 1.23e-14 [all …]
|
| /arkcompiler/runtime_core/static_core/disassembler/tests/ |
| D | literals_test.cpp | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 21 #include "assembly-parser.h" 31 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractArrayBody() 39 .array array0 i32 3 { 2 3 4} in TEST() 40 .array array1 i32 3 { 2 3 4} in TEST() 41 .array array2 i32 3 { 2 3 4} in TEST() 42 .array array3 i32 3 { 2 3 4} in TEST() 55 EXPECT_TRUE(ss.str().find(".array array_0 i32 3 { 2 3 4 }") != std::string::npos); in TEST() 56 EXPECT_TRUE(ss.str().find(".array array_1 i32 3 { 2 3 4 }") != std::string::npos); in TEST() [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/compact/ |
| D | numericLiteralsWithTrailingDecimalPoints.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 18 1. + 2.0 + 3.; 22 var test3 = 3 .toString(); 23 var test4 = 3 .toString(); 24 var test5 = 3 .toString(); 25 var test6 = 3.['toString'](); 26 var test7 = 3 29 var test9 = 3. + 3.; 31 var test11 = 3. /* comment */.toString(); 32 var test12 = 3 [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/objectentries/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 20 b,-1 23 e,-2147483648 24 f,-2147483649 25 3,30,5,50,a,somestring,b,42 26 1,10,3,30,4,40,5,50,a,somestring,b,42 27 0,t,1,e,2,s,3,t 28 [["0",-5],["1",10],["2",20],["3",30],["4",40],["5",50],["6",60]] 29 [["a",1],["b",2],["c",3]] 30 [["a",1],["b",2],["c",3]] [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/spreadoperator/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 15 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 18 3 20 3 22 3 24 3 25 1,2,3 26 a,1 b,2 c,3 27 1 2 3 29 1 2 3 [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/ |
| D | test-ts-decorators-3-expected.txt | 1 test-ts-decorators-3 3 test-ts-decorators-3 5 test-ts-decorators-3 7 test-ts-decorators-3 9 test-ts-decorators-3 10 3
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | code_sink_test.cpp | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 23 // NOLINTBEGIN(readability-magic-numbers) 31 CONSTANT(3U, 0x0U).s64(); in TEST_F() 32 BASIC_BLOCK(2U, 3U, 4U) in TEST_F() 35 INST(6U, Opcode::Compare).b().CC(CC_NE).Inputs(0U, 3U); in TEST_F() 38 BASIC_BLOCK(4U, -1L) in TEST_F() 42 BASIC_BLOCK(3U, -1L) in TEST_F() 44 INST(11U, Opcode::Return).s64().Inputs(3U); in TEST_F() 53 CONSTANT(3U, 0x0U).s64(); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | TypedArrayConstructorNumbersInts.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 30 const nums = [1, 2, 3, 4, 5, Infinity, -Infinity, NaN, -1, -65536] 32 1 as int, 2 as int, 3 as int, 4 as int, 33 5 as int, -1 as int, -65536 as int 39 "1,2,3,4,5,0,0,0,-1,0", 45 "1,2,3,4,5,-1,0", 51 "1,2,3,4,5,0,0,0,-1,0", 56 "1,2,3,4,5,-1,0", 62 "1,2,3,4,5,0,0,0,-1,-65536", 67 "1,2,3,4,5,-1,-65536", [all …]
|
| /arkcompiler/runtime_core/static_core/verification/util/tests/ |
| D | obj_pool_test.cpp | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 73 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool1() 75 EXPECT_EQ(pool.AccCount(), 3U); in VerifierTestObjPool1() 76 EXPECT_EQ(result, 3U); in VerifierTestObjPool1() 78 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool1() 84 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool1() 86 EXPECT_EQ(pool.AccCount(), 3U); in VerifierTestObjPool1() 87 EXPECT_EQ(result, 3U); in VerifierTestObjPool1() 95 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool2() [all …]
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
| D | XScroll.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 39 …i().fillRect(this.posX_ + 1, this.posY_ + this.barOff_, this.posW_ - 2, this.posH_ / 3, 0x40000000… 42 …X2DFast.gi().fillRect(this.posX_ + this.barOff_, this.posY_ + 1, this.posW_ / 3, this.posH_ - 2, 0… 62 this.barOff_ = this.posH_ * 2 / 3 * rate; 65 this.barOff_ = this.posW_ * 2 / 3 * rate; 71 return this.barOff_ / (this.posH_ * 2 / 3); 74 return this.barOff_ / (this.posW_ * 2 / 3); 80 if (this.barOff_ > this.posH_ * 2 / 3) { 81 this.barOff_ = this.posH_ * 2 / 3; 86 if (this.barOff_ > this.posW_ * 2 / 3) { [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/decodeuricomponent/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 22 https%3A%2F%2Fwww.runoob.com%2Fmy%20test.php%3Fname%3Dst%C3%A5le%26car%3Dsaab 23 https%3A%2F%2Fwww.runoob.com%2Fmy%20test.php%3Fname%3Dst%C3%A5le%26car%3Dsaab%2Fjfdlskafasfd 24 https%3A%2F%2Fwww.runoob.com%2Fmy%20test.php%3Fname%3Dst%C3%A5le%26car%3Dsaab%2F2389018203 25 https%3A%2F%2Fwww.runoob.com%2Fmy%20test.php%3Fname%3Dst%C3%A5le%26car%3Dsaab%2Fjfdlskafasfd%2Fjd29… 26 https%3A%2F%2Fwww.runoob.com%2Fmy%20test.php%3Fname%3Dst%C3%A5le%26car%3Dsaab%2Fjfdlskafasfd%2Fjd29…
|
| /arkcompiler/ets_runtime/test/aottest/pgo_fast_call_bridge/ |
| D | pgo_fast_call_bridge.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 29 f(prn, 1, 2); // 3 30 f(prn, 1, 2, 3); // 3 31 f(prn, 1, 2, 3, 4); // 3 32 f(prn, 1, 2, 3, 4, 5); // 3 33 f(prn, 1, 2, 3, 4, 5, 6); // 3 34 f(prn, 1, 2, 3, 4, 5, 6, 7); // 3 35 f(prn, 1, 2, 3, 4, 5, 6, 7, 8); // 3 36 f(prn, 1, 2, 3, 4, 5, 6, 7, 8, 9); // 3 37 f(prn, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10); // 3
|