| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | function_spread_arg.sts | 32 function foo2(n:number, ...rest: number[]) { 55 foo2(1, ...a1) 56 foo2(1, ...a2) 57 foo2(1, ...a3) 58 foo2(1, ...a4) 59 foo2(1, ...a5) 60 foo2(1, ...a6) 61 foo2(1, ...a7) 62 foo2(1, ...a8) 63 foo2(1, ...a9) [all …]
|
| D | imported_use_as_object.sts | 23 function foo2(o: Object) { } 26 foo2(OuterC); 30 foo2(OuterN); 34 foo2(OuterE); 38 foo2(InnerC); 42 foo2(InnerN); 46 foo2(InnerE);
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/getsetaccessor/propertyConfig/ |
| D | object_literal_get.ts | 17 get foo2() { variable 19 get foo2() { 27 get foo2() { method in X2 29 get foo2() { 37 get foo2(): { method 38 get foo2(): { 39 get foo2(): {}
|
| /arkcompiler/ets_runtime/test/aottest/pgo_call_recursive_js/ |
| D | expect_output.txt | 16 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 18 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 19 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca… 20 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca… 22 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 23 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca… 25 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo1@pgo_c… 26 [trace] aot inline function name: #*#foo2@pgo_call_recursive_js caller function name: #*#foo@pgo_ca…
|
| D | pgo_call_recursive_js.js | 22 foo2(a); 28 foo2(a); 31 function foo2(a) { function
|
| /arkcompiler/ets_runtime/test/quickfix/multi_funccallconstpool/ |
| D | base.js | 19 foo2() 22 function foo2() { function 24 print("base foo2" ) 28 globalThis.foo2 = foo2
|
| D | base_modify.js | 19 foo2() 22 function foo2() { function 24 print("patch foo2" ) 28 globalThis.foo2 = foo2
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolobj/ |
| D | multiconstpoolobj.js | 21 "foo2": function() { method 23 return "foo2" 28 assert_equal(obj.foo2(), "foo2");
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolfunc/ |
| D | multiconstpoolfunc.js | 21 function foo2() { function 23 return "foo2" 27 assert_equal(foo2(), "foo2");
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolclass/ |
| D | multiconstpoolclass.js | 24 foo2() { method in A 26 return "foo2" 32 assert_equal(a.foo2(), "foo2");
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | Override-4.sts | 22 foo2(x: Y): Object { return "A.foo(Y)" } 32 override foo2(x: Y): String { return "C.foo2(Y)" } 38 assert(new C().foo2(new Y()) == "C.foo2(Y)")
|
| D | interfaceGetterSetter.sts | 25 foo2(): Object {return new Object()} 43 override foo2(): Object {return this.korte_;} 54 assert (a.foo2() === a.korte); 56 assert (a.foo2() === a.korte);
|
| D | SmartCast_05.sts | 31 function foo2(x: C|null|undefined): string { 49 assert(foo2(null) == "null"); 56 assert(foo2(undefined) == "null"); 64 assert(foo2(c) == "false"); 72 assert(foo2(c) == "true");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/01.type_arguments/type_arguments_of_parameterized_declarations/ |
| D | func_args3_neg.params.yaml | 21 - use: let v = foo2 <in> (new X()) 22 - use: let v = foo2 <in X> (new X()) 23 - use: let v = foo2 <out> (new X()) 24 - use: let v = foo2 <out X> (new X())
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | method_override_throw_1.sts | 18 foo2(param: () => void throws): void rethrows; 24 override foo2(param: () => void throws): void rethrows {} 30 foo2(param: () => void throws): void rethrows {} 36 override foo2(param: () => void throws): void rethrows {}
|
| /arkcompiler/ets_runtime/test/moduletest/multiconstpoolarray/ |
| D | multiconstpoolarray.js | 21 function foo2() { 23 return "foo2" 28 assert_equal(arr[1](), "foo2")
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/import_tests/ |
| D | export_multi_error.sts | 23 function foo2(): void {} 26 export {foo2} 27 export type {TestClass as foo2} 65 /* @@? 27:27 Error SyntaxError: The given name 'foo2' is already used in another export */ 66 /* @@? 1:1 Error SyntaxError: The given name 'foo2' is already used in another export */
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/trailing_lambda_tests/ |
| D | trailing_lambda_with_throw.sts | 19 function foo2(c: ()=>void) { 29 foo2() { 33 foo2() {}
|
| /arkcompiler/ets_runtime/test/aottest/aot_multi_constantpool_test/multi_constantpool_class/ |
| D | multi_constantpool_class.ts | 26 foo2() { 28 print("base foo2"); 34 a.foo2();
|
| /arkcompiler/ets_runtime/test/aottest/ts_multi_inline/ |
| D | ts_multi_inline.ts | 20 foo2() 23 function foo2() { function 24 print("foo2");
|
| D | expect_output.txt | 16 [trace] aot inline function name: #*#foo2@ts_multi_inline caller function name: #*#foo1@ts_multi_in… 17 foo2 18 [trace] aot inline function name: #*#foo3@ts_multi_inline caller function name: #*#foo2@ts_multi_in…
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_max_call/ |
| D | ts_inline_max_call.ts | 22 function foo2() { function 23 print("foo2"); 48 foo2()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/04.Names_Declarations_and_Scopes/4.8.Function_Declarations/4.8.4.Optional_Parameters/ |
| D | function-optional-parameters-02.sts | 45 function foo2 (a?: int, b?: int, c?: int ) : int { 92 let result = foo2(); 101 let result = foo2(num); 111 let result = foo2(num, num); 121 let result = foo2(num, num, num);
|
| /arkcompiler/ets_runtime/test/aottest/optimization/ |
| D | optimization.ts | 107 function foo2(i : number) : void { function 127 print(foo2(1)) 128 print(foo2(5)) 129 print(foo2(10)) 130 print(foo2(100)) 131 print(foo2(11))
|
| /arkcompiler/ets_runtime/test/deopttest/arithmetic/ |
| D | arithmetic.ts | 35 function foo2(n:number) function 40 print(foo2(6.0)); 41 print(foo2(9));
|