Home
last modified time | relevance | path

Searched refs:fn1 (Results 1 – 25 of 273) sorted by relevance

1234567891011

/third_party/typescript/tests/baselines/reference/
DcontextSensitiveReturnTypeInference.types32 >test( (deps, data) => ({ fn1: function() { return deps.foo }, fn2: data.bar }), DEPS) : a…
36 >(deps, data) => ({ fn1: function() { return deps.foo }, fn2: data.bar }) : (deps: { foo: nu…
39 >({ fn1: function() { return deps.foo }, fn2: data.bar }) : { fn1: () => number; fn2: boolea…
40 >{ fn1: function() { return deps.foo }, fn2: data.bar } : { fn1: () => number; fn2: boolean;…
42 fn1: function() { return deps.foo },
43 >fn1 : () => number
62 >test( (deps: typeof DEPS, data) => ({ fn1: function() { return deps.foo }, fn2: data.bar }…
66 …peof DEPS, data) => ({ fn1: function() { return deps.foo }, fn2: data.bar }) : (deps: typeo…
70 >({ fn1: function() { return deps.foo }, fn2: data.bar }) : { fn1: () => number; fn2: boolea…
71 >{ fn1: function() { return deps.foo }, fn2: data.bar } : { fn1: () => number; fn2: boolean;…
[all …]
DgenericRestTypes.js16 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x; function
17 const fn2: (...args: never) => void = fn1;
21 const fn1: (cb: (x: string, ...rest: T) => void) => void = (cb) => {};
22 const fn2: (cb: (...args: never) => void) => void = fn1;
26 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x;
27 const fn2: (...args: {x: "a"} & {x: "b"}) => void = fn1;
34 var fn1 = function (x) { function
41 var fn2 = fn1;
44 var fn1 = function (cb) { }; function
45 var fn2 = fn1;
[all …]
DcontextSensitiveReturnTypeInference.js19 fn1: function() { return deps.foo }, method
27 fn1: function() { return deps.foo }, method
35 fn1: () => deps.foo,
44 fn1() { return deps.foo },
53 fn1() { return deps.foo }, method
67 fn1: function () { return deps.foo; },
71 fn1: function () { return deps.foo; },
75 fn1: function () { return deps.foo; },
80 fn1: function () { return deps.foo; },
85 fn1: function () { return deps.foo; },
DgenericRestTypes.symbols51 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x;
52 >fn1 : Symbol(fn1, Decl(genericRestTypes.ts, 14, 9))
60 const fn2: (...args: never) => void = fn1;
63 >fn1 : Symbol(fn1, Decl(genericRestTypes.ts, 14, 9))
70 const fn1: (cb: (x: string, ...rest: T) => void) => void = (cb) => {};
71 >fn1 : Symbol(fn1, Decl(genericRestTypes.ts, 19, 9))
78 const fn2: (cb: (...args: never) => void) => void = fn1;
82 >fn1 : Symbol(fn1, Decl(genericRestTypes.ts, 19, 9))
89 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x;
90 >fn1 : Symbol(fn1, Decl(genericRestTypes.ts, 24, 9))
[all …]
DgenericRestTypes.types33 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x;
34 >fn1 : (x: string, ...rest: T) => void
42 const fn2: (...args: never) => void = fn1;
45 >fn1 : (x: string, ...rest: T) => void
51 const fn1: (cb: (x: string, ...rest: T) => void) => void = (cb) => {};
52 >fn1 : (cb: (x: string, ...rest: T) => void) => void
59 const fn2: (cb: (...args: never) => void) => void = fn1;
63 >fn1 : (cb: (x: string, ...rest: T) => void) => void
69 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x;
70 >fn1 : (x: string, ...rest: T) => void
[all …]
DcontextSensitiveReturnTypeInference.symbols42 fn1: function() { return deps.foo },
43 >fn1 : Symbol(fn1, Decl(contextSensitiveReturnTypeInference.ts, 16, 20))
68 fn1: function() { return deps.foo },
69 >fn1 : Symbol(fn1, Decl(contextSensitiveReturnTypeInference.ts, 24, 33))
93 fn1: () => deps.foo,
94 >fn1 : Symbol(fn1, Decl(contextSensitiveReturnTypeInference.ts, 32, 20))
119 fn1() { return deps.foo },
120 >fn1 : Symbol(fn1, Decl(contextSensitiveReturnTypeInference.ts, 41, 12))
143 fn1() { return deps.foo },
144 >fn1 : Symbol(fn1, Decl(contextSensitiveReturnTypeInference.ts, 50, 14))
DtaggedTemplateStringsWithOverloadResolution3_ES6.js3 function fn1(strs: TemplateStringsArray, s: string): string;
4 function fn1(strs: TemplateStringsArray, n: number): number;
5 function fn1() { return null; } function
7 var s: string = fn1 `${ undefined }`;
10 fn1 `${ {} }`; // Error
76 function fn1() { return null; }
77 var s = fn1 `${undefined}`;
79 fn1 `${{}}`; // Error
DparameterDestructuringObjectLiteral.symbols4 const fn1 = (options: { headers?: {} }) => { };
5 >fn1 : Symbol(fn1, Decl(parameterDestructuringObjectLiteral.ts, 2, 5))
9 fn1({ headers: { foo: 1 } });
10 >fn1 : Symbol(fn1, Decl(parameterDestructuringObjectLiteral.ts, 2, 5))
DparameterDestructuringObjectLiteral.js4 const fn1 = (options: { headers?: {} }) => { }; function
5 fn1({ headers: { foo: 1 } });
13 var fn1 = function (options) { };
14 fn1({ headers: { foo: 1 } });
22 declare const fn1: (options: {
DtaggedTemplateStringsWithOverloadResolution3.js3 function fn1(strs: TemplateStringsArray, s: string): string;
4 function fn1(strs: TemplateStringsArray, n: number): number;
5 function fn1() { return null; } function
7 var s: string = fn1 `${ undefined }`;
10 fn1 `${ {} }`; // Error
80 function fn1() { return null; }
81 var s = fn1(__makeTemplateObject(["", ""], ["", ""]), undefined);
83 fn1(__makeTemplateObject(["", ""], ["", ""]), {}); // Error
DfunctionOverloadErrors.js3 function fn1(x = 3);
4 function fn1() { } function
76 export function fn1();
77 function fn1(n: string);
78 function fn1() { }
122 function fn1() { }
148 function fn1() { } function
DfunctionNameConflicts.symbols8 function fn1() { }
9 >fn1 : Symbol(fn1, Decl(functionNameConflicts.ts, 3, 10))
11 var fn1;
12 >fn1 : Symbol(fn1, Decl(functionNameConflicts.ts, 5, 7))
DoverloadResolutionClassConstructors.js19 class fn1 { class
25 new fn1(undefined);
28 new fn1({}); // Error
147 var fn1 = /** @class */ (function () { function
148 function fn1() { function
150 return fn1;
152 new fn1(undefined);
154 new fn1({}); // Error
DoverloadResolution.js19 function fn1(s: string): string;
20 function fn1(s: number): number;
21 function fn1() { return null; } function
23 var s = fn1(undefined);
28 fn1({}); // Error
139 function fn1() { return null; }
140 var s = fn1(undefined);
143 fn1({}); // Error
DoverloadResolutionConstructors.js17 interface fn1 {
21 var fn1: fn1; variable
24 var s = new fn1(undefined);
28 new fn1({}); // Error
147 var fn1; variable
149 var s = new fn1(undefined);
152 new fn1({}); // Error
DparameterDestructuringObjectLiteral.types4 const fn1 = (options: { headers?: {} }) => { };
5 >fn1 : (options: { headers?: {};}) => void
10 fn1({ headers: { foo: 1 } });
11 >fn1({ headers: { foo: 1 } }) : void
12 >fn1 : (options: { headers?: {}; }) => void
/third_party/node/test/parallel/
Dtest-events-static-geteventlisteners.js15 const fn1 = common.mustNotCall(); constant
18 emitter.on('foo', fn1);
20 emitter.on('baz', fn1);
21 emitter.on('baz', fn1);
22 deepStrictEqual(getEventListeners(emitter, 'foo'), [fn1, fn2]);
24 deepStrictEqual(getEventListeners(emitter, 'baz'), [fn1, fn1]);
28 const fn1 = common.mustNotCall(); constant
31 target.addEventListener('foo', fn1);
33 target.addEventListener('baz', fn1);
34 target.addEventListener('baz', fn1);
[all …]
/third_party/ltp/testcases/kernel/containers/libclone/
Dlibclone.c20 int (*fn1) (void *arg), void *arg1, in do_clone_tests()
25 ret = ltp_clone_quick(clone_flags | SIGCHLD, fn1, arg1); in do_clone_tests()
39 int (*fn1) (void *arg), void *arg1, in do_unshare_tests()
72 ret = fn1(arg1); in do_unshare_tests()
89 int do_plain_tests(int (*fn1) (void *arg), void *arg1, in do_plain_tests()
100 exit(fn1(arg1)); in do_plain_tests()
107 int (*fn1) (void *arg), void *arg1) in do_clone_unshare_test()
111 return do_plain_tests(fn1, arg1, NULL, NULL); in do_clone_unshare_test()
113 return do_clone_tests(clone_flags, fn1, arg1, NULL, NULL); in do_clone_unshare_test()
115 return do_unshare_tests(clone_flags, fn1, arg1, NULL, NULL); in do_clone_unshare_test()
[all …]
Dlibclone.h65 int(*fn1)(void *arg), void *arg1,
69 int (*fn1)(void *arg), void *arg1,
72 int do_fork_tests(int (*fn1)(void *arg), void *arg1,
76 int (*fn1)(void *arg), void *arg1);
79 int (*fn1)(void *arg), void *arg1,
/third_party/glslang/Test/
Dhlsl.params.default.frag6 // ERROR: Ambiguous with fn1 below.
7 // int4 fn1(int4 p0) { return int4(1,2,3,4); }
9 int4 fn1(int4 p0, bool b1, bool b2 = false) {
13 int4 fn1(int4 p0,
42 return fn1(100) +
43 fn1(101, ui4) +
44 fn1(102, ui4, myarray) +
45 fn1(103, ui4, myarray, 99) +
46 fn1(104, false) +
47 fn1(105, false, true) +
Dhlsl.params.default.negative.frag7 int4 fn1(int4 p0) { return int4(1,2,3,4); }
9 int4 fn1(int4 p0, bool b1, bool b2 = false) {
13 int4 fn1(int4 p0,
40 return fn1(100) + // ERROR: ambiguous
41 fn1(101, ui4) +
42 fn1(102, ui4, myarray) +
43 fn1(103, ui4, myarray, 99) +
44 fn1(104, false) +
45 fn1(105, false, true) +
/third_party/typescript/tests/cases/compiler/
DgenericRestTypes.ts17 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x; constant
18 const fn2: (...args: never) => void = fn1;
22 const fn1: (cb: (x: string, ...rest: T) => void) => void = (cb) => {}; constant
23 const fn2: (cb: (...args: never) => void) => void = fn1;
27 const fn1: (x: string, ...rest: T) => void = (x, ..._) => x; constant
28 const fn2: (...args: {x: "a"} & {x: "b"}) => void = fn1;
DcontextSensitiveReturnTypeInference.ts20 fn1: function() { return deps.foo },
28 fn1: function() { return deps.foo },
36 fn1: () => deps.foo,
45 fn1() { return deps.foo },
54 fn1() { return deps.foo },
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-wrap.js8 fn1: function() {},
17 assert.equal(lib.fn1.name, 'bound retryWrapper');
25 assert.equal(lib.fn1.name, 'bound retryWrapper');
28 assert.equal(lib.fn1.options.retries, 2);
36 assert.notEqual(lib.fn1.name, 'bound retryWrapper');
44 assert.notEqual(lib.fn1.name, 'bound retryWrapper');
69 fn1: function (a, callback) { method
81 lib.fn1(1, function() {
/third_party/skia/third_party/externals/angle2/doc/
DResourceLimits.md21 GL\_MAX\_VERTEX\_TEXTURE\_IMAGE\_UNITS | 0 | (fn1) | 0 | 0 |…
22 GL\_MAX\_VARYING\_VECTORS | 8 | (fn1) | 8 | 10 |…
23 GL\_MAX\_FRAGMENT\_UNIFORM\_VECTORS | 16 | (fn1) | 29 | 221 |…
25 GL\_MAX\_TEXTURE\_SIZE | 64 | 2048-16384 (fn1) | | |
26 GL\_MAX\_CUBE\_MAP\_SIZE | 16 | 2048-16384 (fn1) | | |
27 GL\_MAX\_RENDERBUFFER\_SIZE | 1 | 2048-16384 (fn1) | | |
33 * fn1: limits vary based on the underlying hardware capabilities

1234567891011