/third_party/typescript/tests/baselines/reference/ |
D | typeFromPropertyAssignment9_1.types | 36 my.predicate = my.predicate ?? {}; 37 >my.predicate = my.predicate ?? {} : typeof my.predicate 38 >my.predicate : typeof my.predicate 40 >predicate : typeof my.predicate 41 >my.predicate ?? {} : {} 42 >my.predicate : typeof my.predicate 44 >predicate : typeof my.predicate 47 my.predicate.query = function () { 48 >my.predicate.query = function () { var me = this; me.property = false;} : typeof query 49 >my.predicate.query : typeof query [all …]
|
D | typeFromPropertyAssignment9.types | 36 my.predicate = my.predicate || {}; 37 >my.predicate = my.predicate || {} : typeof my.predicate 38 >my.predicate : typeof my.predicate 40 >predicate : typeof my.predicate 41 >my.predicate || {} : {} 42 >my.predicate : typeof my.predicate 44 >predicate : typeof my.predicate 47 my.predicate.query = function () { 48 >my.predicate.query = function () { var me = this; me.property = false;} : typeof query 49 >my.predicate.query : typeof query [all …]
|
D | typeFromPropertyAssignment9.symbols | 26 my.predicate = my.predicate || {}; 27 >my.predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a… 29 >predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a.js… 30 >my.predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a… 32 >predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a.js… 34 my.predicate.query = function () { 35 >my.predicate.query : Symbol(my.predicate.query, Decl(a.js, 7, 34), Decl(a.js, 13, 13), Decl(a.js, … 36 >my.predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a… 38 >predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a.js… 39 >query : Symbol(my.predicate.query, Decl(a.js, 7, 34), Decl(a.js, 13, 13), Decl(a.js, 16, 13)) [all …]
|
D | typeFromPropertyAssignment9_1.symbols | 26 my.predicate = my.predicate ?? {}; 27 >my.predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a… 29 >predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a.js… 30 >my.predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a… 32 >predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a.js… 34 my.predicate.query = function () { 35 >my.predicate.query : Symbol(my.predicate.query, Decl(a.js, 7, 34), Decl(a.js, 13, 13), Decl(a.js, … 36 >my.predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a… 38 >predicate : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3), Decl(a.js… 39 >query : Symbol(my.predicate.query, Decl(a.js, 7, 34), Decl(a.js, 13, 13), Decl(a.js, 16, 13)) [all …]
|
D | nonInferrableTypePropagation2.types | 32 …donly A[]) => readonly B[]; <A>(predicate: Predicate<A>): <B extends A>(bs: readonly B[]) => reado… 38 <A>(predicate: Predicate<A>): <B extends A>(bs: ReadonlyArray<B>) => ReadonlyArray<B> 39 >predicate : Predicate<A> 42 <A>(predicate: Predicate<A>): (as: ReadonlyArray<A>) => ReadonlyArray<A> 43 >predicate : Predicate<A> 54 declare function exists<A>(predicate: Predicate<A>): <E>(ma: Either<E, A>) => boolean; 55 >exists : <A>(predicate: Predicate<A>) => <E>(ma: Either<E, A>) => boolean 56 >predicate : Predicate<A> 68 …donly A[]) => readonly B[]; <A>(predicate: Predicate<A>): <B extends A>(bs: readonly B[]) => reado… 70 >exists : <A>(predicate: Predicate<A>) => <E>(ma: Either<E, A>) => boolean
|
D | targetTypeArgs.types | 34 … <S extends string>(predicate: (value: string, index: number, array: string[]) => value is S, this… 37 … <S extends string>(predicate: (value: string, index: number, array: string[]) => value is S, this… 46 … <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, this… 49 … <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, this… 58 … <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, this… 61 … <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, this… 70 … <S extends string>(predicate: (value: string, index: number, array: string[]) => value is S, this… 73 … <S extends string>(predicate: (value: string, index: number, array: string[]) => value is S, this…
|
D | mappedTypeWithAsClauseAndLateBoundProperty.types | 6 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is … 9 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is … 11 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is …
|
D | mappedTypeWithAsClauseAndLateBoundProperty2.types | 3 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is … 4 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is … 5 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is …
|
D | lambdaParamTypes.types | 7 doSomething(predicate: (x: T, y: T) => string): void; 8 >doSomething : (predicate: (x: T, y: T) => string) => void 9 >predicate : (x: T, y: T) => string 37 >thing.doSomething : (predicate: (x: { name: string; id: number; }, y: { name: string; id: number; … 39 >doSomething : (predicate: (x: { name: string; id: number; }, y: { name: string; id: number; }) => … 53 >thing.doSomething : (predicate: (x: { name: string; id: number; }, y: { name: string; id: number; … 55 >doSomething : (predicate: (x: { name: string; id: number; }, y: { name: string; id: number; }) => … 69 >thing.doSomething : (predicate: (x: { name: string; id: number; }, y: { name: string; id: number; … 71 >doSomething : (predicate: (x: { name: string; id: number; }, y: { name: string; id: number; }) => … 85 >thing.doSomething : (predicate: (x: { name: string; id: number; }, y: { name: string; id: number; … [all …]
|
D | booleanFilterAnyArray.types | 48 …filter : { <S extends any>(predicate: (value: any, index: number, array: any[]) => value is S, thi… 50 …filter : { <S extends any>(predicate: (value: any, index: number, array: any[]) => value is S, thi… 67 …: string; }>(predicate: (value: { name: string; }, index: number, array: { name: string; }[]) => v… 69 …: string; }>(predicate: (value: { name: string; }, index: number, array: { name: string; }[]) => v… 82 … { <S extends boolean>(predicate: (value: boolean, index: number, array: boolean[]) => value is S,… 88 … { <S extends boolean>(predicate: (value: boolean, index: number, array: boolean[]) => value is S,…
|
D | mappedTypeWithAsClauseAndLateBoundProperty.errors.txt | 1 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is … 9 …predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is …
|
D | typeGuardOfFormThisMember.errors.txt | 1 …ons/typeGuards/typeGuardOfFormThisMember.ts(4,10): error TS1228: A type predicate is only allowed … 2 …ons/typeGuards/typeGuardOfFormThisMember.ts(5,17): error TS1228: A type predicate is only allowed … 3 …ns/typeGuards/typeGuardOfFormThisMember.ts(11,22): error TS1228: A type predicate is only allowed … 4 …ns/typeGuards/typeGuardOfFormThisMember.ts(14,16): error TS1228: A type predicate is only allowed … 10 …ns/typeGuards/typeGuardOfFormThisMember.ts(57,13): error TS1228: A type predicate is only allowed … 11 …ns/typeGuards/typeGuardOfFormThisMember.ts(58,15): error TS1228: A type predicate is only allowed … 14 …ns/typeGuards/typeGuardOfFormThisMember.ts(70,19): error TS1228: A type predicate is only allowed … 24 !!! error TS1228: A type predicate is only allowed in return type position for functions and method… 27 !!! error TS1228: A type predicate is only allowed in return type position for functions and method… 35 !!! error TS1228: A type predicate is only allowed in return type position for functions and method… [all …]
|
D | signatureHelpJSMissingPropertyAccess.baseline | 96 "name": "predicate", 99 …unction that accepts up to three arguments. The filter method calls the predicate function one tim… 105 "text": "predicate", 244 …"text": "An object to which the this keyword can refer in the predicate function. If thisArg is om… 285 "text": "predicate", 293 …unction that accepts up to three arguments. The filter method calls the predicate function one tim… 310 …"text": "An object to which the this keyword can refer in the predicate function. If thisArg is om… 375 "name": "predicate", 378 …unction that accepts up to three arguments. The filter method calls the predicate function one tim… 384 "text": "predicate", [all …]
|
D | typeGuardOfFormThisMemberErrors.errors.txt | 1 …peGuards/typeGuardOfFormThisMemberErrors.ts(4,10): error TS1228: A type predicate is only allowed … 2 …peGuards/typeGuardOfFormThisMemberErrors.ts(5,17): error TS1228: A type predicate is only allowed … 3 …eGuards/typeGuardOfFormThisMemberErrors.ts(11,22): error TS1228: A type predicate is only allowed … 4 …eGuards/typeGuardOfFormThisMemberErrors.ts(14,16): error TS1228: A type predicate is only allowed … 13 !!! error TS1228: A type predicate is only allowed in return type position for functions and method… 16 !!! error TS1228: A type predicate is only allowed in return type position for functions and method… 24 !!! error TS1228: A type predicate is only allowed in return type position for functions and method… 29 !!! error TS1228: A type predicate is only allowed in return type position for functions and method…
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_schedule.c | 659 struct midgard_predicate *predicate) in mir_choose_instruction() argument 662 unsigned tag = predicate->tag; in mir_choose_instruction() 663 unsigned unit = predicate->unit; in mir_choose_instruction() 665 bool no_cond = predicate->no_cond; in mir_choose_instruction() 667 unsigned mask = predicate->mask; in mir_choose_instruction() 668 unsigned dest = predicate->dest; in mir_choose_instruction() 710 if (predicate->exclude != ~0 && instructions[i]->dest == predicate->exclude) in mir_choose_instruction() 717 if (predicate->move_mode && ((predicate->move_mode - 1) != is_move)) in mir_choose_instruction() 726 … if (alu && predicate->constants && !mir_adjust_constants(instructions[i], predicate, false)) in mir_choose_instruction() 735 if (instructions[i]->mask & predicate->no_mask) in mir_choose_instruction() [all …]
|
/third_party/typescript/tests/cases/conformance/salsa/ |
D | typeFromPropertyAssignment9.ts | 14 my.predicate = my.predicate || {}; 15 my.predicate.query = function () { 19 var q = new my.predicate.query(); 20 my.predicate.query.another = function () { 23 my.predicate.query.result = 'none' 27 my.predicate.sort = my.predicate.sort || function (first, second) { 30 my.predicate.type = class {
|
D | typeFromPropertyAssignment9_1.ts | 14 my.predicate = my.predicate ?? {}; 15 my.predicate.query = function () { 19 var q = new my.predicate.query(); 20 my.predicate.query.another = function () { 23 my.predicate.query.result = 'none' 27 my.predicate.sort = my.predicate.sort ?? function (first, second) { 30 my.predicate.type = class {
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_expression_flattening.cpp | 40 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor() 42 this->predicate = predicate; in ir_expression_flattening_visitor() 51 bool (*predicate)(ir_instruction *ir); member in ir_expression_flattening_visitor 56 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening() 58 ir_expression_flattening_visitor v(predicate); in do_expression_flattening() 72 if (!ir || !this->predicate(ir)) in handle_rvalue()
|
/third_party/python/Lib/xml/etree/ |
D | ElementPath.py | 232 predicate = [] 246 predicate.append(token[1]) 251 key = predicate[1] 259 key = predicate[1] 260 value = predicate[-1] 270 if signature == "-" and not re.match(r"\-?\d+$", predicate[0]): 272 tag = predicate[0] 280 and not re.match(r"\-?\d+$", predicate[0])): 282 tag = predicate[0] 283 value = predicate[-1] [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | complexRecursiveCollections.ts | 85 …filter<F extends T>(predicate: (value: T, index: number, iter: this) => value is F, context?: any)… 86 filter(predicate: (value: T, index: number, iter: this) => any, context?: any): this; 131 …filter<F extends V>(predicate: (value: V, key: K, iter: this) => value is F, context?: any): Map<K… 132 filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; 150 …filter<F extends V>(predicate: (value: V, key: K, iter: this) => value is F, context?: any): Order… 151 filter(predicate: (value: V, key: K, iter: this) => any, context?: any): this; 182 …filter<F extends T>(predicate: (value: T, key: never, iter: this) => value is F, context?: any): S… 183 filter(predicate: (value: T, key: never, iter: this) => any, context?: any): this; 199 …filter<F extends T>(predicate: (value: T, key: never, iter: this) => value is F, context?: any): O… 200 filter(predicate: (value: T, key: never, iter: this) => any, context?: any): this; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86SchedPredicates.td | 9 // This file defines scheduling predicate definitions that are common to 14 // A predicate used to identify dependency-breaking instructions that clear the 15 // content of the destination register. Note that this predicate only checks if 16 // input registers are the same. This predicate doesn't make any assumptions on 21 // A predicate used to identify VPERM that have bits 3 and 7 of their mask set. 28 // A predicate used to check if a LEA instruction uses all three source 58 // This predicate evaluates to true only if the input machine instruction is a 64 // A predicate to check for COND_A and COND_BE CMOVs which have an extra uop 76 // A predicate to check for COND_A and COND_BE SETCCs which have an extra uop 88 // A predicate used to check if an instruction has a LOCK prefix.
|
/third_party/typescript/lib/ |
D | lib.es5.d.ts | 1220 …every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisAr… 1229 …every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolea… 1238 …some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean; 1256 …filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisA… 1262 … filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[]; 1411 …every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any):… 1420 every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean; 1429 some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean; 1447 …filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any)… 1453 filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[]; [all …]
|
/third_party/typescript/src/lib/ |
D | es5.d.ts | 1200 …every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisAr… 1209 …every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolea… 1218 …some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean; 1236 …filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisA… 1242 … filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[]; 1391 …every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any):… 1400 every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean; 1409 some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean; 1427 …filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any)… 1433 filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[]; [all …]
|
/third_party/rust/crates/nom/src/ |
D | traits.rs | 320 fn position<P>(&self, predicate: P) -> Option<usize> in position() 349 fn position<P>(&self, predicate: P) -> Option<usize> in position() 353 self.iter().position(|b| predicate(*b)) in position() 389 fn position<P>(&self, predicate: P) -> Option<usize> in position() 394 if predicate(c) { in position() 454 fn split_at_position<P, E: ParseError<Self>>(&self, predicate: P) -> IResult<Self, Self, E> in split_at_position() 466 predicate: P, in split_at_position1() 478 predicate: P, in split_at_position_complete() 491 predicate: P, in split_at_position1_complete() 503 fn split_at_position<P, E: ParseError<Self>>(&self, predicate: P) -> IResult<Self, Self, E> in split_at_position() [all …]
|
/third_party/node/deps/v8/src/builtins/ |
D | array-findlast.tq | 8 predicate: Callable, thisArg: JSAny, o: JSReceiver, 19 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue, 21 const testResult: JSAny = Call(context, predicate, thisArg, value, k, o); 37 o: JSReceiver, len: Number, predicate: Callable, thisArg: JSAny): JSAny 59 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue, 62 Call(context, predicate, thisArg, value, k, fastOW.Get()); 88 // 3. If IsCallable(predicate) is false, throw a TypeError exception. 92 const predicate = Cast<Callable>(arguments[0]) otherwise NotCallableError; 95 // each invocation of predicate. If it is not provided, undefined is used 101 return FastArrayFindLast(o, len, predicate, thisArg) [all …]
|