Home
last modified time | relevance | path

Searched refs:Foo (Results 1 - 25 of 765) sorted by relevance

12345678910>>...31

/third_party/typescript/tests/baselines/reference/
H A DtsxTypeArgumentsJsxPreserveOutput.js7 function Foo<T>() {
13 <Foo<unknown> />
14 <Foo<string> />
15 <Foo<boolean> />
16 <Foo<object> />
17 <Foo<null> />
18 <Foo<any> />
19 <Foo<never> />
20 <Foo<undefined> />
21 <Foo<TypeProp
42 function Foo() { global() function
[all...]
H A DenumLiteralAssignableToEnumInsideUnion.js3 export enum Foo {
8 export enum Foo {
13 export enum Foo {
19 export enum Foo {
24 const e0: X.Foo | boolean = Y.Foo.A; // ok
25 const e1: X.Foo | boolean = Z.Foo.A; // not legal, Z is computed
26 const e2: X.Foo.A | X.Foo
[all...]
H A DconstAssertionOnEnum.js4 export enum Foo {
10 import {Foo} from './enum';
16 let foo = Foo.A as const;
21 export enum Foo { X }
22 ns.Foo.X as const;
26 export enum Foo { X }
27 (Foo).X as const;
31 export var Foo;
32 (function (Foo) {
33 Foo[Fo
[all...]
H A DclassBlockScoping.js3 let Foo: any;
5 Foo = class Foo {
6 static y = new Foo();
9 new Foo();
13 new Foo();
17 new Foo();
20 class Foo {
21 static y = new Foo();
24 new Foo();
[all...]
H A DsubtypesOfTypeParameterWithRecursiveConstraints.js4 class Foo<T> { foo: T; }
5 function f<T extends Foo<U>, U extends Foo<T>, V extends Foo<V>>(t: T, u: U, v: V) {
19 var r4 = true ? t : new Foo<T>();
20 var r4 = true ? new Foo<T>() : t;
23 var r5 = true ? u : new Foo<T>();
24 var r5 = true ? new Foo<T>() : u;
27 var r6 = true ? v : new Foo<T>();
28 var r6 = true ? new Foo<
[all...]
H A DjsxSpreadOverwritesAttributeStrict.js13 const Foo = (props: Props) => <div>{ props.a }</div>;
16 const a1 = <Foo {...props}></Foo>;
17 const a2 = <Foo d={1} {...props}></Foo>;
20 const b1 = <Foo a={1} {...props}></Foo>;
21 const b2 = <Foo a={1} b={2} {...props}></Foo>;
22 const b3 = <Foo
31 var Foo = function (props) { return <div>{props.a}</div>; }; global() function
[all...]
H A DenumBasics2.js2 enum Foo {
12 b = Foo.a, // ok
13 c = Foo.a.valueOf(), // ok
14 d = Foo.a.a, // should error
19 var Foo; variable
20 (function (Foo) {
21 Foo[Foo["a"] = 2] = "a";
22 Foo[Foo["
[all...]
H A DdeclarationEmitDefaultExportWithStaticAssignment.js4 export class Foo {}
7 import {Foo} from './foo';
9 Example.Foo = Foo
12 import {Foo} from './foo';
13 export {Foo};
15 Example.Foo = Foo
38 exports.Foo = void 0;
39 var Foo
[all...]
H A DsubtypesOfTypeParameterWithConstraints4.js4 class Foo { foo: number; }
5 function f<T extends Foo, U extends Foo, V>(t: T, u: U, v: V) {
19 var r4 = true ? t : new Foo();
20 var r4 = true ? new Foo() : t;
23 var r5 = true ? u : new Foo();
24 var r5 = true ? new Foo() : u;
27 var r6 = true ? v : new Foo();
28 var r6 = true ? new Foo() : v;
36 class D1<T extends Foo,
[all...]
H A DimplementingAnInterfaceExtendingClassWithPrivates2.js2 class Foo {
6 interface I extends Foo {
10 class Bar extends Foo implements I { // ok
14 class Bar2 extends Foo implements I { // error
19 class Bar3 extends Foo implements I { // error
26 class Foo {
30 class Baz extends Foo {
38 class Bar extends Foo implements I { // ok
43 class Bar2 extends Foo implements I { // error
48 class Bar3 extends Foo implement
[all...]
H A DdeclarationMapsMultifile.js4 export class Foo {
9 return new Foo();
13 import {Foo} from "./a";
15 const c = new Foo();
19 export { c, Foo };
25 exports.Foo = void 0;
26 var Foo = /** @class */ (function () {
27 function Foo() {
29 Foo.prototype.doThing = function (x) {
32 Foo
[all...]
H A DmergedDeclarations2.js2 enum Foo {
5 enum Foo {
9 module Foo {
14 var Foo; variable
15 (function (Foo) {
16 Foo[Foo["b"] = 0] = "b";
17 })(Foo || (Foo = {}));
18 (function (Foo) {
[all...]
H A DdecoratedBlockScopedClass3.js7 class Foo {
8 public static func(): Foo {
9 return new Foo();
12 Foo.func();
16 class Foo {
17 public static func(): Foo {
18 return new Foo();
21 Foo.func();
36 var Foo = /** @class */ (function () {
37 function Foo() {
[all...]
H A DerrorForUsingPropertyOfTypeAsType01.js3 export interface Foo {
7 var x: Foo.bar = "";
8 var y: Test1.Foo.bar = "";
12 export class Foo {
16 var x: Foo.bar = "";
17 var y: Test2.Foo.bar = "";
21 export type Foo = {
25 var x: Foo.bar = "";
26 var y: Test3.Foo.bar = "";
30 export type Foo
[all...]
H A DdoubleUnderscoreEnumEmit.js2 enum Foo {
8 namespace Foo {
23 var Foo; variable
24 (function (Foo) {
25 Foo[Foo["__a"] = 1] = "__a";
26 Foo[Foo["(Anonymous function)"] = 2] = "(Anonymous function)";
27 Foo[Foo["(Anonymou
[all...]
H A DduplicateAnonymousModuleClasses.js20 module Foo {
29 module Foo {
39 module Foo {
48 module Foo {
76 var Foo; variable
77 (function (Foo) {
83 })(Foo || (Foo = {}));
84 (function (Foo) {
91 })(Foo || (Fo
[all...]
H A DtsxEmit3.js8 export class Foo { constructor() { } }
12 // Emit Foo
13 // Foo, <Foo />;
18 // Emit M.Foo
19 Foo, <Foo />;
22 // Emit M.Foo
23 Foo, <Foo />;
[all...]
H A DexportAssignmentMergedModule.js4 module Foo {
10 module Foo {
18 export = Foo;
29 var Foo; variable
30 (function (Foo) {
34 Foo.a = a;
35 Foo.b = true;
36 })(Foo || (Foo = {}));
37 (function (Foo) {
[all...]
H A DprivacyCheckExportAssignmentOnExportedGenericInterface1.js2 module Foo {
6 interface Foo<T> {
8 var Foo: new () => Foo.A<Foo<string>>; variable
9 export = Foo;
13 var Foo; variable
14 module.exports = Foo;
18 declare module Foo {
22 interface Foo<
[all...]
H A DautonumberingInEnums.js2 enum Foo {
6 enum Foo {
11 var Foo; variable
12 (function (Foo) {
13 Foo[Foo["a"] = 1] = "a";
14 })(Foo || (Foo = {}));
15 (function (Foo) {
16 Foo[Fo
[all...]
H A DdeclarationEmitExpressionInExtends6.js7 export class Foo {}
11 const { Foo } = A;
12 export default class extends Foo {}
18 exports.Foo = void 0;
19 var Foo = /** @class */ (function () {
20 function Foo() {
22 return Foo;
24 exports.Foo = Foo;
44 var Foo variable
[all...]
H A DrecursiveMods.js2 export module Foo {
6 export module Foo {
29 exports.Foo = void 0;
30 var Foo; variable
31 (function (Foo) {
37 Foo.C = C;
38 })(Foo = exports.Foo || (exports.Foo = {}));
39 (function (Foo) {
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dbitfield-enum-repr-transparent.rs8 impl Foo { impls
9 pub const Bar: Foo = Foo(2);
11 impl Foo { impls
12 pub const Baz: Foo = Foo(4);
14 impl Foo { impls
15 pub const Duplicated: Foo = Foo(4);
17 impl Foo { impls
48 pub struct Foo(pub ::std::os::raw::c_int); global() structure names
[all...]
H A Dbitfield-enum-repr-c.rs8 impl Foo { impls
9 pub const Bar: Foo = Foo(2);
11 impl Foo { impls
12 pub const Baz: Foo = Foo(4);
14 impl Foo { impls
15 pub const Duplicated: Foo = Foo(4);
17 impl Foo { impls
48 pub struct Foo(pub ::std::os::raw::c_int); global() structure names
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DSlabAllocatorTests.cpp22 struct Foo : public PlacementAllocated { struct
23 Foo(int value) : value(value) { in Foo() function
29 struct alignas(256) AlignedFoo : public Foo {
30 using Foo::Foo;
37 SlabAllocator<Foo> allocator(1 * sizeof(Foo)); in TEST()
39 Foo* obj = allocator.Allocate(4); in TEST()
49 SlabAllocator<Foo> allocator(5 * sizeof(Foo)); in TEST()
[all...]

Completed in 4 milliseconds

12345678910>>...31