Home
last modified time | relevance | path

Searched full:foo2 (Results 1 – 25 of 264) sorted by relevance

1234567891011

/arkcompiler/ets_frontend/ets2panda/linter/test/
Dfunction_spread_arg.sts32 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 …]
Dimported_use_as_object.sts23 function foo2(o: Object) { }
26 foo2(OuterC);
30 foo2(OuterN);
34 foo2(OuterE);
38 foo2(InnerC);
42 foo2(InnerN);
46 foo2(InnerE);
Des_object.sts39 foo2(p1: ESObject, p2: ESObject[], p3: A<ESObject>): ESObject[] {
119 export function foo2(a: ESObject): ESObject {
127 foo2(5)
129 foo2("asd")
131 foo2(null)
133 foo2(undefined)
176 foo2({ k: 'k', h: {t: 1}}) // we can assign anything to the esobject, even untyped literal
/arkcompiler/ets_frontend/arkguard/test/grammar/getsetaccessor/propertyConfig/
Dobject_literal_get.ts17 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/
Dexpect_output.txt16 [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…
Dpgo_call_recursive_js.js22 foo2(a);
28 foo2(a);
31 function foo2(a) { function
/arkcompiler/ets_runtime/test/quickfix/multi_funccallconstpool/
Dbase.js19 foo2()
22 function foo2() { function
24 print("base foo2" )
28 globalThis.foo2 = foo2
Dbase_modify.js19 foo2()
22 function foo2() { function
24 print("patch foo2" )
28 globalThis.foo2 = foo2
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DOverride-4.sts22 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)")
DinterfaceGetterSetter.sts25 foo2(): Object {return new Object()}
43 override foo2(): Object {return this.korte_;}
54 assert (a.foo2() === a.korte);
56 assert (a.foo2() === a.korte);
DSmartCast_05.sts31 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/02.type_arguments/type_arguments_of_parameterized_declarations/
Dfunc_args3_neg.params.yaml21 - 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/
Dmethod_override_throw_1.sts18 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/multiconstpoolfunc/
Dmulticonstpoolfunc.js21 function foo2() { function
23 return "foo2"
26 print(foo(), foo2())
/arkcompiler/ets_runtime/test/moduletest/multiconstpoolobj/
Dmulticonstpoolobj.js21 "foo2": function() { method
23 return "foo2"
27 print(obj.foo(), obj.foo2())
/arkcompiler/ets_runtime/test/moduletest/multiconstpoolarray/
Dmulticonstpoolarray.js21 function foo2() {
23 return "foo2"
28 assert_equal(arr[1](), "foo2")
/arkcompiler/ets_runtime/test/moduletest/multiconstpoolclass/
Dmulticonstpoolclass.js24 foo2() { method in A
26 return "foo2"
31 print(a.foo(), a.foo2())
/arkcompiler/ets_runtime/test/aottest/aot_multi_constantpool_test/multi_constantpool_class/
Dmulti_constantpool_class.ts26 foo2() {
28 print("base foo2");
34 a.foo2();
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/trailing_lambda_tests/
Dtrailing_lambda_with_throw.sts19 function foo2(c: ()=>void) {
29 foo2() {
33 foo2() {}
/arkcompiler/ets_runtime/test/aottest/ts_multi_inline/
Dts_multi_inline.ts20 foo2()
23 function foo2() { function
24 print("foo2");
Dexpect_output.txt16 [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/
Dts_inline_max_call.ts22 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.7.Function_Declarations/
Dfunction-optional-parameters-02.sts45 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/
Doptimization.ts107 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_frontend/ets2panda/linter/test_rules/
Drule151.sts39 foo2(p1: ESObject, p2: ESObject[], p3: A<ESObject>): ESObject[] {
119 export function foo2(a: ESObject): ESObject {
127 foo2(5)
129 foo2("asd")
131 foo2(null)
133 foo2(undefined)
176 foo2({ k: 'k', h: {t: 1}}) // we can assign anything to the esobject, even untyped literal

1234567891011