Home
last modified time | relevance | path

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

12345678910>>...24

/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dfunction_spread_arg.ets32 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.ets23 function foo2(o: Object) { }
26 foo2(OuterC);
30 foo2(OuterN);
34 foo2(OuterE);
38 foo2(InnerC);
42 foo2(InnerN);
46 foo2(InnerE);
Dproperty_decl_on_function.ets36 const foo2 = (path: string) => {
40 foo2.bar = 2;
41 console.log(foo2.bar);
42 console.log(foo2.name);
43 console.log(foo2.length);
44 console.log(foo2.arguments);
45 console.log(foo2.caller);
/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/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/09.methods_returning_this/
Dmethods_returning_this_03.ets27 foo2(): this {
35 …x=x.foo().foo2().foo().foo2().foo().foo2().foo().foo2().foo().foo2().foo2().foo2().foo().foo().foo…
Dmethods_returning_this_10.ets24 foo2(a:int, b:object): this {
31 x=x.foo().foo2(1, new object).foo().foo2(2, new object).foo().foo2(3, new object)
/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_modify.js19 foo2()
22 function foo2() { function
24 print("patch foo2" )
28 globalThis.foo2 = foo2
Dbase.js19 foo2()
22 function foo2() { function
24 print("base foo2" )
28 globalThis.foo2 = foo2
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dkeyof_union.ets19 private foo2(){}
29 let x1:keyofUnion = /* @@ label1 */"foo2";
32 /* @@ label3 */getProperty<keyofA>(/* @@ label4 */"foo2")
36 /* @@@ label1 Error TypeError: Type '"foo2"' cannot be assigned to type 'Double|A|"foo"|"field1"' …
38 /* @@@ label3 Error TypeError: No matching call signature for getProperty("foo2") */
39 /* @@@ label4 Error TypeError: Type '"foo2"' is not compatible with type '"foo"|"field1"' at index …
/arkcompiler/ets_runtime/test/moduletest/multiconstpoolfunc/
Dmulticonstpoolfunc.js21 function foo2() { function
23 return "foo2"
27 assert_equal(foo2(), "foo2");
/arkcompiler/ets_runtime/test/moduletest/multiconstpoolobj/
Dmulticonstpoolobj.js21 "foo2": function() { method
23 return "foo2"
28 assert_equal(obj.foo2(), "foo2");
/arkcompiler/ets_runtime/test/jittest/intrinsic_test2/
Dintrinsic_test2.ts35 function foo2(obj, key, value) { function
40 foo2(b, 2, 5);
42 ArkTools.jitCompileAsync(foo2);
43 print(ArkTools.waitJitCompileFinish(foo2));
44 print(foo2(b, 2, 5));
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DOverride-4.ets22 foo2(x: Y): Object { return "A.foo(Y)" }
32 override foo2(x: Y): String { return "C.foo2(Y)" }
38 assertEQ(new C().foo2(new Y()), "C.foo2(Y)")
DimplementsClassPropertyFunctionType2.ets18 foo2: () => int
23 foo2 = (): int => {
31 let x2 = b.foo2
34 assertEQ(b.foo2(), 2)
Dtype_param_infer_in_union_1.ets20 function foo2<U>(array:Iterable<U|A<U>>){
21 return "foo2 should be ok too"
27 assertEQ(foo2(a), "foo2 should be ok too")
/arkcompiler/ets_runtime/test/moduletest/multiconstpoolclass/
Dmulticonstpoolclass.js24 foo2() { method in A
26 return "foo2"
32 assert_equal(a.foo2(), "foo2");
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/namespace_tests/
Dnamespace_merge_test.ets22 export function foo2():string {return "foo2"}
35 assertEQ(A.foo2(), "foo2")
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/01.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.ets18 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_frontend/ets2panda/test/ast/compiler/ets/
Dabsent_return_statement.ets21 function foo2(bar: () => int|string) {
34 foo2(() => { return /* @@ label3 */new C(); });
35 foo2(() => /* @@ label4 */{ console.println("TEST"); });
36 foo2(() => /* @@ label5 */new C());
37 foo2(() => /* @@ label6 */console.println("TEST"));
/arkcompiler/ets_runtime/test/moduletest/multiconstpoolarray/
Dmulticonstpoolarray.js21 function foo2() {
23 return "foo2"
28 assert_equal(arr[1](), "foo2")
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/trailing_lambda_tests/
Dtrailing_lambda_with_throw.ets19 function foo2(c: ()=>void) {
29 foo2() {
33 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();

12345678910>>...24