Home
last modified time | relevance | path

Searched refs:callbackfn (Results 1 – 25 of 142) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DduplicateOverloadInTypeAugmentation1.types3 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T,
4callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T; (callb…
5 >callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T
14 … reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U,
15callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T; (callb…
16 >callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U
31callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) =…
33callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) =…
DimplementArrayInterface.types71 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
72 >every : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean
73 >callbackfn : (value: T, index: number, array: T[]) => boolean
79 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
80 >some : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean
81 >callbackfn : (value: T, index: number, array: T[]) => boolean
87 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
88 >forEach : (callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void
89 >callbackfn : (value: T, index: number, array: T[]) => void
95 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
[all …]
DanyInferenceAnonymousFunctions.types7callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a…
9callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a…
26callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a…
28callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a…
45callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a…
47callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a…
60 >paired.map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
62 >map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
71 >paired.map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
73 >map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
DunionOfClassCalls.types53 >arr.map : (<U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) =>…
55 >map : (<U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]…
68callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
70callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
84 >arr.forEach : ((callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any…
86 >forEach : ((callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) =>…
98 >arr1.map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) =>…
100 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]
112callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
114callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
[all …]
DgenericReduce.types13 >a.map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]
15 >map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]
25callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
27callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
38callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
40callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
79callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
81callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
DrestPropertyWithBindingPattern.types20callbackfn: (value: never, index: number, array: never[]) => void, thisArg?: any): void; map<U>(ca…
27callbackfn: (value: never, index: number, array: never[]) => void, thisArg?: any): void; map<U>(ca…
DimplementArrayInterface.js20 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
21 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
22 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
23 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
24 filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[];
25 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, ini…
26 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, …
27 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T…
28 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) =…
DbestChoiceType.types6 …/ /) || []).map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?:…
15 >map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]…
45 >y.map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U…
47 >map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]…
77 >y.map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U…
79 >map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]…
DdestructuringTuple.types28callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
33callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
47callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
52callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
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 >numStr.map : <U>(callbackfn: (value: string | number, index: number, array: (string | number)[]) =…
88 >map : <U>(callbackfn: (value: string | number, index: number, array: (string | number)[]) => U, th…
[all …]
DimplementArrayInterface.symbols93 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
95 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 18, 10))
103 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
105 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 19, 9))
113 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
115 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 20, 12))
123 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
126 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 21, 11))
136 filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[];
138 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 22, 11))
[all …]
DmappedTypeWithAsClauseAndLateBoundProperty.types6callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
9callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
11callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
DmappedTypeWithAsClauseAndLateBoundProperty2.types3callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
4callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
5callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
DunionOfClassCalls.errors.txt2callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
36callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
DmappedTypeWithAsClauseAndLateBoundProperty.errors.txt1callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
9callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
DgenericContextualTypingSpecialization.types7callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
9callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
/third_party/typescript/lib/
Dlib.es5.d.ts1244 … forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;
1250 map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];
1268 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) …
1269 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) …
1275 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[…
1281 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly …
1282 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly …
1288 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readon…
1435 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
1441 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
[all …]
Dlib.es2020.bigint.d.ts236 …forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): …
282 …map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): Bi…
294 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigI…
306 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt…
318 …reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array:…
330 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: B…
508 …forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any):…
554 …map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): B…
566 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigU…
578 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUin…
[all …]
/third_party/typescript/src/lib/
Des5.d.ts1224 … forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;
1230 map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];
1248 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) …
1249 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) …
1255 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[…
1261 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly …
1262 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly …
1268 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readon…
1415 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
1421 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
[all …]
Des2020.bigint.d.ts216 …forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): …
262 …map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): Bi…
274 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigI…
286 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt…
298 …reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array:…
310 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: B…
488 …forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any):…
534 …map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): B…
546 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigU…
558 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUin…
[all …]
/third_party/typescript/tests/cases/compiler/
DimplementArrayInterface.ts19 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
20 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
21 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
22 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
23 filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[];
24 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, ini…
25 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, …
26 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T…
27 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) =…
/third_party/typescript/tests/cases/conformance/decorators/
D1.0lib-noErrors.ts817 …every(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): bool…
818 …some(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): boole…
819 … forEach(callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any): void;
820 map(callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): any[];
821 …filter(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): str…
822 …reduce(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: string[]) …
823 …reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: strin…
1072 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
1079 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean;
1086 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
[all …]
/third_party/node/deps/v8/src/builtins/
Darray-foreach.tq14 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
19 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK,
32 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
37 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK,
42 _receiver: JSReceiver, callbackfn: Callable, thisArg: JSAny, _array: JSAny,
61 // 6c. ii. Perform ? Call(callbackfn, T, <kValue, k, O>).
62 Call(context, callbackfn, thisArg, kValue, k, o);
71 o: JSReceiver, len: Number, callbackfn: Callable, thisArg: JSAny): JSAny
86 Call(context, callbackfn, thisArg, value, k, fastOW.Get());
104 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception.
[all …]
Darray-every.tq18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
23 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK,
36 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
50 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK,
55 _receiver: JSReceiver, callbackfn: Callable, thisArg: JSAny, _array: JSAny,
72 // 6c. ii. Perform ? Call(callbackfn, T, <kValue, k, O>).
73 const result: JSAny = Call(context, callbackfn, thisArg, kValue, k, o);
87 o: JSReceiver, len: Number, callbackfn: Callable, thisArg: JSAny): JSAny
102 Call(context, callbackfn, thisArg, value, k, fastOW.Get());
123 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception.
[all …]
Darray-some.tq18 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
23 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK,
36 const callbackfn = Cast<Callable>(callback) otherwise unreachable;
50 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK,
55 _receiver: JSReceiver, callbackfn: Callable, thisArg: JSAny, _array: JSAny,
72 // 6c. ii. Perform ? Call(callbackfn, T, <kValue, k, O>).
73 const result: JSAny = Call(context, callbackfn, thisArg, kValue, k, o);
87 o: JSReceiver, len: Number, callbackfn: Callable, thisArg: JSAny): JSAny
102 Call(context, callbackfn, thisArg, value, k, fastOW.Get());
123 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception.
[all …]

123456