Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/
Dwidening_refs_call.ets30 public fld1: {{c.totype}};
34 this.fld1 = p;
46 if (obj.fld1 !== v || obj.fld2 !== v) {
Dwidening_prim_call.ets23 public fld1: {{c.ctype}};
27 this.fld1 = p;
40 if (obj{{loop.index}}.fld1 != {{t.val2|safe}} || obj{{loop.index}}.fld2 != {{t.val2|safe}}) {
Dunrelated_call.ets31 public fld1: {{c.totype}};
35 this.fld1 = p;
47 if (obj.fld1 !== v || obj.fld2 !== v) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.constant_to_enum_conversions/
Dint2enum.params.yaml52 fld1: Color = 0
59 assertEQ(a.fld1, Color.Red)
66 fld1: Color
73 a.fld1 = 0
76 assertEQ(a.fld1, Color.Red)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.enum_to_const_types_conversions/
Denum2str.params.yaml57 fld1: string = Color.Red
64 assertEQ(a.fld1, "r")
71 fld1: string = ""
78 a.fld1 = Color.Red
81 assertEQ(a.fld1, "r")
Denum2int.params.yaml57 fld1: int = Color.Red
64 assertEQ(a.fld1, 0)
71 fld1: int
78 a.fld1 = Color.Red
81 assertEQ(a.fld1, 0)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates_deprecated/03.implicit_generic_instantiations/
Dlmbd.params.yaml18 fld1: number = 0
32 assertTrue(foo('fld1', 'fld5') == 'fld1fld5')
Dfunc.params.yaml18 fld1: number = 0
34 assertTrue(foo('fld1', 'fld5') == 'fld1fld5')
Dmeth.params.yaml18 fld1: number = 0
36 assertTrue(cls.foo('fld1', 'fld5') == 'fld1fld5')
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/
DunionCommonMember_neg.ets17 fld1: Int = 42
28 fld1: Number = 33.0
44 assertEQ(/* @@ label1 */u.fld1, 42)
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
DunionCommonMember_neg.ets17 fld1: Int = 42
28 fld1: Number = 33.0
44 assertEQ(/* @@ label1 */u.fld1, 42)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.compilation_units/09.export_directives/04.re-export_directive/
Dre-export_all_namespace.ets34 let foo_inter : name.foo_Inter = {fld1: 10, fld2: "Hi"};
35 assertEQ(foo_inter.fld1, 10);
Dmodule_b.ets34 fld1 : int;
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dsta.obj.yaml75 i32 fld1
82 i64 fld1
88 f64 fld1
94 f32 fld1
Dlda.obj.yaml73 i32 fld1
79 i64 fld1
85 f64 fld1
91 f32 fld1
Dmov.obj.yaml74 i32 fld1
80 i64 fld1
86 f64 fld1
92 f32 fld1
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dsta.obj.yaml75 i32 fld1
82 i64 fld1
88 f64 fld1
94 f32 fld1
Dlda.obj.yaml74 i32 fld1
80 i64 fld1
86 f64 fld1
92 f32 fld1
Dmov.obj.yaml75 i32 fld1
82 i64 fld1
88 f64 fld1
94 f32 fld1
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/02.object_literal_of_interface_type/
Din.params.yaml156 fld1: number;
163 let a: A = { fld1: v++, fld2: v++, fld3: v++ }
164 assertTrue(v == 45 && a.fld1 == 42 && a.fld2 == 43 && a.fld3 == 44)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/01.object_literal_of_class_type/
Dcl.params.yaml151 fld1: number;
158 let a: A = { fld1: v++, fld2: v++, fld3: v++ }
159 assertTrue(v == 45 && a.fld1 == 42 && a.fld2 == 43 && a.fld3 == 44)
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule1.ets.migrate.ets50 [S1.s1]: "fld1",
Drule1.ets47 [S1.s1]: "fld1",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/13.trailing_lambda/
Dtrlambda_func.params.yaml229 fld1: number
234 let v: A = { fld1: foo(1.0) { globl = 3.0 }, fld2: foo(2.0) { globl += 5.0 } }
235 assertTrue( v.fld1 == 4.0 && v.fld2 == 11.0 )
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.tuple_types_conversions/decl_field/
Ddecl-field_n.ets28fld1: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for …

12