Home
last modified time | relevance | path

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

12

/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DreadonlyObjectLiteral_2.sts17 fld2: number = 3;
20 let a: A = {fld: 3, fld2: 4};
21 a.fld2 = 5;
23 assert(a.fld2 == 5);
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
DrequiredType_5.sts18 fld2: Int | null | undefined = 5;
22 let req_b: Required<B> = {fld: 3.0, fld2: 7};
24 req_b.fld2 = 4;
DrequiredType_9.sts22 fld2: Required<T>;
27 let req_a: Required<A<B>> = {fld: new B(), fld2: {b_fld: 4}, fld3: {b_fld: 9}};
DrequiredType_5-expected.txt148 "name": "fld2",
741 "name": "fld2",
926 "name": "fld2",
DrequiredType_9-expected.txt391 "name": "fld2",
1243 "name": "fld2",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/04.scopes/
Dtype_param_class.sts29 fld2: T;
33 this.fld2 = this.fld1 * 2; // CTE, cannot apply arithmetic to type parameters
34 return this.fld2;
Dtype_param_interface.sts41 fld2: T;
46 this.fld2 = this.fld1 * 2;
47 return this.fld2;
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dsta.obj.yaml55 i32 fld2
60 i64 fld2
65 u64 fld2
70 i32 fld2 <static>
76 i32 fld2 <static>
83 i64 fld2 <static>
89 f64 fld2 <static>
95 f32 fld2 <static>
Dlda.obj.yaml54 i32 fld2
59 i64 fld2
64 u64 fld2
69 i32 fld2 <static>
75 i32 fld2 <static>
81 i64 fld2 <static>
87 f64 fld2 <static>
93 f32 fld2 <static>
162 i32 fld2
Dmov.obj.yaml55 i32 fld2
60 i64 fld2
65 u64 fld2
70 i32 fld2 <static>
76 i32 fld2 <static>
83 i64 fld2 <static>
89 f64 fld2 <static>
95 f32 fld2 <static>
166 i32 fld2
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dsta.obj.yaml55 i32 fld2
60 i64 fld2
65 u64 fld2
70 i32 fld2 <static>
76 i32 fld2 <static>
83 i64 fld2 <static>
89 f64 fld2 <static>
95 f32 fld2 <static>
Dlda.obj.yaml53 i32 fld2
58 i64 fld2
63 u64 fld2
68 i32 fld2 <static>
74 i32 fld2 <static>
80 i64 fld2 <static>
86 f64 fld2 <static>
92 f32 fld2 <static>
Dmov.obj.yaml54 i32 fld2
59 i64 fld2
64 u64 fld2
69 i32 fld2 <static>
75 i32 fld2 <static>
81 i64 fld2 <static>
87 f64 fld2 <static>
93 f32 fld2 <static>
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/
Dwidening_refs_call.sts30 public fld2: {{c.totype}}|null;
37 this.fld2 = p;
45 if (obj.fld1 !== v || obj.fld2 !== v) {
Dwidening_prim_call.sts24 public fld2: {{c.ctype}};
31 this.fld2 = p;
40 if (obj{{loop.index}}.fld1 != {{t.val2|safe}} || obj{{loop.index}}.fld2 != {{t.val2|safe}}) {
Dunrelated_call.sts32 public fld2: {{c.totype}}|null;
39 this.fld2 = 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/12.enum_to_int_conversion/
Denum2int.params.yaml57 fld2: number = Color.Blue + Color.Green
64 assert a.fld2 == 201
71 fld2: int
78 a.fld2 = Color.Blue + Color.Green
81 assert a.fld2 == 201
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/13.enum_to_string_conversion/
Denum2str.params.yaml57 fld2: string = Color.Blue + Color.Green
64 assert a.fld2 == "bg"
71 fld2: string
78 a.fld2 = Color.Blue + Color.Green
81 assert a.fld2 == "bg"
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
DrequiredType_7_neg.sts18 fld2: Number | undefined = 2.0;
23 let req_b: Required<B> = {fld: 3.0, fld2: 5.0};
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/12.trailing_lambda/
Dtrlambda_func.params.yaml230 fld2: 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.sts51 [S2.s2]: "fld2",
/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.sts29 fld2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = s
/arkcompiler/ets_frontend/ets2panda/linter/test/
Doptional_library_types.sts78 fld2?: COh;
86 let v2 = a.fld2;
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D5_generics.rst396 fld2: T3
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_type.cpp2184 …// int32 fld2 : 3; // 30 + 3 > 32(= int32 align), cross the align boundary, start from next … in GetBitOffsetFromStructBaseAddr()

12