| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/01.static_fields/ |
| D | static_field_declaration4.sts | 39 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/ |
| D | try-catch-01.pa | 20 i32 f1 27 stobj v1, R.f1 30 ldobj v0, R.f1 35 ldobj v1, R.f1
|
| D | try-catch-02.pa | 20 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/ |
| D | dynamic_decl_import.sts | 23 override f1(p: string): double { 33 let f1: string = obj.foo(20) 36 obj.f1 = f1
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/namecache_removecomments/ |
| D | namecacheTest6_expected.txt | 18 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/ |
| D | decl-field-n2.params.yaml | 128 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/ |
| D | comp-arr-n2.params.yaml | 128 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/ |
| D | comp-clss-n2.params.yaml | 128 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/ |
| D | call-meth-n2.params.yaml | 128 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/ |
| D | call-lmbd-n2.params.yaml | 128 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/ |
| D | assn-var-n2.params.yaml | 128 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/ |
| D | call-func-n2.params.yaml | 128 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/ |
| D | call-cons-n2.params.yaml | 128 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/ |
| D | decl-var-n2.params.yaml | 128 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/ |
| D | dynamic_with_lambda.sts | 48 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/ |
| D | dynamic_object_literals.sts | 34 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/ |
| D | call.short.yaml | 46 .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 …]
|
| D | call.yaml | 47 .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/ |
| D | async_call.sts | 56 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/ |
| D | test-ts-decorators-2.ts | 17 function f1(constructor) { function 26 @f1 28 @f1
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | call.short.yaml | 50 .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/ |
| D | forawaitof_1.ts | 20 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/ |
| D | abstract_subclass_1.sts | 32 f1: int; 34 this.f1 = this.f + 2; 40 assert c.f1 == 5;
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | osr_test.cpp | 124 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/ |
| D | osr_test.cpp | 132 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 …]
|