/third_party/typescript/tests/baselines/reference/ |
D | typesWithSpecializedCallSignatures.types | 22 >foo : { (x: 'hi'): Derived1; (x: "bye"): Derived2; (x: string): Base; } 25 foo(x: 'bye'): Derived2; 26 >foo : { (x: "hi"): Derived1; (x: 'bye'): Derived2; (x: string): Base; } 27 >x : "bye" 30 >foo : { (x: "hi"): Derived1; (x: "bye"): Derived2; (x: string): Base; } 34 >foo : { (x: "hi"): Derived1; (x: "bye"): Derived2; (x: string): Base; } 48 >foo : { (x: 'hi'): Derived1; (x: "bye"): Derived2; (x: string): Base; } 51 foo(x: 'bye'): Derived2; 52 >foo : { (x: "hi"): Derived1; (x: 'bye'): Derived2; (x: string): Base; } 53 >x : "bye" [all …]
|
D | overloadingOnConstants2.types | 21 >foo : { (x: "hi", items: string[]): D; (x: "bye", items: string[]): E; } 25 function foo(x: "bye", items: string[]): E; 26 >foo : { (x: "hi", items: string[]): D; (x: "bye", items: string[]): E; } 27 >x : "bye" 31 >foo : { (x: "hi", items: string[]): D; (x: "bye", items: string[]): E; } 41 >foo : { (x: "hi", items: string[]): D; (x: "bye", items: string[]): E; } 45 var b: E = foo("bye", []); // E 47 >foo("bye", []) : E 48 >foo : { (x: "hi", items: string[]): D; (x: "bye", items: string[]): E; } 49 >"bye" : "bye" [all …]
|
D | typesWithSpecializedConstructSignatures.types | 24 constructor(x: 'bye'); 25 >x : "bye" 47 new(x: 'bye'): Derived2; 48 >x : "bye" 57 >a : { new (x: 'hi'): Derived1; new (x: 'bye'): Derived2; new (x: string): Base; } 62 new(x: 'bye'): Derived2; 63 >x : "bye" 76 >c = a : { new (x: "hi"): Derived1; new (x: "bye"): Derived2; new (x: string): Base; } 78 >a : { new (x: "hi"): Derived1; new (x: "bye"): Derived2; new (x: string): Base; } 81 >i = a : { new (x: "hi"): Derived1; new (x: "bye"): Derived2; new (x: string): Base; } [all …]
|
D | computedPropertyNames10_ES5.types | 12 >v : { [x: string]: () => void; [x: number]: () => void; ""(): void; 0(): void; "hello bye"(): void… 13 … [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: ()… 57 [`hello bye`]() { }, 58 >[`hello bye`] : () => void 59 >`hello bye` : "hello bye" 61 [`hello ${a} bye`]() { } 62 >[`hello ${a} bye`] : () => void 63 >`hello ${a} bye` : string
|
D | computedPropertyNames10_ES6.types | 12 >v : { [x: string]: () => void; [x: number]: () => void; ""(): void; 0(): void; "hello bye"(): void… 13 … [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: ()… 57 [`hello bye`]() { }, 58 >[`hello bye`] : () => void 59 >`hello bye` : "hello bye" 61 [`hello ${a} bye`]() { } 62 >[`hello ${a} bye`] : () => void 63 >`hello ${a} bye` : string
|
D | computedPropertyNames4_ES6.types | 12 …ring]: string | number; [x: number]: string | number; "": number; 0: number; "hello bye": number; } 13 … [`hello bye`]: 0, [`hello ${a} bye`]: 0} : { [x: string]: string | number; [x: number]: strin… 66 [`hello bye`]: 0, 67 >[`hello bye`] : number 68 >`hello bye` : "hello bye" 71 [`hello ${a} bye`]: 0 72 >[`hello ${a} bye`] : number 73 >`hello ${a} bye` : string
|
D | computedPropertyNames4_ES5.types | 12 …ring]: string | number; [x: number]: string | number; "": number; 0: number; "hello bye": number; } 13 … [`hello bye`]: 0, [`hello ${a} bye`]: 0} : { [x: string]: string | number; [x: number]: strin… 66 [`hello bye`]: 0, 67 >[`hello bye`] : number 68 >`hello bye` : "hello bye" 71 [`hello ${a} bye`]: 0 72 >[`hello ${a} bye`] : number 73 >`hello ${a} bye` : string
|
D | arrayConstructors1.types | 12 x = new Array('hi', 'bye'); 13 >x = new Array('hi', 'bye') : string[] 15 >new Array('hi', 'bye') : string[] 18 >'bye' : "bye" 20 x = new Array<string>('hi', 'bye'); 21 >x = new Array<string>('hi', 'bye') : string[] 23 >new Array<string>('hi', 'bye') : string[] 26 >'bye' : "bye"
|
D | overloadOnConstNoAnyImplementation.types | 3 >x1 : { (a: number, cb: (x: 'hi') => number): any; (a: number, cb: (x: "bye") => number): any; } 8 function x1(a: number, cb: (x: 'bye') => number); 9 >x1 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: 'bye') => number): any; } 11 >cb : (x: 'bye') => number 12 >x : "bye" 15 >x1 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: "bye") => number): any; } 25 cb('bye'); 26 >cb('bye') : number 28 >'bye' : "bye" 59 >x1 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: "bye") => number): any; } [all …]
|
D | computedPropertyNames11_ES6.types | 12 >v : { [x: string]: any; [x: number]: any; "": any; readonly 0: number; "hello bye": any; } 13 …[`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]… 66 set [`hello bye`](v) { }, 67 >[`hello bye`] : any 68 >`hello bye` : "hello bye" 71 get [`hello ${a} bye`]() { return 0; } 72 >[`hello ${a} bye`] : number 73 >`hello ${a} bye` : string
|
D | computedPropertyNames11_ES5.types | 12 >v : { [x: string]: any; [x: number]: any; "": any; readonly 0: number; "hello bye": any; } 13 …[`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]… 66 set [`hello bye`](v) { }, 67 >[`hello bye`] : any 68 >`hello bye` : "hello bye" 71 get [`hello ${a} bye`]() { return 0; } 72 >[`hello ${a} bye`] : number 73 >`hello ${a} bye` : string
|
D | overloadOnConstNoStringImplementation.types | 3 >x2 : { (a: number, cb: (x: 'hi') => number): any; (a: number, cb: (x: "bye") => number): any; } 8 function x2(a: number, cb: (x: 'bye') => number); 9 >x2 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: 'bye') => number): any; } 11 >cb : (x: 'bye') => number 12 >x : "bye" 15 >x2 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: "bye") => number): any; } 25 cb('bye'); 26 >cb('bye') : number 28 >'bye' : "bye" 59 >x2 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: "bye") => number): any; } [all …]
|
D | computedPropertyNamesContextualType6_ES5.types | 12 >foo({ p: "", 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]}) : strin… 14 >{ p: "", 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]} : { [x: stri… 24 ["hi" + "bye"]: true, 25 >["hi" + "bye"] : true 26 >"hi" + "bye" : string 28 >"bye" : "bye"
|
D | computedPropertyNamesContextualType6_ES6.types | 12 >foo({ p: "", 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]}) : strin… 14 >{ p: "", 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]} : { [x: stri… 24 ["hi" + "bye"]: true, 25 >["hi" + "bye"] : true 26 >"hi" + "bye" : string 28 >"bye" : "bye"
|
D | computedPropertyNames13_ES6.types | 56 [`hello bye`]() { } 57 >[`hello bye`] : () => void 58 >`hello bye` : "hello bye" 60 static [`hello ${a} bye`]() { } 61 >[`hello ${a} bye`] : () => void 62 >`hello ${a} bye` : string
|
D | computedPropertyNames13_ES5.types | 56 [`hello bye`]() { } 57 >[`hello bye`] : () => void 58 >`hello bye` : "hello bye" 60 static [`hello ${a} bye`]() { } 61 >[`hello ${a} bye`] : () => void 62 >`hello ${a} bye` : string
|
D | computedPropertyNames12_ES6.types | 59 [`hello bye`] = 0; 60 >[`hello bye`] : number 61 >`hello bye` : "hello bye" 64 static [`hello ${a} bye`] = 0 65 >[`hello ${a} bye`] : number 66 >`hello ${a} bye` : string
|
D | computedPropertyNames12_ES5.types | 59 [`hello bye`] = 0; 60 >[`hello bye`] : number 61 >`hello bye` : "hello bye" 64 static [`hello ${a} bye`] = 0 65 >[`hello ${a} bye`] : number 66 >`hello ${a} bye` : string
|
D | computedPropertyNamesContextualType7_ES6.types | 20 >foo({ 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]}) : number | (() =>… 22 >{ 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]} : { [x: string]: numbe… 28 ["hi" + "bye"]: true, 29 >["hi" + "bye"] : boolean 30 >"hi" + "bye" : string 32 >"bye" : "bye"
|
D | computedPropertyNamesContextualType7_ES5.types | 20 >foo({ 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]}) : number | (() =>… 22 >{ 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]} : { [x: string]: numbe… 28 ["hi" + "bye"]: true, 29 >["hi" + "bye"] : boolean 30 >"hi" + "bye" : string 32 >"bye" : "bye"
|
D | computedPropertyNames16_ES5.types | 65 set [`hello bye`](v) { } 66 >[`hello bye`] : any 67 >`hello bye` : "hello bye" 70 get [`hello ${a} bye`]() { return 0; } 71 >[`hello ${a} bye`] : number 72 >`hello ${a} bye` : string
|
D | computedPropertyNames16_ES6.types | 65 set [`hello bye`](v) { } 66 >[`hello bye`] : any 67 >`hello bye` : "hello bye" 70 get [`hello ${a} bye`]() { return 0; } 71 >[`hello ${a} bye`] : number 72 >`hello ${a} bye` : string
|
/third_party/zlib/examples/ |
D | gzappend.c | 93 local void bye(char *msg1, char *msg2) in bye() function 185 if (len == -1) bye("error reading ", in->name); in readin() 194 if (readin(in) == 0) bye("unexpected end of ", in->name); in readmore() 211 bye("seeking ", in->name); in skip() 216 bye("unexpected end of ", in->name); in skip() 240 if (read1(in) != 31 || read1(in) != 139) bye(in->name, " not a gzip file"); in gzheader() 241 if (read1(in) != 8) bye("unknown compression method in", in->name); in gzheader() 243 if (flags & 0xe0) bye("unknown header flags set in", in->name); in gzheader() 271 if (gz.fd == -1) bye("cannot open ", name); in gzscan() 273 if (gz.buf == NULL) bye("out of memory", ""); in gzscan() [all …]
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/examples/ |
D | gzappend.c | 93 local void bye(char *msg1, char *msg2) in bye() function 185 if (len == -1) bye("error reading ", in->name); in readin() 194 if (readin(in) == 0) bye("unexpected end of ", in->name); in readmore() 211 bye("seeking ", in->name); in skip() 216 bye("unexpected end of ", in->name); in skip() 240 if (read1(in) != 31 || read1(in) != 139) bye(in->name, " not a gzip file"); in gzheader() 241 if (read1(in) != 8) bye("unknown compression method in", in->name); in gzheader() 243 if (flags & 0xe0) bye("unknown header flags set in", in->name); in gzheader() 271 if (gz.fd == -1) bye("cannot open ", name); in gzscan() 273 if (gz.buf == NULL) bye("out of memory", ""); in gzscan() [all …]
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/examples/ |
D | gzappend.c | 93 local void bye(char *msg1, char *msg2) in bye() function 185 if (len == -1) bye("error reading ", in->name); in readin() 194 if (readin(in) == 0) bye("unexpected end of ", in->name); in readmore() 211 bye("seeking ", in->name); in skip() 216 bye("unexpected end of ", in->name); in skip() 240 if (read1(in) != 31 || read1(in) != 139) bye(in->name, " not a gzip file"); in gzheader() 241 if (read1(in) != 8) bye("unknown compression method in", in->name); in gzheader() 243 if (flags & 0xe0) bye("unknown header flags set in", in->name); in gzheader() 271 if (gz.fd == -1) bye("cannot open ", name); in gzscan() 273 if (gz.buf == NULL) bye("out of memory", ""); in gzscan() [all …]
|