Home
last modified time | relevance | path

Searched full:f1 (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/01.static_fields/
Dstatic_field_declaration4.sts39 let f1: Func = a1.getF()
40 assert f1(11) == 44
46 assert f1 === f2
49 f1 = a1.getF()
50 assert f1(11) == 12
55 assert f1 === f2
/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dtry-catch-01.pa20 i32 f1
27 stobj v1, R.f1
30 ldobj v0, R.f1
35 ldobj v1, R.f1
Dtry-catch-02.pa20 i32 f1
27 stobj v1, R.f1
30 ldobj v0, R.f1
35 ldobj v1, R.f1
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/dynamic_import_tests/
Ddynamic_decl_import.sts23 override f1(p: string): double {
33 let f1: string = obj.foo(20)
36 obj.f1 = f1
/arkcompiler/ets_frontend/arkguard/test/grammar/namecache_removecomments/
DnamecacheTest6_expected.txt18 this.f1(n1);
20 f1(m1) {
39 const f1 = (g1: string, h1?: number) => h1?.toString() + g1;
40 c1.create("1", this, this.source, e1, f1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/decl_field/
Ddecl-field-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/comp_arr/
Dcomp-arr-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/comp_obj/
Dcomp-clss-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_meth/
Dcall-meth-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_lmbd/
Dcall-lmbd-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/assn_var/
Dassn-var-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_func/
Dcall-func-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/call_cons/
Dcall-cons-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/10.function_types_conversions/decl_var/
Ddecl-var-n2.params.yaml128 type F1 = (p: A) => A
131 function f1(p: A): A {
142 function foo(p: F1): F2 {
150 type F1 = (p: A) => A
153 function f1(p: A): A {
164 function foo(p: F1): F2 {
167 type: '(p: F1) => F1'
172 type F1 = (p: A) => A
175 function f1(p: A): A {
186 function foo(p: F1): F2 {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_with_lambda/
Ddynamic_with_lambda.sts48 let f1: (x: int) => int = f as (x: int) => int;
49 let res = f1(5) as int
55 let f1: (x: int) => int = f as (x: int) => int;
57 let res1 = f1(5) as int
69 // let f1: (x: int) => int = f as (x: int) => int;
70 // let res = a.bar(f1, 5) as int
/arkcompiler/ets_frontend/ets2panda/linter/test/
Ddynamic_object_literals.sts34 f1: {a: 10, b: 20},
40 f1: {e: "abc"},
44 obj.f1 = {f: 100}
45 obj.f1 = [{a1: 1}, {a2: 2, a3: 3}]
51 f1: {a: 10, b: 20},
60 f1: {a: 10, b: 20},
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dcall.short.yaml46 .function void f1(%s) {
51 call.short f1%s
112 .function void f1(panda.String a0) {
117 call.short f1%s
150 .function void f1(%s) {
156 call.short f1%s
209 .function void f1() {
215 call.short f1
259 .function void f1(%s) {
264 call.short f1%s
[all …]
Dcall.yaml47 .function void f1(%s) {
52 call f1%s
129 .function void f1(panda.String a0) {
134 call f1%s
167 .function void f1(%s) {
173 call f1%s
211 .function void f1() {
217 call f1
261 .function void f1(%s) {
266 call f1%s
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
Dasync_call.sts56 async function amd64_small(i1: int, i2: int, i3: int, i4: int, i5: int, f1: double, f2: double, f3:…
63 assert_eq(f1, 1.0);
75 async function amd64_large(i1: int, i2: int, i3: int, i4: int, i5: int, i6: int, f1: double, f2: do…
83 assert_eq(f1, 1.0);
116 async function arm32hf_small(i1: int, i2: int, i3: int, f1: double, f2: double, f3: double, f4: dou…
121 assert_eq(f1, 1.0);
133 async function arm32hf_large(i1: int, i2: int, i3: int, i4: int, f1: double, f2: double, f3: double…
139 assert_eq(f1, 1.0);
152 async function arm64_small(i1: int, i2: int, i3: int, i4: int, i5: int, i6: int, i7: int, f1: doubl…
161 assert_eq(f1, 1.0);
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/
Dtest-ts-decorators-2.ts17 function f1(constructor) { function
26 @f1
28 @f1
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcall.short.yaml50 .function void f1(%s) {
55 call.short f1%s
116 .function void f1(panda.String a0) {
121 call.short f1%s
154 .function void f1(%s) {
160 call.short f1%s
215 .function void f1() {
221 call.short f1
265 .function void f1(%s) {
270 call.short f1%s
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/shorthand/initializer/
Dforawaitof_1.ts20 const f1 = 0; constant
23 for await ({ xFnexp = f1, fnexp = f2 } of [{ xFnexp, fnexp }]) {
24 assert.strictEqual(xFnexp, f1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/01.abstract_classes/
Dabstract_subclass_1.sts32 f1: int;
34 this.f1 = this.f + 2;
40 assert c.f1 == 5;
/arkcompiler/runtime_core/compiler/tests/
Dosr_test.cpp124 call f1
128 .function i32 f1() {
175 call f1
179 .function void f1() {
219 call f1, v2
223 call f1, v2
227 .function i32 f1(i32 a0) {
299 …](const auto &event) { return event.caller == "_GLOBAL::main" && event.callee == "_GLOBAL::f1"; }); in TEST_F()
367 call f1, v1, v0
381 .function void f1(i32[] a0, i32 a1) {
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dosr_test.cpp132 call f1
136 .function i32 f1() {
183 call f1
187 .function void f1() {
227 call f1, v2
231 call f1, v2
235 .function i32 f1(i32 a0) {
307 …](const auto &event) { return event.caller == "_GLOBAL::main" && event.callee == "_GLOBAL::f1"; }); in TEST_F()
376 call f1, v1, v0
390 .function void f1(i32[] a0, i32 a1) {
[all …]

12345678910>>...14