Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/04.scopes/
Dtype_param_class.sts28 fld1: T;
32 this.fld1 = p;
33 this.fld2 = this.fld1 * 2; // CTE, cannot apply arithmetic to type parameters
Dtype_param_interface.sts40 fld1: T;
45 this.fld1 = p;
46 this.fld2 = this.fld1 * 2;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/
Dwidening_refs_call.sts29 public fld1: {{c.totype}};
33 this.fld1 = p;
45 if (obj.fld1 !== v || obj.fld2 !== v) {
Dunrelated_call.sts31 public fld1: {{c.totype}};
35 this.fld1 = p;
47 if (obj.fld1 !== v || obj.fld2 !== v) {
Dwidening_prim_call.sts23 public fld1: {{c.ctype}};
27 this.fld1 = p;
40 if (obj{{loop.index}}.fld1 != {{t.val2|safe}} || obj{{loop.index}}.fld2 != {{t.val2|safe}}) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/12.enum_to_const_types_conversion/
Denum2str.params.yaml56 fld1: string = Color.Red
63 assert a.fld1 == "r"
70 fld1: string = ""
77 a.fld1 = Color.Red
80 assert a.fld1 == "r"
Denum2int.params.yaml56 fld1: int = Color.Red
63 assert a.fld1 == 0
70 fld1: int
77 a.fld1 = Color.Red
80 assert a.fld1 == 0
/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
Dreturn.obj.yaml18 i32 fld1
22 stobj a0, Obj.fld1
60 ldobj v0, Obj.fld1
121 ldobj v0, Obj.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
Dreturn.obj.yaml18 i32 fld1
23 stobj a0, Obj.fld1
66 ldobj v0, Obj.fld1
128 ldobj v0, Obj.fld1
190 ldobj v0, Obj.fld1
245 ldobj v0, Obj.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 assert(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 assert(v == 45 && a.fld1 == 42 && a.fld2 == 43 && a.fld3 == 44)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/12.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 assert v.fld1 == 4.0 && v.fld2 == 11.0
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule1.sts47 [S1.s1]: "fld1",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/03.implicit_generic_instantiations/
Dfunc.params.yaml105 fld1: number = 0
121 assert(foo('fld1', 'fld5') == 'fld1fld5')
Dlmbd.params.yaml101 fld1: number = 0
115 assert(foo('fld1', 'fld5') == 'fld1fld5')
Dmeth.params.yaml124 fld1: number = 0
142 assert(cls.foo('fld1', 'fld5') == 'fld1fld5')
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.tuple_types_conversion/decl_field/
Ddecl-field_n.sts28fld1: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for …
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Doptional_library_types.sts77 fld1: number;
85 let v1 = a.fld1;
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D5_generics.rst424 readonly fld1: T2

12