Home
last modified time | relevance | path

Searched refs:func2 (Results 1 – 25 of 148) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DnoImplicitThisBigThis.types5 >createObj : () => { func1(): any; func2(): any; func3(): any; }
8func2() { return this; }, func3() { return this; } }…
11 >func1 : () => { func1(): any; func2(): any; func3(): any; }
14 >this : { func1(): any; func2(): any; func3(): any; }
17 func2() {
18 >func2 : () => { func1(): any; func2(): any; func3(): any; }
21 >this : { func1(): any; func2(): any; func3(): any; }
25 >func3 : () => { func1(): any; func2(): any; func3(): any; }
28 >this : { func1(): any; func2(): any; func3(): any; }
34 >createObjNoCrash : () => { func1(): any; func2(): any; func3(): any; func4(): any; func5(): any; f…
[all …]
DfunctionLiterals.js6 func2: (x: number) => number; // Function type literal
11 b.func1 = b.func2;
13 b.func2 = b.func1;
14 b.func2 = b.func3;
16 b.func3 = b.func2;
34 func2: <T>(x: T) => number; // Function type literal
39 b2.func1 = b2.func2;
41 b2.func2 = b2.func1;
42 b2.func2 = b2.func3;
44 b2.func3 = b2.func2;
[all …]
DfunctionLiterals.types5 >b : { func1(x: number): number; func2: (x: number) => number; func3: (x: number) => number; }
11 func2: (x: number) => number; // Function type literal
12 >func2 : (x: number) => number
21 b.func1 = b.func2;
22 >b.func1 = b.func2 : (x: number) => number
24 >b : { func1(x: number): number; func2: (x: number) => number; func3: (x: number) => number; }
26 >b.func2 : (x: number) => number
27 >b : { func1(x: number): number; func2: (x: number) => number; func3: (x: number) => number; }
28 >func2 : (x: number) => number
33 >b : { func1(x: number): number; func2: (x: number) => number; func3: (x: number) => number; }
[all …]
DfunctionLiterals.symbols11 func2: (x: number) => number; // Function type literal
12 >func2 : Symbol(func2, Decl(functionLiterals.ts, 3, 29))
21 b.func1 = b.func2;
25 >b.func2 : Symbol(func2, Decl(functionLiterals.ts, 3, 29))
27 >func2 : Symbol(func2, Decl(functionLiterals.ts, 3, 29))
37 b.func2 = b.func1;
38 >b.func2 : Symbol(func2, Decl(functionLiterals.ts, 3, 29))
40 >func2 : Symbol(func2, Decl(functionLiterals.ts, 3, 29))
45 b.func2 = b.func3;
46 >b.func2 : Symbol(func2, Decl(functionLiterals.ts, 3, 29))
[all …]
DoverloadResolutionWithAny.js12 var func2: { variable
19 func2(x, x); // string
20 func2("", ""); // number
21 func2(x, ""); // boolean
22 func2("", x); // RegExp
30 var func2; variable
31 func2(x, x); // string
32 func2("", ""); // number
33 func2(x, ""); // boolean
34 func2("", x); // RegExp
DoverloadResolutionWithAny.symbols26 var func2: {
27 >func2 : Symbol(func2, Decl(overloadResolutionWithAny.ts, 10, 3))
47 func2(x, x); // string
48 >func2 : Symbol(func2, Decl(overloadResolutionWithAny.ts, 10, 3))
52 func2("", ""); // number
53 >func2 : Symbol(func2, Decl(overloadResolutionWithAny.ts, 10, 3))
55 func2(x, ""); // boolean
56 >func2 : Symbol(func2, Decl(overloadResolutionWithAny.ts, 10, 3))
59 func2("", x); // RegExp
60 >func2 : Symbol(func2, Decl(overloadResolutionWithAny.ts, 10, 3))
DoverloadResolutionWithAny.types31 var func2: {
32 >func2 : { (s: string, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegEx…
51 func2(x, x); // string
52 >func2(x, x) : string
53 >func2 : { (s: string, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegEx…
57 func2("", ""); // number
58 >func2("", "") : number
59 >func2 : { (s: string, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegEx…
63 func2(x, ""); // boolean
64 >func2(x, "") : boolean
[all …]
DasyncAwaitNestedClasses_es5.types8func2(): Promise<void> { return new Promise((resolve) => { resolve(null); }); } …
11 static func2(): Promise<void> {
12 >func2 : () => Promise<void>
25 >class C { static async func() { await B.func2(); } } :…
31 await B.func2();
32 >await B.func2() : void
33 >B.func2() : Promise<void>
34 >B.func2 : () => Promise<void>
36 >func2 : () => Promise<void>
DnoImplicitThisBigThis.js9 func2() {
23 func2() {
58 func2: function () {
71 func2: function () {
102 func2(): any;
107 func2(): any;
DasyncAwaitNestedClasses_es5.symbols10 static func2(): Promise<void> {
11 >func2 : Symbol(B.func2, Decl(asyncAwaitNestedClasses_es5.ts, 2, 24))
26 await B.func2();
27 >B.func2 : Symbol(B.func2, Decl(asyncAwaitNestedClasses_es5.ts, 2, 24))
29 >func2 : Symbol(B.func2, Decl(asyncAwaitNestedClasses_es5.ts, 2, 24))
DasyncAwaitNestedClasses_es5.js5 static func2(): Promise<void> {
10 await B.func2();
27 B.func2 = function () {
39 case 0: return [4 /*yield*/, _a.func2()];
DnoImplicitThisBigThis.symbols15 func2() {
16 >func2 : Symbol(func2, Decl(noImplicitThisBigThis.ts, 6, 10))
42 func2() {
43 >func2 : Symbol(func2, Decl(noImplicitThisBigThis.ts, 20, 10))
DemitDefaultParametersFunctionProperty.types3 >obj2 : { func1(y?: number, ...rest: any[]): void; func2(x?: string): void; func3(x: string, z: num…
4func2(x = "hello") { }, func3(x: string, z: number, y = "hello") { }, func4(x: string, z: nu…
12 func2(x = "hello") { },
13 >func2 : (x?: string) => void
DemitDefaultParametersFunctionPropertyES6.types3 >obj2 : { func1(y?: number, ...rest: any[]): void; func2(x?: string): void; func3(x: string, z: num…
4func2(x = "hello") { }, func3(x: string, z: number, y = "hello") { }, func4(x: string, z: nu…
12 func2(x = "hello") { },
13 >func2 : (x?: string) => void
DgenericInterfaceTypeCall.types16 fail2(func2: { (arg: T): void; }): void;
17 >fail2 : (func2: (arg: T) => void) => void
18 >func2 : (arg: T) => void
39 >test.fail2 : (func2: (arg: string) => void) => void
41 >fail2 : (func2: (arg: string) => void) => void
DtargetTypeTest2.symbols14 function func2(stuff1:string, stuff2:number, stuff3:number) {
15 >func2 : Symbol(func2, Decl(targetTypeTest2.ts, 6, 45))
DtargetTypeTest3.symbols14 function func2(stuff1:string, stuff2:number, stuff3:number) {
15 >func2 : Symbol(func2, Decl(targetTypeTest3.ts, 6, 45))
DemitDefaultParametersFunctionProperty.symbols10 func2(x = "hello") { },
11 >func2 : Symbol(func2, Decl(emitDefaultParametersFunctionProperty.ts, 1, 31))
DemitDefaultParametersFunctionPropertyES6.symbols10 func2(x = "hello") { },
11 >func2 : Symbol(func2, Decl(emitDefaultParametersFunctionPropertyES6.ts, 1, 31))
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/methodSignatures/
DfunctionLiterals.ts5 func2: (x: number) => number; // Function type literal variable
10 b.func1 = b.func2;
12 b.func2 = b.func1;
13 b.func2 = b.func3;
15 b.func3 = b.func2;
33 func2: <T>(x: T) => number; // Function type literal variable
38 b2.func1 = b2.func2;
40 b2.func2 = b2.func1;
41 b2.func2 = b2.func3;
43 b2.func3 = b2.func2;
/third_party/typescript/tests/cases/compiler/
DoverloadResolutionWithAny.ts11 var func2: { variable
18 func2(x, x); // string
19 func2("", ""); // number
20 func2(x, ""); // boolean
21 func2("", x); // RegExp
/third_party/boost/libs/function_types/test/synthesis/
Dtransformation.cpp49 typedef C func2(C const &); typedef
54 BOOST_MPL_ASSERT(( is_same< func2, ft::function_type<func2>::type > ));
55 BOOST_MPL_ASSERT(( is_same< func2, ft::function_type<func_ptr2>::type > ));
56 BOOST_MPL_ASSERT(( is_same< func2, ft::function_type<func_ref2>::type > ));
57 BOOST_MPL_ASSERT(( is_same< func2, ft::function_type<mem_func_ptr2>::type > ));
59 BOOST_MPL_ASSERT(( is_same< func_ptr2, ft::function_pointer<func2>::type > ));
64 BOOST_MPL_ASSERT(( is_same< func_ref2, ft::function_reference<func2>::type > ));
69 BOOST_MPL_ASSERT(( is_same< mem_func_ptr2, ft::member_function_pointer<func2>::type > ));
/third_party/ffmpeg/libavcodec/
Dpthread_slice.c46 action_func2 *func2; member
72 : c->func2(avctx, c->args, jobnr, threadnr); in worker_func()
114 static int thread_execute2(AVCodecContext *avctx, action_func2* func2, void *arg, int *ret, int job… in thread_execute2() argument
117 c->func2 = func2; in thread_execute2()
121 int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx, action_func2* func2, main_func *ma… in ff_slice_thread_execute_with_mainfunc() argument
124 c->func2 = func2; in ff_slice_thread_execute_with_mainfunc()
/third_party/skia/resources/sksl/inliner/
DTrivialArgumentsInlineDirectly.sksl21 half4 func2(half2 h2) {
51 var = func2(s.ah4[0].yw);
52 var = func2(as[0].ah4[0].xy);
64 // var = func2(as[i].h4.yw); // indexing by non-constant expressions disallowed in ES2
/third_party/pulseaudio/src/pulsecore/
Dmodinfo.c44 bool (*func2) (void); in pa_modinfo_get_by_handle() local
65 if ((func2 = (bool (*)(void)) pa_load_sym(dl, module_name, PA_SYMBOL_LOAD_ONCE))) in pa_modinfo_get_by_handle()
66 i->load_once = func2(); in pa_modinfo_get_by_handle()

123456