Home
last modified time | relevance | path

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

12345678910>>...18

/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top+export/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/01.numerical_equality_operators/
Dchar_eq.params.yaml17 - { c1: "c'\\u0000'", c2: "c'\\x00'", op: "==" }
18 - { c1: "c'\\r'", c2: "c'\\u000D'", op: "==" }
19 - { c1: "c'ㇰ'", c2: "c'\\u31f0'", op: "==" }
22 - { c1: "c'\\u22ff'", c2: "new Char(c1)", op: "==" }
23 - { c1: "new Char(c'A')", c2: "c'A'", op: "==" }
24 - { c1: "c'∓'", c2: "new Char(c'\\u2213')", op: "==" }
27 - { c1: "c'A'", c2: "c'А'", op: "!=" }
28 - { c1: "c'-'", c2: "new Char(c'−')", op: "!=" }
31 - { c1: "new Char(c'E')", c2: "c'Е'", op: "!=" }
32 - { c1: "c'\\x20'", c2: "new Char(c'_')", op: "!=" }
/arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/11_deconstruction/
D01_deconstruction_01.ts26 let [b1,c1,d] = arr; variable
28 assert(c1 === 1);
33 let obj = {a1:1, b1:a1+1, c1:3}
36 assert(obj.c1 === 3);
37 let {c1:b2,a1:c2,b1:d2}=obj; variable
42 class C1 { class
45 c1:number; property in C1
49 this.c1 = _c;
52 function f1([a1,b1,c1]: Array<number>, {a1:x,b1:y,c1:d}:C1) {
53 a1;b1;c1;x;y;d;
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-definiton23.ts17 function C1() : C1 function
18 function C1() : any {}
19 declare class C1 {} class
26 function C1() : C1 function
27 function C1() : any {}
28 declare class C1 {} class
Dtest-class-definiton25.ts17 declare class C1 {} class
18 function C1() : C1 function
19 function C1() : any {}
26 declare class C1 {}
27 function C1() : C1
28 function C1() : any {}
Dtest-class-definiton24.ts18 class C1 {} class
19 function C1() : C1 function
20 function C1() : C1
Dtest-ts-private-class-element-1.ts19 class C1 { class
26 let c1: C1 = new C1(); variable
27 c1.#add();
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+export/04_class_cases/02_class_declaration/
D02_extends_expected.txt16 class C1 {
19 return 'c1';
22 class C2 extends C1 {
31 c1(): number {
36 c1(): number {
42 assert(r.c1() === 42);
44 let insC1 = new C1();
45 assert(insC1.u() === 'c1');
50 assert(insC3.c1() === 32);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+export/04_class_cases/02_class_declaration/
D02_extends_expected.txt16 class C1 {
19 return 'c1';
22 class C2 extends C1 {
31 c1(): number {
36 c1(): number {
42 assert(r.c1() === 42);
44 let insC1 = new C1();
45 assert(insC1.u() === 'c1');
50 assert(insC3.c1() === 32);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/export/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/default/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/
D11979-interface-attr-init-030.sts21 class C1 {
29 RED: C1 = new C1("RED");
30 GREEN: C1 = new C1("GREEN");
31 BLUE: C1 = new C1("BLUE");
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/04_class_cases/02_class_declaration/
D03_extends_implements_expected.txt15 import c1 from "assert";
33 c1(g1.prop_c5 === 0);
34 c1(g1.method_c5() === 5);
36 c1(h1.prop_c5 === 0);
37 c1(h1.method_c5() === 5);
38 c1(h1.inter_p5 === 1);
39 c1(h1.method_i5() === 10);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/04_class_cases/02_class_declaration/
D03_extends_implements_expected.txt15 import c1 from "assert";
33 c1(g1.prop_c5 === 0);
34 c1(g1.method_c5() === 5);
36 c1(h1.prop_c5 === 0);
37 c1(h1.method_c5() === 5);
38 c1(h1.inter_p5 === 1);
39 c1(h1.method_i5() === 10);
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/compiler/
Dtest-ts-private-class-element-1.ts19 class C1 { class
32 let c1: C1 = new C1(); variable
33 c1.publicAdd();
34 c1.publicPrint();
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp/04_class_cases/01_constructor/
D03_class_nested_constructor_expected.txt18 constructor(public b1: number, public c1: string) {
23 c1 = c1 + "2";
32 this.c1 = c1;
37 assert(insA6.c1 === "22");
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop/04_class_cases/01_constructor/
D03_class_nested_constructor_expected.txt18 constructor(public b1: number, public c1: string) {
23 c1 = c1 + "2";
32 this.c1 = c1;
37 assert(insA6.c1 === "22");
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/getters_setters/
Dgetters_setters.ts35 const c1 = new C(); constant
37 assertEq(c1.x, 0);
38 assertEq(c1.val, 0);
39 c1.x = 1;
40 assertEq(c1.x, 1);
41 assertEq(c1.val, 1);
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
Dregexp_executor.cpp346 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() local
347 c = c1; in GetChar()
350 c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar()
351 if (U16_IS_TRAIL(c1)) { in GetChar()
352 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in GetChar()
368 uint16_t c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar() local
369 c = c1; in PeekChar()
372 c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar()
373 if (U16_IS_TRAIL(c1)) { in PeekChar()
374 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in PeekChar()
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/
Dtest-ts-decorators-21.ts29 class C1 { class
32 @propDec((c: C1) => print(c.#x))
35 @propDec((c: C1) => print(c.#x))
38 @methodDec((c: C1) => print(c.#x))
41 @methodDec((c: C1) => print(c.#x))
42 m2(@paramDec((c: C1) => print(c.#x)) p: any) { }

12345678910>>...18