| /arkcompiler/ets_runtime/test/aottest/createarrayimm16/ |
| D | createarrayimm16.ts | 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]; 28 let a9:number[] = [1, 2, 3]; [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtins_string/ |
| D | expect_output.txt | 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 27 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 | 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"} 24 - {left: "2*3*4*5", right: "(2*3)*(4*5)"} 25 - {left: "2*3*4*5", right: "2*(3*4)*5"} 26 - {left: "2*3*4*5", right: "2*3*(4*5)"} [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/compact/ |
| D | numericLiteralsWithTrailingDecimalPoints_expected.txt | 1 …3.; var i: number = 1; var test1 = i.toString(); var test3 = 3..toString(); var test4 = 3..toStrin…
|
| D | numericLiteralsWithTrailingDecimalPoints.ts | 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 34 var test122 = 3 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/ |
| D | list.copyWithin.yaml | 16 expected: [1, 2, 3, 4, 5], 17 params: [6, 2, 3] 21 expected: [1, 2, 3, 4, 5], 22 params: [-3, 2, 3] 26 expected: [1, 2, 3, 4, 5], 27 params: [0, 6, 3] 31 expected: [1, 2, 3, 4, 5], 37 expected: [4, 5, 3, 4, 5], 38 params: [0, 3] 43 params: [1, 3] [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/ |
| D | list.copyWithin.yaml | 16 expected: [1, 2, 3, 4, 5], 17 params: [6, 2, 3] 21 expected: [1, 2, 3, 4, 5], 22 params: [-3, 2, 3] 26 expected: [1, 2, 3, 4, 5], 27 params: [0, 6, 3] 31 expected: [1, 2, 3, 4, 5], 37 expected: [4, 5, 3, 4, 5], 38 params: [0, 3] 43 params: [1, 3] [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/array/ |
| D | expect_output.txt | 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 78 6,,4,3,2,1 79 1,2,3,4,,6 81 1,2,3,4,5 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | sendable_class_interface_property.ts.json | 26 "column": 3, 33 "column": 3, 40 "column": 3, 47 "column": 3, 54 "column": 3, 61 "column": 3, 68 "column": 3, 75 "column": 3, 82 "column": 3, 89 "column": 3, [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/decodeuricomponent/ |
| D | expect_output.txt | 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/moduletest/spreadoperator/ |
| D | expect_output.txt | 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 31 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 | 21 let res: int, t2 = 2, t3 = 3, t4 = 4, t8 = 8, t255 = 255 25 if (res != 2 || t2 != 3) return 1; 34 if (res != -2 || t2 != 3) return 1; 43 if (res != -3 || t2 != 3) return 1; 47 if (res != -3 || t2 != 1) return 1; 52 if (res != 8 || t2 != 3 || t4 != 3) return 1; 63 if (res != 2 || t2 != 3 || t4 != 3) return 1; 74 if (res != 3 || t255 != 254 || t4 != 5) return 1; 79 if (res != 3 || t255 != 256 || t4 != 3) return 1; 90 if (res != 259 || t255 != 256 || t4 != 3) return 1; [all …]
|
| D | prefix.sts | 21 let res: int, t2 = 2, t3 = 3, t4 = 4, t8 = 8, t255 = 255 25 if (res != 3 || t2 != 3) return 1; 34 if (res != -3 || t2 != 3) return 1; 43 if (res != -4 || t2 != 3) return 1; 52 if (res != 9 || t2 != 3 || t4 != 3) return 1; 63 if (res != 1 || t2 != 3 || t4 != 3) return 1; 79 if (res != 1 || t255 != 256 || t4 != 3) return 1; 90 if (res != 259 || t255 != 256 || t4 != 3) return 1; 101 if (res != 253 || t255 != 256 || t4 != 3) return 1; 112 if (res != -3 || t255 != 256 || t4 != 3) return 1; [all …]
|
| /arkcompiler/ets_runtime/test/aottest/classstatic/ |
| D | classstatic.ts | 40 static TwoC = 3; 44 static test3 = 3; 48 static test7 = 3; 52 static test11 = 3; 56 static test14 = 3; 60 static test18 = 3; 64 static test22 = 3; 68 static test26 = 3; 71 static test29 = 3; 74 static test32 = 3; [all …]
|
| /arkcompiler/ets_runtime/test/aottest/pgo_fast_call_bridge/ |
| D | pgo_fast_call_bridge.ts | 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
|
| D | expect_output.txt | 16 3 17 3 18 3 19 3 20 3 21 3 22 3 23 3 24 3
|
| D | pgo_expect_output.txt | 16 3 17 3 18 3 19 3 20 3 21 3 22 3 23 3 24 3
|
| /arkcompiler/ets_runtime/test/moduletest/typearray/ |
| D | expect_output.txt | 30 3,2,1 31 1,2,3 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 124 1 3 129 1 3 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | binary_operations.sts | 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; 32 private bit1 : int = 7 & 3; 33 private bit2 : int = 7 | 3; 34 private bit3 : int = 7 ^ 3; 35 private b1 : boolean = 3 < 8; [all …]
|
| D | ambient_indexer_1-expected.txt | 131 "column": 3 155 "column": 3 179 "column": 3 183 "column": 3 190 "column": 3 194 "column": 3 201 "column": 3 205 "column": 3 213 "column": 3 217 "column": 3 [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedtypedarray/ |
| D | expect_output.txt | 54 From an iterable: 3, array: [1,2,3] 357 1,4,3 358 1,2,3 359 4,2,3 362 1,4,3 363 1,2,3 364 4,2,3 367 1,4,3 368 1,2,3 369 4,2,3 [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/callframe/ |
| D | callframe.js | 83 print(foo0(1,2,3)); 84 print(foo1(1,2,3)); // 'this' is undefined in strict mode 85 print(foo2(1,2,3)); 86 print(foo3(1,2,3)); 87 print(foo4(1,2,3)); 88 print(foo5(1,2,3)); // 'this' is undefined in strict mode 89 print(foo6(1,2,3)); 90 print(foo7(1,2,3)); 91 print(new foo0(1,2,3).a); 92 print(new foo1(1,2,3).a); [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/arrayfrom/ |
| D | expect_output.txt | 18 0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2 27 1,2,3,4 28 {"0":1,"1":2,"2":3,"3":4,"length":4} 32 defineProperty 3 38 get 3 40 {"0":1,"1":2,"2":3,"3":4,"length":4} 44 defineProperty 3 51 get 3 52 [1,2,3,4] 70 ["x",2,3,4,5] [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 | 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 } 21 - { type: byte, val: 1 as byte, rt: float, rv: 1.0 as float, op: '&', res: 3 } 24 - { type: byte, val: 1 as byte, rt: Byte, rv: new Byte(1 as byte), op: '|', res: 3 } 25 - { type: byte, val: 1 as byte, rt: Short, rv: new Short(1 as short), op: '&', res: 3 } 26 - { type: byte, val: 1 as byte, rt: Char, rv: new Char(c'0'), op: '^', res: 3 } 27 - { type: byte, val: 1 as byte, rt: Int, rv: new Int(1), op: '|', res: 3 } 29 - { type: byte, val: 1 as byte, rt: Float, rv: new Float(1.0 as float), op: '|', res: 3 } [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/ |
| D | ArrayTestChecked.sts | 17 const result0 = Array.of<number>(5, 4, 3); 18 assert result0.length == 3; 21 assert (result0.$_get(2)) == 3; 33 const init = Array.of<number>(1, 2, 3, 4, 5, 6) 36 assert (result4.$_get(0)) == 3; 38 assert (result4.$_get(2)) == 3; 39 assert (result4.$_get(3)) == 4; 43 assert (init.$_get(0)) == 3; 45 assert (init.$_get(2)) == 3; 46 assert (init.$_get(3)) == 4; [all …]
|