/third_party/typescript/tests/baselines/reference/ |
H A D | moduleCodegenTest4.js | 2 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 D | classConstructorAccessibility3.js | 10 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 D | moduleCodeGenTest3.js | 2 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 D | functionMergedWithModule.js | 11 module foo.Baz { 30 var Baz;
31 (function (Baz) {
35 Baz.g = g;
36 })(Baz = foo.Baz || (foo.Baz = {}));
|
H A D | implementingAnInterfaceExtendingClassWithPrivates2.js | 30 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 D | generatorTypeCheck25.js | 4 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 D | recursiveMods.js | 13 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 D | interfaceExtendingClassWithPrivates2.js | 17 class Baz { 21 interface I5 extends Foo, Baz { 41 var Baz = /** @class */ (function () {
42 function Baz() {
44 return Baz;
|
H A D | interfaceExtendingClassWithProtecteds2.js | 17 class Baz { 21 interface I5 extends Foo, Baz { 41 var Baz = /** @class */ (function () {
42 function Baz() {
44 return Baz;
|
H A D | checkForObjectTooStrict.js | 23 class Baz extends Object { 66 var Baz = /** @class */ (function (_super) {
67 __extends(Baz, _super);
68 function Baz() {
71 return Baz;
|
H A D | errorSpanForUnclosedJsxTag.js | 8 let Baz = () => {} 12 let y = < Baz >Hello
18 var Baz = function () { };
function 21 React.createElement(Baz, null, "Hello"));
|
H A D | declarationEmitTypeAliasWithTypeParameters2.js | 3 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 D | omitTypeTestErrors01.js | 9 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 D | gmock_stress_test.cc | 52 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 D | union-align.rs | 47 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 D | comment-indent.rs | 61 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 D | nested_within_namespace.rs | 83 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 D | issue-1443.rs | 56 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 D | issue-1488-enum-new-type.rs | 31 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 D | multiple-inherit-empty-correct-layout.rs | 46 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 D | var-tracing.rs | 53 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 D | template_instantiation_with_fn_local_type.rs | 32 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 D | objc_inheritance.rs | 66 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 D | objc_inheritance.rs | 66 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 D | testsealable.py | 183 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...] |