Home
last modified time | relevance | path

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

1234

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/04.scopes/
Ddiff_spaces.sts21 let xyz: int;
22 return xyz;
26 public xyz: int = 1;
30 public xyz(): int {
35 enum Enum { abc, def, ghk, xyz }
37 let xyz: int = 4;
41 1 == new C().xyz &&
42 2 == new D().xyz() &&
43 3 == Enum.xyz.valueOf() &&
44 4 == xyz
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/13.chaining_operator/
Dchop1.sts50 test(boo("not undefined")?.fldB?.metA("xyz") === "xyz")
55 test(boo("not undefined")?.metB("not undefined")?.metA("xyz") === "xyz")
60 test(boo("not undefined")?.fldBn?.metA("xyz") === undefined)
65 test(boo("not undefined")?.metB("undefined")?.metA("xyz") === undefined)
70 test(boo("undefined")?.fldB?.metA("xyz") === undefined)
75 test(boo("undefined")?.metB("not undefined")?.metA("xyz") === undefined)
80 test(boo("undefined")?.fldBn?.metA("xyz") === undefined)
85 test(boo("undefined")?.metB("undefined")?.metA("xyz") === undefined)
Dchop0.sts51 test(boo("not null")?.fldB?.metA("xyz") === "xyz")
56 test(boo("not null")?.metB("not null")?.metA("xyz") === "xyz")
61 test(boo("not null")?.fldBn?.metA("xyz") === undefined)
66 test(boo("not null")?.metB("null")?.metA("xyz") === undefined)
71 test(boo("null")?.fldB?.metA("xyz") === undefined)
76 test(boo("null")?.metB("not null")?.metA("xyz") === undefined)
81 test(boo("null")?.fldBn?.metA("xyz") === undefined)
86 test(boo("null")?.metB("null")?.metA("xyz") === undefined)
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dstring_literals_inference.sts29 function f1(a: "xyz"): "xyz" {
78 x5 = "xyz"
79 assert x5 == "xyz"
83 const x1 = "xyz"
85 assert y1 == "xyz"
116 x4[3] = "xyz"
118 assert x4[3] == "xyz"
DconditionalExpression2.sts21 case "xyz":
32 assert foo("xyz") == 42: "Error! foo(\"xyz\") must be equal 42";
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest_satisfies9.ts18 const b: { xyz: "baz" } = { xyz: "foo" } satisfies { xyz: "foo" | "bar" }; constant
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/16.coroutines/03.promise_class/
Dp.params.yaml18 let s = 'XYZ'
23 if (s == 'XYZ') {
30 assert((await r) == 'XYZ')
34 let s = 'XYZ'
39 if (s != 'XYZ') {
57 let s = 'XYZ'
62 if (s == 'XYZ') {
73 assert(e.message == 'XYZ')
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dinterface_private_function_1.sts17 private xyz(): int {
34 i.xyz();
37 /* @@? 34:5 Error TypeError: Signature xyz(): int is not visible here. */
/arkcompiler/runtime_core/static_core/plugins/ets/tests/sts_ts_subset/std/core/
DPromiseRaceResolve2.sts27 if (err != "xyz") {
33 reject!("xyz");
DPromiseAllSettledResolve.sts18 let p3 = Promise.resolve<string>("xyz");
36 if ((values[2] as PromiseFulfilledResult<string>).value != "xyz") {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/
Dpromise_tests.sts464 let p3: Promise<Object> = Promise.resolve<Object>("xyz");
478 if (values[2] != "xyz") {
489 let p3: Promise<Object> = Promise.resolve<Object>("xyz");
507 let p3: Object = "xyz";
521 if (values[2] != "xyz") {
533 array.push(Promise.resolve<Object>("xyz"));
545 if (values[2] != "xyz") {
569 let p3: Promise<Object> = Promise.resolve<Object>("xyz");
594 if (res2.status != "fulfilled" || res2.value != "xyz") {
621 let p3: Promise<Object> = Promise.resolve<Object>("xyz");
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Entries/
DbuiltinMapEntries.ts36 let myMap = new Map([[0, 0], [0.0, 5], [-1, 1], [2000, 0.5], [56, "oops"], ["xyz", ", ."]]);
77 //: xyz,, .
126 //: xyz,, .
147 myMap.set("xyz", -100);
158 //: xyz,-100
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/06.type_inference/01.smart_types/
Dcomb_01d.sts61 let e: Error = new Error("xyz")
62 assert(foo(e) == 3 && err == e && str == "xyz")
Dcomb_01c.sts60 let e: Error = new Error("xyz")
61 assert(foo(e) == 3 && err == e && str == "xyz")
Dcomb_10a.sts42 let e: Error = new Error("xyz")
43 assert(foo(e) == 3 && err == e && str == "xyz")
Dcomb_01b.sts63 let e: Error = new Error("xyz")
64 assert(foo(e) == 3 && err == e && str == "xyz")
Dcomb_13.sts53 let e: Error = new Error("xyz")
54 assert(foo(e) == 3 && err == e && str == "xyz")
Dcomb_01a.sts67 let e: Error = new Error("xyz")
68 assert(foo(e) == 3 && err == e && not_undef as Error == e && str == "xyz")
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Keys/
DbuiltinMapKeys.ts36 …], [0.0, 5], [-1, 1], [2.5, -2.5], [NaN, Infinity], [2000, -0.0], [56, "oops"], ["xyz", "12345"]]);
81 //: xyz
134 //: xyz
153 myMap.set("xyz", -100);
168 //: xyz
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/06.type_declarations/01.type_alias_declaration/
Dalias.params.yaml171 let v2: TT = [43.0, 'xyz']
174 v3[1][0] == 43.0 && v3[1][1] == 'xyz'
186 let v6: TT = [43.0, 'xyz']
188 v5[1] == null && v6[0] == 43.0 && v6[1] == 'xyz'
215 ((v3 as NestedFunc[])[2] as Foo)('xyz') == 'xyzxyz'
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_stringbuilder_instance.yaml34 param_list: {"param1": '["", "xyz", "xyz", "\u0000 abcd", "\u0000"]'},
41 expected_test_data: '["", "xyz", "abcdxyz", "abcd\u0000 abcd", "\u0000 abcd\u0000"]',
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/08.function_declarations/04.optional_parameters/
Dopt_param.params.yaml143 type XYZ=number
144 function foo(p?: XYZ) {} // primitive with alias
252 type XYZ=Color
253 function foo(c?: XYZ) {}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_func/
Dcall-func-lit.params.yaml55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/decl_var/
Ddecl-var-lit.params.yaml55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/comp_obj/
Dcomp-obj-lit.params.yaml55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }

1234