Home
last modified time | relevance | path

Searched full:3 (Results 1 – 25 of 4318) sorted by relevance

12345678910>>...173

/arkcompiler/ets_runtime/test/aottest/createarrayimm16/
Dcreatearrayimm16.ts19 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/
Dexpect_output.txt14 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/ets_frontend/arkguard/test/grammar/compact/
DnumericLiteralsWithTrailingDecimalPoints_expected.txt13.;var i: number = 1;var test1 = i.toString();var test3 = 3..toString();var test4 = 3..toString();…
DnumericLiteralsWithTrailingDecimalPoints.ts18 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/ets_runtime/test/moduletest/array/
Dexpect_output.txt19 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/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/02.order_of_expression_evaluation/
Dint_parens.params.yaml16 - {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_runtime/test/moduletest/arrayEvery/
Dexpect_output.txt15 …:0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"index":2,"array":[1,2,3,…
18 …"value":1,"index":0,"array":[1,2,-3,4]},{"value":2,"index":1,"array":[1,2,-3,4]},{"value":-3,"inde…
20 Test case 3:
27 Log: [{"value":3,"index":2,"array":[null,null,3,null,5]},{"value":5,"index":4,"array":[null,null,3,…
30 Log: [{"value":1,"index":0,"array":[1,null,3]},{"index":1,"array":[1,null,3]}] Result: false
42 Log: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]}] Result: true
48 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
51 Log: [{"value":1,"index":0,"array":[1,2,3]}] Result: false
54 Log: [{"value":[1,2],"index":0,"array":[[1,2],[3,4]]},{"value":[3,4],"index":1,"array":[[1,2],[3,4]…
57 Log: [{"value":{"x":3},"index":0,"array":[{"x":3},{"x":3}]},{"value":{"x":3},"index":1,"array":[{"x…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/
Dlist.copyWithin.yaml16 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/std/core/
Dlist.copyWithin.yaml16 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/arrayfind/
Dexpect_output.txt19 3,undefined
27 3,undefined
37 …e":1,"index":0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"index":2,"ar…
40 …:0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"index":2,"array":[1,2,3,…
42 Find Test case 3:
49 …e":1,"index":0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"index":2,"ar…
55 …lue":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index":2,"arra…
61 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
64 Log: [{"value":1,"index":0,"array":[1,2,3]}] Result: 1
67 …e":1,"index":0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"index":2,"ar…
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayconcat/
Dexpect_output.txt15 a,b,c,1,2,3
16 1,2,3,4,5,6,7,8,9
17 a,b,c,1,2,3
18 1,2,3,2,3
19 1,2,3,2,3
20 1,,3,4,5
21 1,2,3,,5
23 1 3 2 ab 1
24 1 3 2 ab 1
25 1 3 2 ab 1
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayfindindex/
Dexpect_output.txt18 … [{"value":1,"index":0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"inde…
21 …:0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"index":2,"array":[1,2,3,…
23 FindIndex Test case 3:
30 … [{"value":1,"index":0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"inde…
36 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
42 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
45 Log: [{"value":1,"index":0,"array":[1,2,3]}] Result: 0
48 … [{"value":1,"index":0,"array":[1,2,3,4]},{"value":2,"index":1,"array":[1,2,3,4]},{"value":3,"inde…
60 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
63 Log: [{"value":[1],"index":0,"array":[[1],[2],[3]]},{"value":[2],"index":1,"array":[[1],[2],[3]]}] …
[all …]
/arkcompiler/ets_runtime/test/moduletest/arraySome/
Dexpect_output.txt15 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
18 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
20 Some Test Case 3:
27 Log: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]}] Result: true
30 Log: [{"value":null,"index":0,"array":[null,2,3]}] Result: true
33 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
39 Log: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]}] Result: true
42 …g: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[1,2,3]},{"value":3,"index"…
45 Log: [{"value":1,"index":0,"array":[1,2,3]}] Result: true
51 Log: [{"value":1,"index":0,"array":[1,2,3]},{"value":2,"index":1,"array":[2,2,3]}] Result: true
[all …]
/arkcompiler/ets_runtime/test/moduletest/decodeuricomponent/
Dexpect_output.txt22 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/sharedtest/sharedtypedarray/
Dexpect_output.txt54 From an iterable: 3, array: [1,2,3]
371 3
380 10 4 3 2 1
388 10 4 3 2 1
396 10 4 3 2 1
404 10 4 3 2 1
412 10 4 3 2 1
420 10 4 3 2 1
428 10 4 3 2 1
436 10 4 3 2 1
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_fast_call_bridge/
Dpgo_fast_call_bridge.ts29 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
Dpgo_expect_output.txt16 3
17 3
18 3
19 3
20 3
21 3
22 3
23 3
24 3
Dexpect_output.txt16 3
17 3
18 3
19 3
20 3
21 3
22 3
23 3
24 3
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/03.operator_precedence/
Dpostfix.sts21 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 …]
Dprefix.sts21 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/
Dclassstatic.ts40 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_frontend/ets2panda/test/parser/ets/
Dbinary_operations.sts17 private sum1 : int = 3 + 2;
18 private sum2 : int = 3 + 2 - 4 + 1;
19 private sub1 : int = 8 - 3;
20 private sub2 : int = 8 - 3 + 8;
21 private rem1 : int = 5 % 3;
22 private rem2 : int = 5 % 3 - 2 * 8;
30 private bit1 : int = 7 & 3;
31 private bit2 : int = 7 | 3;
32 private bit3 : int = 7 ^ 3;
33 private b1 : boolean = 3 < 8;
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayfrom/
Dexpect_output.txt18 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/ets_runtime/test/sharedtest/sharedarray/
Dexpect_output.txt43 3
50 3,3,3,3
51 3,4,4,3
52 3,5,5,3
87 1,2,3
94 4,3
95 4,3,2,6,4,3,4
97 1,3,5
99 artTSTest1: 1,2,3
100 arkTSTest2: 1,2,3
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sharedJSON/
Dexpect_output.txt15 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]
96 sendableMap6 arr: 1,2,3
107 {"people":{"name":"Mary","sex":"1","height":165,"args":{"arr":[1,2,3],"check":true,"num":null}}}
[all …]

12345678910>>...173