Home
last modified time | relevance | path

Searched refs:func2 (Results 1 – 25 of 146) 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.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.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.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.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.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.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))
DnoImplicitThisBigThis.symbols15 func2() {
16 >func2 : Symbol(func2, Decl(noImplicitThisBigThis.ts, 6, 10))
42 func2() {
43 >func2 : Symbol(func2, Decl(noImplicitThisBigThis.ts, 20, 10))
DasyncAwaitNestedClasses_es5.js5 static func2(): Promise<void> {
10 await B.func2();
27 B.func2 = function () {
39 case 0: return [4 /*yield*/, _a.func2()];
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
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
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))
/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/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/typescript/tests/ts_extra_tests/test_ts_cases/4.2/leading_middle_rest_elements_in_tuple_types/
Dleading_middle_rest_elements_in_tuple_types4.ts34 function func2(...arg: [str:string, ...arr: unknown[], num: number]) { function
37 let result3 = func2('a', 10);
39 let result4 = func2('s', true, 10);
/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/libabigail/tests/data/test-abidiff-exit/
Dtest-crc-v0.abi4 …<elf-symbol name='func2' type='func-type' binding='global-binding' visibility='default-visibility'…
20 …<function-decl name='func2' mangled-name='func2' visibility='default' binding='global' size-in-bit…
/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