| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/01.static_fields/ |
| D | static_field_declaration4.sts | 43 let f2: Func = a2.getF() 44 assert f2(22) == 55 46 assert f1 === f2 52 f2 = a2.getF() 53 assert f2(22) == 23 55 assert f1 === f2
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | call-cons-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | comp-clss-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | call-lmbd-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | call-func-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | call-meth-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | comp-arr-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | decl-field-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | decl-var-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /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 | 129 type F2 = (p: A) => A throws 135 function f2(p: A): A throws { 142 function foo(p: F1): F2 { 143 return f2 145 type: '(p: F2) => F2' 151 type F2 = (p: A) => A throws 157 function f2(p: A): A throws { 164 function foo(p: F1): F2 { 165 return f2 173 type F2 = (p: A) => A throws [all …]
|
| D | assn-var-n1.params.yaml | 68 type F2 = (p: A) => A throws 74 function f2(p: A): A throws { 81 function foo(p: F2): F1 throws { 87 type: '(p: F2) => F2'
|
| /arkcompiler/ets_runtime/test/jittest/string_length/ |
| D | string_length.ts | 32 function f2() { function 40 f2(); 41 ArkTools.jitCompileAsync(f2); 42 print(ArkTools.waitJitCompileFinish(f2)) 44 print(f2())
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | recursive_types.sts | 83 type F2 = (a: F2 | number | F2[]) => F2 | Array<F2 | Array<(F2 | string)[]> | string>; 84 (fn: () => F2) => { let x = fn() }
|
| D | dynamic_object_literals.sts | 35 f2: [{c: 30}, {d: 40}], 41 f2: [{g: 50}] 47 foo({f2: 'abc', f3: 30}) 52 f2: [{c: 30}, {d: 40}], 56 bar({f2: 'abc', f3: 30}) 61 f2: {a: '11', b: 444, c: {f: {d: [1, 2]}}},
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/dynamic_import_tests/ |
| D | dynamic_decl_import.sts | 26 override f2(p: double): string { 34 let f2: double = A.bar() 37 A.f2 = f2
|
| /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:… 64 assert_eq(f2, 2.0); 75 async function amd64_large(i1: int, i2: int, i3: int, i4: int, i5: int, i6: int, f1: double, f2: do… 84 assert_eq(f2, 2.0); 116 async function arm32hf_small(i1: int, i2: int, i3: int, f1: double, f2: double, f3: double, f4: dou… 122 assert_eq(f2, 2.0); 133 async function arm32hf_large(i1: int, i2: int, i3: int, i4: int, f1: double, f2: double, f3: double… 140 assert_eq(f2, 2.0); 152 …i1: int, i2: int, i3: int, i4: int, i5: int, i6: int, i7: int, f1: double, f2: double, f3: double,… 162 assert_eq(f2, 2.0); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/shorthand/initializer/ |
| D | forawaitof_1.ts | 21 const f2 = 0; constant 23 for await ({ xFnexp = f1, fnexp = f2 } of [{ xFnexp, fnexp }]) { 25 assert.strictEqual(fnexp, f2);
|