/third_party/typescript/tests/baselines/reference/ |
D | jsFileCompilationRestParamJsDocFunction.types | 4 * 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 …]
|
D | typedArrays.types | 276 … 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 …]
|
D | strictBindCallApply1.types | 22 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 24 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 30 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 32 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 39 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 41 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 49 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 51 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 59 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 61 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … [all …]
|
D | objectTypeWithConstructSignatureHidingMembersOfFunction.types | 9 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 …]
|
D | objectTypeWithCallSignatureHidingMembersOfFunction.types | 12 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 …]
|
D | jsFileCompilationRestParamJsDocFunction.js | 12 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 …]
|
D | objectTypeWithCallSignatureHidingMembersOfExtendedFunction.types | 20 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 …]
|
D | objectTypeWithConstructSignatureHidingMembersOfExtendedFunction.types | 17 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 …]
|
D | typedArrays.js | 137 …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 …]
|
D | jsFileCompilationRestParamJsDocFunction.symbols | 4 * 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 …]
|
D | arrayFrom.types | 44 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 46 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 52 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 54 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 63 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 65 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 74 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 76 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 88 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … 90 …thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> … [all …]
|
D | targetTypeArgs.types | 22 >[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 …]
|
D | jsDeclarationsTypeReassignmentFromDeclaration.types | 19 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno… 20 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno… 21 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno… 22 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
|
D | jsDeclarationsTypeReassignmentFromDeclaration2.types | 10 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno… 11 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno… 12 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno… 13 …thisArg?: any): this is S[]; every(predicate: (value: Item, index: number, array: Item[]) => unkno…
|
D | strictBindCallApply2.types | 18 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, … 20 …thisArg: ThisParameterType<T>): OmitThisParameter<T>; <T, A0, A extends any[], R>(this: (this: T, …
|
D | mapOnTupleTypes01.types | 5 >[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 …]
|
D | objectTypeWithConstructSignatureHidingMembersOfFunction.symbols | 11 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/ |
D | typedArrays.ts | 138 …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 …]
|
D | jsFileCompilationRestParamJsDocFunction.ts | 16 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/ |
D | es5.d.ts | 258 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 …]
|
D | es2020.bigint.d.ts | 164 …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/ |
D | lib.es5.d.ts | 278 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 …]
|
D | lib.es2020.bigint.d.ts | 184 …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/ |
D | array-from.js | 129 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/ |
D | index.js | 20 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);
|