Home
last modified time | relevance | path

Searched refs:func1 (Results 1 – 25 of 51) sorted by relevance

123

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DfunctionLiterals.ts26 func1(x: number): number; // Method signature
27 AssertType(func1, "(number) => number");
40 b.func1 = b.func2;
41 AssertType(b.func1 = b.func2, "(number) => number");
42 AssertType(b.func1, "(number) => number");
45 b.func1 = b.func3;
46 AssertType(b.func1 = b.func3, "(number) => number");
47 AssertType(b.func1, "(number) => number");
50 b.func2 = b.func1;
51 AssertType(b.func2 = b.func1, "(number) => number");
[all …]
DnoImplicitThisBigThis.ts24 AssertType({ func1() { return this; }, func2() { return …
27 func1() {
28 AssertType(func1, "() => { func1(): any; func2(): any; func3(): any; }");
51 AssertType({ func1() { return this; }, func2() { return …
54 func1() {
55 AssertType(func1, "() => { func1(): any; func2(): any; func3(): any; func4(): any; func5(): any; fu…
DtargetTypeTest2.ts32 function func1(stuff:any[]) {
38 AssertType(func1([stuff1, stuff2, stuff3]), "any[]");
39 AssertType(func1, "(any[]) => any[]");
44 return func1([stuff1, stuff2, stuff3]);
DemitDefaultParametersFunctionPropertyES6.ts23 AssertType({ func1(y = 10, ...rest) { }, func2(x = "hello") { }, func3(x: string, z: numbe…
25 func1(y = 10, ...rest) { },
26 AssertType(func1, "(?number, ...any[]) => void");
DemitDefaultParametersFunctionProperty.ts23 AssertType({ func1(y = 10, ...rest) { }, func2(x = "hello") { }, func3(x: string, z: numbe…
25 func1(y = 10, ...rest) { },
26 AssertType(func1, "(?number, ...any[]) => void");
DemitRestParametersFunctionPropertyES6.ts24 func1: (...rest) => void
25 AssertType(func1, "(...any[]) => void");
DemitRestParametersFunctionProperty.ts24 func1: (...rest) => void
25 AssertType(func1, "(...any[]) => void");
DcommentsOnObjectLiteral3.ts37 func1() { },
38 AssertType(func1, "() => void");
DconditionalTypeBasedContextualTypeReturnTypeWidening.ts24 const func1 = useState1(() => () => 0);
25 AssertType(func1, "() => 0");
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DfunctionCall_2.ts17 function func1(a : number) : void { function
24 func1(func2(5));
DfunctionCall.ts17 function func1(a: number): void { function
20 func1(5);
35 func1(func2(func3(obj1)));
DtupleAssignability.ts40 var tuple14 = [[1, 2], func1(1, "foo"), true] as [a?: [number, number], b?: [a: number, b?: boolean…
47 function func1(a: number, b: string): [a: number, b?: boolean[]] { function
DvarRedeclaration.ts85 function func1(a: number, b: string): "foo" { function
91 var l: typeof func1 | typeof func2;
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_invoke_test.cpp77 JSHandle<JSFunction> func1 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0() local
78 func1.GetTaggedValue().GetTaggedObject()->GetClass()->SetClassConstructor(true); in HWTEST_F_L0()
79 array1->Set(thread, 1, func1.GetTaggedValue()); in HWTEST_F_L0()
96 ASSERT_EQ(slotArray->Get(thread, 2), func1.GetTaggedValue()); in HWTEST_F_L0()
110 JSHandle<JSFunction> func1 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0() local
115 array->Set(thread, 2, func1.GetTaggedValue()); in HWTEST_F_L0()
122 …JSTaggedValue testValue1 = InvokeCache::CheckPolyInvokeCache(array.GetTaggedValue(), func1.GetTagg… in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/aottest/getunmappedargs/
Dgetunmappedargs.ts17 function func1(a:any) {
20 func1(1);
/arkcompiler/ets_runtime/test/aottest/deopt_clear_aotflags/
Ddeopt_clear_aotflags.ts33 const func1 = foo(-1); constant
36 func1(undefined);
/arkcompiler/runtime_core/tests/checked/
Daot.pa19 #! EVENT "AotEntrypointFound,_GLOBAL::func1"
26 #! EVENT "AotEntrypointFound,_GLOBAL::func1"
50 .function i32 func1(i32 a0) {
63 call.short func1, a0
72 call.short func1, v1
/arkcompiler/ets_runtime/test/moduletest/loadicbyvalue/
Dloadicbyvalue.js24 function func1(a) function
30 func1(obj);
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest_generic.ts17 function func1<Type, A, B extends readonly number[]>(arg: Type): Type { function
39 func1<number, string, [1, 2, 3]>()
43 a: function <B, C extends typeof func1>() { },
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/
Dgraph_test.js47 let func1 = function (o) { function
55 let res = func1();
Ddebug_info_test.js17 function func1(o1, o2) { function
38 let m = '123'; func1(...arr); // written on the same line for testing
/arkcompiler/ets_runtime/test/aottest/classstatic/
Dclassstatic.ts232 func1(a:any,...A:any) : void { method in Shape
260 func1() : void { method in Sphere
270 shape.func1(hits);
289 sh.func1(1, 2);
Dexpect_output.txt25 func1
27 func1
/arkcompiler/ets_runtime/test/aottest/calls/
Dcalls.ts105 function func1(value: number): number { function
120 func1(value);
140 func1();
/arkcompiler/ets_frontend/testTs/expect/types/objectTypeLiteral/methodSignatures/
DfunctionLiterals.txt1 {'lb': [{'t': 2, 'v': 6}, {'t': 2, 'v': 3}, {'t': 5, 'v': 'func1'}, {'t': 25, 'v': 1}, {'t': 5, 'v'…
5 {'lb': [{'t': 2, 'v': 6}, {'t': 2, 'v': 3}, {'t': 5, 'v': 'func1'}, {'t': 25, 'v': 1}, {'t': 5, 'v'…

123