Home
last modified time | relevance | path

Searched refs:thisArg (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/third_party/typescript/tests/baselines/reference/
DjsFileCompilationRestParamJsDocFunction.types4 * with the `this` binding of `thisArg` and the arguments of `args`.
8 * @param {*} thisArg The `this` binding of `func`.
12 function apply(func, thisArg, ...args) {
13 >apply : (func: Function, thisArg: any, ...args: any[]) => any
15 >thisArg : any
27 case 0: return func.call(thisArg);
29 >func.call(thisArg) : any
30 >func.call : (this: Function, thisArg: any, ...argArray: any[]) => any
32 >call : (this: Function, thisArg: any, ...argArray: any[]) => any
33 >thisArg : any
[all …]
DtypedArrays.types276 … k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable<number>, mapfn?: (v: number…
278 … k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable<number>, mapfn?: (v: number…
287 … k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
289 … k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
298 … k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
300 … k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
309 …k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
311 …k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
320 … k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
322 … k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable<number>, mapfn?: (v: numbe…
[all …]
DstrictBindCallApply1.types22thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
24thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
30thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
32thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
39thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
41thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
49thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
51thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
59thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
61thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
[all …]
DobjectTypeWithConstructSignatureHidingMembersOfFunction.types9 call(thisArg: number, ...argArray: number[]): any;
10 >call : (thisArg: number, ...argArray: number[]) => any
11 >thisArg : number
26 var r1b: (thisArg: number, ...argArray: number[]) => void = i.call;
27 >r1b : (thisArg: number, ...argArray: number[]) => void
28 >thisArg : number
30 >i.call : (thisArg: number, ...argArray: number[]) => any
32 >call : (thisArg: number, ...argArray: number[]) => any
41 >x : { new (): number; apply(a: any, b?: any): void; call(thisArg: number, ...argArray: number[]): …
49 call(thisArg: number, ...argArray: number[]): any;
[all …]
DobjectTypeWithCallSignatureHidingMembersOfFunction.types12 call(thisArg: number, ...argArray: number[]): any;
13 >call : (thisArg: number, ...argArray: number[]) => any
14 >thisArg : number
29 var r1b: (thisArg: number, ...argArray: number[]) => void = i.call;
30 >r1b : (thisArg: number, ...argArray: number[]) => void
31 >thisArg : number
33 >i.call : (thisArg: number, ...argArray: number[]) => any
35 >call : (thisArg: number, ...argArray: number[]) => any
44 >x : { (): void; apply(a: any, b?: any): void; call(thisArg: number, ...argArray: number[]): any; }
52 call(thisArg: number, ...argArray: number[]): any;
[all …]
DjsFileCompilationRestParamJsDocFunction.js12 function apply(func, thisArg, ...args) { argument
15 case 0: return func.call(thisArg);
16 case 1: return func.call(thisArg, args[0]);
17 case 2: return func.call(thisArg, args[0], args[1]);
18 case 3: return func.call(thisArg, args[0], args[1], args[2]);
20 return func.apply(thisArg, args);
39 function apply(func, thisArg) { argument
46 case 0: return func.call(thisArg);
47 case 1: return func.call(thisArg, args[0]);
48 case 2: return func.call(thisArg, args[0], args[1]);
[all …]
DobjectTypeWithCallSignatureHidingMembersOfExtendedFunction.types20 call(thisArg: number, ...argArray: number[]): any;
21 >call : (thisArg: number, ...argArray: number[]) => any
22 >thisArg : number
37 var r1b: (thisArg: number, ...argArray: number[]) => void = i.call;
38 >r1b : (thisArg: number, ...argArray: number[]) => void
39 >thisArg : number
41 >i.call : (thisArg: number, ...argArray: number[]) => any
43 >call : (thisArg: number, ...argArray: number[]) => any
64 >x : { (): void; apply(a: any, b?: any): void; call(thisArg: number, ...argArray: number[]): any; }
72 call(thisArg: number, ...argArray: number[]): any;
[all …]
DobjectTypeWithConstructSignatureHidingMembersOfExtendedFunction.types17 call(thisArg: number, ...argArray: number[]): any;
18 >call : (thisArg: number, ...argArray: number[]) => any
19 >thisArg : number
34 var r1b: (thisArg: number, ...argArray: number[]) => void = i.call;
35 >r1b : (thisArg: number, ...argArray: number[]) => void
36 >thisArg : number
38 >i.call : (thisArg: number, ...argArray: number[]) => any
40 >call : (thisArg: number, ...argArray: number[]) => any
61 >x : { new (): number; apply(a: any, b?: any): void; call(thisArg: number, ...argArray: number[]): …
69 call(thisArg: number, ...argArray: number[]): any;
[all …]
DtypedArrays.js137 …eTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v:number)=> number, thisArg: {}) {
139 typedArrays[0] = Int8Array.from(obj, mapFn, thisArg);
140 typedArrays[1] = Uint8Array.from(obj, mapFn, thisArg);
141 typedArrays[2] = Int16Array.from(obj, mapFn, thisArg);
142 typedArrays[3] = Uint16Array.from(obj, mapFn, thisArg);
143 typedArrays[4] = Int32Array.from(obj, mapFn, thisArg);
144 typedArrays[5] = Uint32Array.from(obj, mapFn, thisArg);
145 typedArrays[6] = Float32Array.from(obj, mapFn, thisArg);
146 typedArrays[7] = Float64Array.from(obj, mapFn, thisArg);
147 typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg);
[all …]
DjsFileCompilationRestParamJsDocFunction.symbols4 * with the `this` binding of `thisArg` and the arguments of `args`.
8 * @param {*} thisArg The `this` binding of `func`.
12 function apply(func, thisArg, ...args) {
15 >thisArg : Symbol(thisArg, Decl(_apply.js, 10, 20))
27 case 0: return func.call(thisArg);
31 >thisArg : Symbol(thisArg, Decl(_apply.js, 10, 20))
33 case 1: return func.call(thisArg, args[0]);
37 >thisArg : Symbol(thisArg, Decl(_apply.js, 10, 20))
40 case 2: return func.call(thisArg, args[0], args[1]);
44 >thisArg : Symbol(thisArg, Decl(_apply.js, 10, 20))
[all …]
DarrayFrom.types44thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
46thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
52thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
54thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
63thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
65thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
74thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
76thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
88thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
90thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> …
[all …]
DtargetTypeArgs.types22 >[1].forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any)…
25 >forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => …
34 …ing[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: string, index: number, arra…
37 …ing[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: string, index: number, arra…
46 …ber[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, arra…
49 …ber[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, arra…
58 …ber[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, arra…
61 …ber[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, arra…
70 …ing[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: string, index: number, arra…
73 …ing[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: string, index: number, arra…
[all …]
DjsDeclarationsTypeReassignmentFromDeclaration.types19thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
20thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
21thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
22thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
DjsDeclarationsTypeReassignmentFromDeclaration2.types10thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
11thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
12thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
13thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
DstrictBindCallApply2.types18thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
20thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
DmapOnTupleTypes01.types5 >[1, 2, 3, 4].map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?:…
11 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]
28 >numTuple.map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any…
30 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]
60 >numNum.map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) …
62 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]
72 >strStr.map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) …
74 >map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]
86 …fn: (value: string | number, index: number, array: (string | number)[]) => U, thisArg?: any) => U[]
88 …fn: (value: string | number, index: number, array: (string | number)[]) => U, thisArg?: any) => U[]
[all …]
DobjectTypeWithConstructSignatureHidingMembersOfFunction.symbols11 call(thisArg: number, ...argArray: number[]): any;
13 >thisArg : Symbol(thisArg, Decl(objectTypeWithConstructSignatureHidingMembersOfFunction.ts, 3, 9))
29 var r1b: (thisArg: number, ...argArray: number[]) => void = i.call;
31 >thisArg : Symbol(thisArg, Decl(objectTypeWithConstructSignatureHidingMembersOfFunction.ts, 8, 10))
52 call(thisArg: number, ...argArray: number[]): any;
54 >thisArg : Symbol(thisArg, Decl(objectTypeWithConstructSignatureHidingMembersOfFunction.ts, 14, 9))
66 var r2b: (thisArg: number, ...argArray: number[]) => void = x.call;
68 >thisArg : Symbol(thisArg, Decl(objectTypeWithConstructSignatureHidingMembersOfFunction.ts, 18, 10))
/third_party/typescript/tests/cases/compiler/
DtypedArrays.ts138 …eTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v:number)=> number, thisArg: {}) {
140 typedArrays[0] = Int8Array.from(obj, mapFn, thisArg);
141 typedArrays[1] = Uint8Array.from(obj, mapFn, thisArg);
142 typedArrays[2] = Int16Array.from(obj, mapFn, thisArg);
143 typedArrays[3] = Uint16Array.from(obj, mapFn, thisArg);
144 typedArrays[4] = Int32Array.from(obj, mapFn, thisArg);
145 typedArrays[5] = Uint32Array.from(obj, mapFn, thisArg);
146 typedArrays[6] = Float32Array.from(obj, mapFn, thisArg);
147 typedArrays[7] = Float64Array.from(obj, mapFn, thisArg);
148 typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg);
[all …]
DjsFileCompilationRestParamJsDocFunction.ts16 function apply(func, thisArg, ...args) {
19 case 0: return func.call(thisArg);
20 case 1: return func.call(thisArg, args[0]);
21 case 2: return func.call(thisArg, args[0], args[1]);
22 case 3: return func.call(thisArg, args[0], args[1], args[2]);
24 return func.apply(thisArg, args);
/third_party/typescript/src/lib/
Des5.d.ts258 apply(this: Function, thisArg: any, argArray?: any): any;
265 call(this: Function, thisArg: any, ...argArray: any[]): any;
273 bind(this: Function, thisArg: any, ...argArray: any[]): any;
314 apply<T, R>(this: (this: T) => R, thisArg: T): R;
315 apply<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;
322 call<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;
330 bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;
331 …bind<T, A0, A extends any[], R>(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0):…
332 … extends any[], R>(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg…
333 …ny[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg…
[all …]
Des2020.bigint.d.ts164 …every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): …
183 …filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): Big…
194 …find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): b…
205 …findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: an…
214 …forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): …
260 …map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): Bi…
335 …some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): b…
392 …from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;
436 …every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any):…
455 …filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): Bi…
[all …]
/third_party/typescript/lib/
Dlib.es5.d.ts278 apply(this: Function, thisArg: any, argArray?: any): any;
285 call(this: Function, thisArg: any, ...argArray: any[]): any;
293 bind(this: Function, thisArg: any, ...argArray: any[]): any;
334 apply<T, R>(this: (this: T) => R, thisArg: T): R;
335 apply<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;
342 call<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;
350 bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;
351 …bind<T, A0, A extends any[], R>(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0):…
352 … extends any[], R>(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg…
353 …ny[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg…
[all …]
Dlib.es2020.bigint.d.ts184 …every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): …
203 …filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): Big…
214 …find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): b…
225 …findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: an…
234 …forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): …
280 …map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): Bi…
355 …some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): b…
412 …from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;
456 …every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any):…
475 …filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): Bi…
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Darray-from.js129 function testArrayFrom(thisArg, constructor) { argument
130 assertArrayLikeEquals(Array.from.call(thisArg, [], undefined), [], constructor);
131 assertArrayLikeEquals(Array.from.call(thisArg, NaN), [], constructor);
132 assertArrayLikeEquals(Array.from.call(thisArg, Infinity), [], constructor);
133 assertArrayLikeEquals(Array.from.call(thisArg, 10000000), [], constructor);
134 assertArrayLikeEquals(Array.from.call(thisArg, 'test'), ['t', 'e', 's', 't'], constructor);
136 assertArrayLikeEquals(Array.from.call(thisArg,
138 …assertArrayLikeEquals(Array.from.call(thisArg, { length: -1, '0': { 'foo': 'bar' } }), [], constru…
139 assertArrayLikeEquals(Array.from.call(thisArg,
142 assertArrayLikeEquals(Array.from.call(thisArg, kSet), ['foo', 'bar', 'baz'], constructor);
[all …]
/third_party/node/deps/npm/node_modules/lodash._bindcallback/
Dindex.js20 function bindCallback(func, thisArg, argCount) { argument
24 if (thisArg === undefined) {
29 return func.call(thisArg, value);
32 return func.call(thisArg, value, index, collection);
35 return func.call(thisArg, accumulator, value, index, collection);
38 return func.call(thisArg, value, other, key, object, source);
42 return func.apply(thisArg, arguments);

12345678910>>...16