Home
last modified time | relevance | path

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

12345678

/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: "!=" }
Dchar_eq_n.params.yaml17 - { c1: "c'\\u0000'", c2: "true", op: "==" }
19 - { c1: "false", c2: "c'\\u000D'", op: "!=" }
21 - { c1: "c'ㇰ'", c2: "new Object()", op: "!=" }
23 - { c1: "c'a'", c2: "97n", op: "!=" }
Dchar_eq.sts25 let c1 = {{c.c1}}
27 assert c1 {{c.op}} c2 && c2 {{c.op}} c1 // test associativity
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
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-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-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/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/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();
Dtest-ts-private-class-element-8.ts19 let cc = class C1 { variable
32 let c1 = new cc(); variable
33 c1.publicAdd();
34 c1.publicPrint();
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
Dregexp_executor.cpp345 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() local
346 c = c1; in GetChar()
349 c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar()
350 if (U16_IS_TRAIL(c1)) { in GetChar()
351 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in GetChar()
367 uint16_t c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar() local
368 c = c1; in PeekChar()
371 c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar()
372 if (U16_IS_TRAIL(c1)) { in PeekChar()
373 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in PeekChar()
[all …]
/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/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) { }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/
DTypeCreateVoidTest.sts42 new ClassTypeCreator("C1")
62 const C1 = creator.create()
63 const c1 = C1.make() as C
65 test(c1.foo())
66 test(c1.bar())
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_executor.h388 uint32_t c1 = GetChar(&refCptr, captureEnd); in HandleOpBackReference() local
392 c1 = static_cast<uint32_t>(RegExpParser::Canonicalize(c1, IsUtf16())); in HandleOpBackReference()
395 if (c1 != c2) { in HandleOpBackReference()
415 uint32_t c1 = GetPrevChar(&refCptr, captureStart); in HandleOpBackReference() local
419 c1 = static_cast<uint32_t>(RegExpParser::Canonicalize(c1, IsUtf16())); in HandleOpBackReference()
422 if (c1 != c2) { in HandleOpBackReference()
468 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() local
469 c = c1; in GetChar()
473 c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar()
474 if (U16_IS_TRAIL(c1)) { in GetChar()
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule52.sts18 class C1 {
28 let c11 = new C1();
29 let c12 = new C1();
54 let c1 = new C();
56 c1.foo(); // foo
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe52.md30 let c1 = new C()
34 c1.foo() // foo
61 let c1 = new C()
63 c1.foo() // foo
/arkcompiler/ets_frontend/arkguard/test/grammar/export_namecache/
DnamecacheTest8_import_expected.txt2 import type { c1, i, d1, j } from './namecacheTest8_export';
3 function test(h1: h, i1: c1, j1: i, k1: d1, l1: j): void {
5 function init(g1: c1): void {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/06.type_inference/01.smart_types/
Dcond_expr.params.yaml21 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
32 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
43 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
55 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
69 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
83 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
97 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
112 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
129 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
143 v instanceof C && v.meth_c(1) != 'C1' ? 1 :
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dnull_check_calls.sts17 import { f, f2, bar, applyToUnknown, fooExecute, C1, myFoo, myFoo2 } from "./dynamic_lib";
19 let a1: C1 = new C1()
21 function g1(): C1 | null {
Dundefined_check_calls.sts17 import { f, f2, bar, applyToUnknown, fooExecute, C1, resourceFoo, ResourceStr, myFoo, myFoo2 } from…
19 let a1: C1 = new C1()
21 function g1(): C1 | undefined {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/nullish_expr/expr/
Dnonnull-object-expression-ternary.sts22 class C1 {
27 let objectC1 : C1 = new C1();
Dnonnull-object-expression-7.sts22 class C1 {
28 let objectC1: C1 = new C1();
Dnonnull-object-expression.sts22 class C1 {
27 let objectC1 : C1 = new C1();
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/
Darkts-no-misplaced-imports.ts18 import { C1 } from './include/lib'
20 export function bar(): C1 {
21 return new C1();

12345678