Home
last modified time | relevance | path

Searched refs:Baz (Results 1 - 25 of 99) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
H A DmoduleCodegenTest4.js2 export module Baz { export var x = "hello"; }
4 Baz.x = "goodbye";
10 exports.Baz = void 0;
11 var Baz; variable
12 (function (Baz) {
13 Baz.x = "hello";
14 })(Baz = exports.Baz || (exports.Baz = {}));
15 Baz
[all...]
H A DclassConstructorAccessibility3.js10 class Baz {
21 a = Baz; // error Baz is protected
25 let b = Baz;
34 c = Baz;
49 var Baz = /** @class */ (function () {
50 function Baz(x) {
53 return Baz;
64 a = Baz; // error Baz i
[all...]
H A DmoduleCodeGenTest3.js2 module Baz { export var x = "hello"; }
4 Baz.x = "goodbye";
7 var Baz; variable
8 (function (Baz) {
9 Baz.x = "hello";
10 })(Baz || (Baz = {}));
11 Baz.x = "goodbye";
H A DfunctionMergedWithModule.js11 module foo.Baz {
30 var Baz;
31 (function (Baz) {
35 Baz.g = g;
36 })(Baz = foo.Baz || (foo.Baz = {}));
H A DimplementingAnInterfaceExtendingClassWithPrivates2.js30 class Baz extends Foo {
34 interface I extends Baz {
60 class Baz extends Foo {
64 interface I extends Baz {
138 var Baz = /** @class */ (function (_super) {
139 __extends(Baz, _super);
140 function Baz() {
143 return Baz;
175 var Baz = /** @class */ (function (_super) {
176 __extends(Baz, _supe
[all...]
H A DgeneratorTypeCheck25.js4 class Baz { z: number }
8 yield new Baz;
10 yield *[new Baz];
18 class Baz {
23 yield new Baz;
25 yield* [new Baz];
H A DrecursiveMods.js13 function Baz() : C {
14 var c = Baz();
19 var c : C = Baz();
46 function Baz() { function
47 var c = Baz();
51 var c = Baz();
H A DinterfaceExtendingClassWithPrivates2.js17 class Baz {
21 interface I5 extends Foo, Baz {
41 var Baz = /** @class */ (function () {
42 function Baz() {
44 return Baz;
H A DinterfaceExtendingClassWithProtecteds2.js17 class Baz {
21 interface I5 extends Foo, Baz {
41 var Baz = /** @class */ (function () {
42 function Baz() {
44 return Baz;
H A DcheckForObjectTooStrict.js23 class Baz extends Object {
66 var Baz = /** @class */ (function (_super) {
67 __extends(Baz, _super);
68 function Baz() {
71 return Baz;
H A DerrorSpanForUnclosedJsxTag.js8 let Baz = () => {}
12 let y = < Baz >Hello
18 var Baz = function () { }; function
21 React.createElement(Baz, null, "Hello"));
H A DdeclarationEmitTypeAliasWithTypeParameters2.js3 export type Baz<M, N> = Bar<M, string, N>;
4 export type Baa<Y> = Baz<boolean, Y>;
17 export type Baz<M, N> = Bar<M, string, N>;
18 export type Baa<Y> = Baz<boolean, Y>;
H A DomitTypeTestErrors01.js9 export type Baz = Omit<Foo, "b" | "c">;
15 export function getBazB(baz: Baz) {
42 export type Baz = Omit<Foo, "b" | "c">;
44 export declare function getBazB(baz: Baz): any;
/third_party/googletest/googlemock/test/
H A Dgmock_stress_test.cc52 MOCK_METHOD2(Baz, char(const char* s1, const std::string& s2)); // NOLINT
70 ON_CALL(foo, Baz(_, _)).WillByDefault(Return('b')); in TestConcurrentMockObjects()
71 ON_CALL(foo, Baz(_, "you")).WillByDefault(Return('a')); in TestConcurrentMockObjects()
74 EXPECT_CALL(foo, Baz(_, _)); in TestConcurrentMockObjects()
75 EXPECT_CALL(foo, Baz("hi", "you")) in TestConcurrentMockObjects()
81 EXPECT_EQ('z', foo.Baz("hi", "you")); in TestConcurrentMockObjects()
82 EXPECT_EQ('a', foo.Baz("hi", "you")); in TestConcurrentMockObjects()
83 EXPECT_EQ('b', foo.Baz("hi", "me")); in TestConcurrentMockObjects()
95 const char ch = param.mock_foo->Baz("a", "b"); in Helper1()
105 EXPECT_EQ('\0', param.mock_foo->Baz(" in Helper1()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dunion-align.rs47 pub union Baz {
52 const UNINIT: ::std::mem::MaybeUninit<Baz> = in bindgen_test_layout_Baz()
56 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
58 concat!("Size of: ", stringify!(Baz)) in bindgen_test_layout_Baz()
61 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
63 concat!("Alignment of ", stringify!(Baz)) in bindgen_test_layout_Baz()
68 concat!("Offset of field: ", stringify!(Baz), "::", stringify!(bar)) in bindgen_test_layout_Baz()
71 impl Default for Baz {
H A Dcomment-indent.rs61 pub struct Baz { structure names
73 const UNINIT: ::std::mem::MaybeUninit<Baz> = in bindgen_test_layout_Baz()
77 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
79 concat!("Size of: ", stringify!(Baz)) in bindgen_test_layout_Baz()
82 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
84 concat!("Alignment of ", stringify!(Baz)) in bindgen_test_layout_Baz()
93 stringify!(Baz), in bindgen_test_layout_Baz()
H A Dnested_within_namespace.rs83 pub struct Baz { structure names
88 const UNINIT: ::std::mem::MaybeUninit<Baz> = in bindgen_test_layout_Baz()
92 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
94 concat!("Size of: ", stringify!(Baz)) in bindgen_test_layout_Baz()
97 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
99 concat!("Alignment of ", stringify!(Baz)) in bindgen_test_layout_Baz()
108 stringify!(Baz), in bindgen_test_layout_Baz()
H A Dissue-1443.rs56 pub struct Baz { structure names
62 const UNINIT: ::std::mem::MaybeUninit<Baz> = in bindgen_test_layout_Baz()
66 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
68 concat!("Size of: ", stringify!(Baz)) in bindgen_test_layout_Baz()
71 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
73 concat!("Alignment of ", stringify!(Baz)) in bindgen_test_layout_Baz()
78 concat!("Offset of field: ", stringify!(Baz), "::", stringify!(f)) in bindgen_test_layout_Baz()
83 concat!("Offset of field: ", stringify!(Baz), "::", stringify!(m)) in bindgen_test_layout_Baz()
86 impl Default for Baz {
H A Dissue-1488-enum-new-type.rs31 pub const Baz_G: Baz = 0;
32 pub const Baz_H: Baz = 1;
33 pub type Baz = ::std::os::raw::c_uint; types
36 pub struct BazAlias(pub Baz);
38 type Target = Baz;
H A Dmultiple-inherit-empty-correct-layout.rs46 pub struct Baz { structure names
52 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
54 concat!("Size of: ", stringify!(Baz)) in bindgen_test_layout_Baz()
57 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
59 concat!("Alignment of ", stringify!(Baz)) in bindgen_test_layout_Baz()
H A Dvar-tracing.rs53 pub struct Baz { structure names
63 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
65 concat!("Size of: ", stringify!(Baz)) in bindgen_test_layout_Baz()
68 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
70 concat!("Alignment of ", stringify!(Baz)) in bindgen_test_layout_Baz()
H A Dtemplate_instantiation_with_fn_local_type.rs32 pub struct Baz { structure names
38 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
40 concat!("Size of: ", stringify!(Baz)) in bindgen_test_layout_Baz()
43 ::std::mem::align_of::<Baz>(), in bindgen_test_layout_Baz()
45 concat!("Alignment of ", stringify!(Baz)) in bindgen_test_layout_Baz()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/
H A Dobjc_inheritance.rs66 pub struct Baz(pub id); structure names
67 impl std::ops::Deref for Baz {
73 unsafe impl objc::Message for Baz {}
74 impl Baz { impls
76 Self(unsafe { msg_send!(class!(Baz), alloc) }) in alloc()
79 impl IBar for Baz {}
80 impl From<Baz> for Bar {
81 fn from(child: Baz) -> Bar { in from()
85 impl std::convert::TryFrom<Bar> for Baz {
87 fn try_from(parent: Bar) -> Result<Baz, Sel
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
H A Dobjc_inheritance.rs66 pub struct Baz(pub id); structure names
67 impl std::ops::Deref for Baz {
73 unsafe impl objc::Message for Baz {}
74 impl Baz { impls
76 Self(unsafe { msg_send!(class!(Baz), alloc) }) in alloc()
79 impl IBar for Baz {}
80 impl From<Baz> for Bar {
81 fn from(child: Baz) -> Bar { in from()
85 impl std::convert::TryFrom<Bar> for Baz {
87 fn try_from(parent: Bar) -> Result<Baz, Sel
[all...]
/third_party/python/Lib/unittest/test/testmock/
H A Dtestsealable.py183 class Baz: class in TestSealable.test_seal_with_autospec.Foo
192 foo.Baz.ban.return_value = 'b'
199 self.assertIsInstance(foo.Baz, mock.MagicMock)
200 self.assertIsInstance(foo.Baz.baz, mock.NonCallableMagicMock)
201 self.assertIsInstance(foo.Baz.ban, mock.MagicMock)
206 self.assertEqual(foo.Baz.ban(), 'b')
207 foo.Baz.ban.return_value = 'new_b'
208 self.assertEqual(foo.Baz.ban(), 'new_b')
227 foo.Baz.baz()
229 foo.Baz
[all...]

Completed in 9 milliseconds

1234