Home
last modified time | relevance | path

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

12345678910>>...178

/arkcompiler/ets_runtime/test/aottest/large_func/
Dlarge_func.ts6 add(1, 2);
7 add(1, 2);
8 add(1, 2);
9 add(1, 2);
10 add(1, 2);
11 add(1, 2);
12 add(1, 2);
13 add(1, 2);
14 add(1, 2);
15 add(1, 2);
[all …]
/arkcompiler/ets_runtime/test/aottest/large_func_acc/
Dlarge_func_acc.ts7 r += add(1, 2);
8 r += add(1, 2);
9 r += add(1, 2);
10 r += add(1, 2);
11 r += add(1, 2);
12 r += add(1, 2);
13 r += add(1, 2);
14 r += add(1, 2);
15 r += add(1, 2);
16 r += add(1, 2);
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DjsDeclarationsFunctionKeywordPropExhaustive.ts23 foo.x = 1;
24 AssertType(foo.x = 1, "int");
26 AssertType(1, "int");
28 foo.y = 1;
29 AssertType(foo.y = 1, "int");
31 AssertType(1, "int");
34 foo.break = 1;
35 AssertType(foo.break = 1, "int");
37 AssertType(1, "int");
39 foo.case = 1;
[all …]
DnullPropertyName.ts23 foo.x = 1;
24 AssertType(foo.x = 1, "int");
26 AssertType(1, "int");
28 foo.y = 1;
29 AssertType(foo.y = 1, "int");
31 AssertType(1, "int");
34 foo.break = 1;
35 AssertType(foo.break = 1, "int");
37 AssertType(1, "int");
39 foo.case = 1;
[all …]
DobjectSpreadRepeatedComplexity.ts22 // Type is a union of 2^(n-1) members, where n is the number of spread objects
231] && cnd[2] && { prop0: 0, }), // With one prop each, it coll…
27 ...(cnd[1] &&
28 AssertType((cnd[1] && cnd[2] && { prop0: 0, }), "union");
29 AssertType(cnd[1] && cnd[2] && { prop0: 0, }, "union");
30 AssertType(cnd[1] && cnd[2], "boolean");
31 AssertType(cnd[1], "boolean");
33 AssertType(1, "int");
49 AssertType((cnd[3] && { prop3a: 1, prop3b: 1, }), "union");
50 AssertType(cnd[3] && { prop3a: 1, prop3b: 1, }, "union");
[all …]
DcontextualTypeLogicalOr.ts30 x && [1, 2, 3, 4] ||
311, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1,…
321, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1,…
331, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1,…
341, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1,…
351, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1,…
361, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1,…
37 …&& [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x &&…
38 …ssertType(x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4…
39 AssertType(x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4] || x && [1, 2, 3, 4…
[all …]
DemitCompoundExponentiationOperator2.ts24 comp **= 1;
25 AssertType(comp **= 1, "number");
27 AssertType(1, "int");
29 comp **= comp **= 1;
30 AssertType(comp **= comp **= 1, "number");
32 AssertType(comp **= 1, "number");
34 AssertType(1, "int");
36 comp **= comp **= 1 + 2;
37 AssertType(comp **= comp **= 1 + 2, "number");
39 AssertType(comp **= 1 + 2, "number");
[all …]
DdestructuringWithLiteralInitializers.ts23 f1({ x: 1, y: 1 });
24 AssertType(f1({ x: 1, y: 1 }), "void");
26 AssertType({ x: 1, y: 1 }, "{ x: number; y: number; }");
28 AssertType(1, "int");
30 AssertType(1, "int");
34 f2({ x: 1 });
35 AssertType(f2({ x: 1 }), "void");
37 AssertType({ x: 1 }, "{ x: number; }");
39 AssertType(1, "int");
41 f2({ x: 1, y: 1 });
[all …]
DnestedBlockScopedBindings6.ts22 for (let x of [1]) {
24 AssertType([1], "number[]");
25 AssertType(1, "int");
27 x = x + 1;
28 AssertType(x = x + 1, "number");
30 AssertType(x + 1, "number");
32 AssertType(1, "int");
47 for (let x of [1]) {
49 AssertType([1], "number[]");
50 AssertType(1, "int");
[all …]
DnestedBlockScopedBindings2.ts23 let x = 1;
25 AssertType(1, "int");
32 let x = 1;
34 AssertType(1, "int");
44 let x = 1;
46 AssertType(1, "int");
56 let x = 1;
58 AssertType(1, "int");
77 let x = 1;
79 AssertType(1, "int");
[all …]
DemitExponentiationOperator1.ts21 1 ** -2;
22 AssertType(1 ** -2, "number");
23 AssertType(1, "int");
27 1 ** 2;
28 AssertType(1 ** 2, "number");
29 AssertType(1, "int");
32 (-1) ** 2
33 AssertType((-1) ** 2, "number");
34 AssertType((-1), "int");
35 AssertType(-1, "int");
[all …]
DnewWithSpreadES6.ts42 1: typeof B;
72 new f(1, 2, "string");
73 AssertType(new f(1, 2, "string"), "any");
75 AssertType(1, "int");
79 new f(1, 2, ...a);
80 AssertType(new f(1, 2, ...a), "any");
82 AssertType(1, "int");
87 new f(1, 2, ...a, "string");
88 AssertType(new f(1, 2, ...a, "string"), "any");
90 AssertType(1, "int");
[all …]
DnewWithSpreadES5.ts41 1: typeof B;
71 new f(1, 2, "string");
72 AssertType(new f(1, 2, "string"), "any");
74 AssertType(1, "int");
78 new f(1, 2, ...a);
79 AssertType(new f(1, 2, ...a), "any");
81 AssertType(1, "int");
86 new f(1, 2, ...a, "string");
87 AssertType(new f(1, 2, ...a, "string"), "any");
89 AssertType(1, "int");
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/transformed_cases/
Dtest-if-statement-2-transformed-expected.txt8 "value": 1,
33 "line": 1,
34 "column": 1
37 "line": 1,
38 "column": 1
45 "line": 1,
46 "column": 1
49 "line": 1,
50 "column": 1
85 "line": 1,
[all …]
Dtest-if-statement-3-transformed-expected.txt8 "value": 1,
33 "line": 1,
34 "column": 1
37 "line": 1,
38 "column": 1
45 "line": 1,
46 "column": 1
49 "line": 1,
50 "column": 1
85 "line": 1,
[all …]
Dtest-if-statement-1-transformed-expected.txt8 "value": 1,
33 "line": 1,
34 "column": 1
37 "line": 1,
38 "column": 1
45 "line": 1,
46 "column": 1
49 "line": 1,
50 "column": 1
85 "line": 1,
[all …]
Dtest-while-statement-2-transformed-expected.txt53 "column": 1
133 "line": 1,
134 "column": 1
137 "line": 1,
138 "column": 1
145 "line": 1,
146 "column": 1
149 "line": 1,
150 "column": 1
185 "line": 1,
[all …]
Dtest-while-statement-1-transformed-expected.txt53 "column": 1
133 "line": 1,
134 "column": 1
137 "line": 1,
138 "column": 1
145 "line": 1,
146 "column": 1
149 "line": 1,
150 "column": 1
185 "line": 1,
[all …]
Dtest-for-statement-2-transformed-expected.txt27 "value": 1,
147 "line": 1,
148 "column": 1
151 "line": 1,
152 "column": 1
159 "line": 1,
160 "column": 1
163 "line": 1,
164 "column": 1
199 "line": 1,
[all …]
Dtest-for-statement-1-transformed-expected.txt27 "value": 1,
147 "line": 1,
148 "column": 1
151 "line": 1,
152 "column": 1
159 "line": 1,
160 "column": 1
163 "line": 1,
164 "column": 1
199 "line": 1,
[all …]
Dtest-class-constructor4-transformed-expected.txt30 "line": 1,
31 "column": 1
34 "line": 1,
35 "column": 1
57 "line": 1,
58 "column": 1
61 "line": 1,
62 "column": 1
68 "line": 1,
69 "column": 1
[all …]
Dtest-class-constructor1-transformed-expected.txt43 "line": 1,
44 "column": 1
47 "line": 1,
48 "column": 1
79 "line": 1,
80 "column": 1
83 "line": 1,
84 "column": 1
93 "line": 1,
94 "column": 1
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/commonjs/
Dtest-commonjs-wrapper-expected.txt15 "line": 1,
16 "column": 1
19 "line": 1,
20 "column": 1
29 "line": 1,
30 "column": 1
33 "line": 1,
34 "column": 1
42 "line": 1,
43 "column": 1
[all …]
/arkcompiler/ets_frontend/es2panda/util/
Dbase64.cpp33 …encodedRes[i + 1] = base64CharSet[(inputString[j] & 0x03) << 4 | (inputString[j + 1] & 0xf0) >> 4]; in Base64Encode()
35 …encodedRes[i + 2] = base64CharSet[(inputString[j + 1] & 0x0f) << 2 | (inputString[j + 2] & 0xc0) >… in Base64Encode()
40 case 1: in Base64Encode()
42 encodedRes[encodedRes.length() - 1] = '='; in Base64Encode()
45 encodedRes[encodedRes.length() - 1] = '='; in Base64Encode()
56 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
57 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
58 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
59 -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
61 -1, -1, -1, in Base64Decode()
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dclass-declaration-is-expected.txt12 "line": 1,
16 "line": 1,
30 "line": 1,
31 "column": 1
34 "line": 1,
35 "column": 1
57 "line": 1,
58 "column": 1
61 "line": 1,
62 "column": 1
[all …]

12345678910>>...178