/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/enums/gen-cpp2/ |
H A D | module_types.cpp | 52 void TccStructTraits<::cpp2::SomeStruct>::translateFieldName( in translateFieldName() 71 SomeStruct::SomeStruct(const SomeStruct&) = default; 72 SomeStruct& SomeStruct::operator=(const SomeStruct&) = default; 73 SomeStruct::SomeStruct(SomeStruct&& other) noexcept : in SomeStruct() function in cpp2::SomeStruct 81 SomeStruct& SomeStruct::operator=(FOLLY_MAYBE_UNUSED SomeStruct&& other) noexcept { in operator =() 103 void SomeStruct::__fbthrift_clear() { in __fbthrift_clear() 112 bool SomeStruct::operator==(const SomeStruct& rhs) const { in operator ==() 131 bool SomeStruct::operator<(const SomeStruct& rhs) const { in operator <() 150 const ::std::set<::std::int32_t>& SomeStruct::get_tags() const& { in get_tags() 154 ::std::set<::std::int32_t> SomeStruct::get_tags() && { in get_tags() [all …]
|
/dports/devel/swig/swig-4.0.2/Examples/test-suite/ |
H A D | cpp11_alternate_function_syntax.i | 6 struct SomeStruct { struct 12 auto addAlternateMemberPtrParm(int x, int (SomeStruct::*mp)(int, int)) -> int; 13 auto addAlternateMemberPtrConstParm(int x, int (SomeStruct::*mp)(int, int) const) const -> int; 16 virtual ~SomeStruct() = default; 19 int SomeStruct::addNormal(int x, int y) { return x + y; } in addNormal() 20 auto SomeStruct::addAlternate(int x, int y) -> int { return x + y; } 21 auto SomeStruct::addAlternateConst(int x, int y) const -> int { return x + y; } 22 auto SomeStruct::addAlternateNoExcept(int x, int y) noexcept -> int { return x + y; } 23 auto SomeStruct::addAlternateConstNoExcept(int x, int y) const noexcept -> int { return x + y; } 24 auto SomeStruct::addAlternateMemberPtrParm(int x, int (SomeStruct::*mp)(int, int)) -> int { [all …]
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/ |
H A D | enums_types.tcc | 54 struct TccStructTraits<::facebook::ns::qwerty::SomeStruct> { 68 void SomeStruct::readNoXfer(Protocol_* iprot) { in readNoXfer() 133 uint32_t SomeStruct::serializedSize(Protocol_ const* prot_) const { in serializedSize() 145 uint32_t SomeStruct::serializedSizeZC(Protocol_ const* prot_) const { in serializedSizeZC() 157 uint32_t SomeStruct::write(Protocol_* prot_) const { in write() 173 extern template void SomeStruct::readNoXfer<>(apache::thrift::BinaryProtocolReader*); 174 extern template uint32_t SomeStruct::write<>(apache::thrift::BinaryProtocolWriter*) const; 177 extern template void SomeStruct::readNoXfer<>(apache::thrift::CompactProtocolReader*); 178 extern template uint32_t SomeStruct::write<>(apache::thrift::CompactProtocolWriter*) const; 181 extern template void SomeStruct::readNoXfer<>(apache::thrift::SimpleJSONProtocolReader*); [all …]
|
H A D | enums_types.cpp | 184 void TccStructTraits<::facebook::ns::qwerty::SomeStruct>::translateFieldName( in translateFieldName() 204 SomeStruct::SomeStruct(apache::thrift::FragileConstructor, ::std::int32_t fieldA__arg) : in SomeStruct() function in facebook::ns::qwerty::SomeStruct 210 void SomeStruct::__fbthrift_clear() { in __fbthrift_clear() 216 bool SomeStruct::operator==(const SomeStruct& rhs) const { in operator ==() 226 bool SomeStruct::operator<(const SomeStruct& rhs) const { in operator <() 237 void swap(SomeStruct& a, SomeStruct& b) { in swap() 243 template void SomeStruct::readNoXfer<>(apache::thrift::BinaryProtocolReader*); 244 template uint32_t SomeStruct::write<>(apache::thrift::BinaryProtocolWriter*) const; 247 template void SomeStruct::readNoXfer<>(apache::thrift::CompactProtocolReader*); 248 template uint32_t SomeStruct::write<>(apache::thrift::CompactProtocolWriter*) const; [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/nll/user-annotations/ |
H A D | adt-tuple-struct-calls.rs | 4 struct SomeStruct<T>(T); struct 8 let f = SomeStruct; in no_annot() 14 let f = SomeStruct::<_>; in annot_underscore() 20 let f = SomeStruct::<&u32>; in annot_reference_any_lifetime() 26 let f = SomeStruct::<&'static u32>; in annot_reference_static_lifetime() 32 let f = SomeStruct::<&'a u32>; in annot_reference_named_lifetime() 37 let f = SomeStruct::<&'a u32>; in annot_reference_named_lifetime_ok() 44 let f = SomeStruct::<&'a u32>; in annot_reference_named_lifetime_in_closure() 50 let f = SomeStruct::<&'a u32>; in annot_reference_named_lifetime_across_closure() 59 let f = SomeStruct::<&'a u32>; in annot_reference_named_lifetime_in_closure_ok() [all …]
|
H A D | adt-tuple-struct.rs | 4 struct SomeStruct<T>(T); struct 8 SomeStruct(&c); in no_annot() 13 SomeStruct::<_>(&c); in annot_underscore() 18 SomeStruct::<&u32>(&c); in annot_reference_any_lifetime() 23 SomeStruct::<&'static u32>(&c); //~ ERROR in annot_reference_static_lifetime() 28 SomeStruct::<&'a u32>(&c); //~ ERROR in annot_reference_named_lifetime() 32 SomeStruct::<&'a u32>(c); in annot_reference_named_lifetime_ok() 38 SomeStruct::<&'a u32>(&c); //~ ERROR in annot_reference_named_lifetime_in_closure() 44 SomeStruct::<&'a u32>(c); in annot_reference_named_lifetime_in_closure_ok()
|
H A D | adt-brace-structs.rs | 4 struct SomeStruct<T> { t: T } argument 8 SomeStruct { t: &c }; in no_annot() 13 SomeStruct::<_> { t: &c }; in annot_underscore() 18 SomeStruct::<&u32> { t: &c }; in annot_reference_any_lifetime() 23 SomeStruct::<&'static u32> { t: &c }; //~ ERROR in annot_reference_static_lifetime() 28 SomeStruct::<&'a u32> { t: &c }; //~ ERROR in annot_reference_named_lifetime() 32 SomeStruct::<&'a u32> { t: c }; in annot_reference_named_lifetime_ok() 38 SomeStruct::<&'a u32> { t: &c }; //~ ERROR in annot_reference_named_lifetime_in_closure() 44 SomeStruct::<&'a u32> { t: c }; in annot_reference_named_lifetime_in_closure_ok()
|
/dports/devel/hyperscan/boost_1_75_0/libs/hana/test/issues/ |
H A D | github_460.cpp | 12 struct SomeStruct { struct 13 BOOST_HANA_DEFINE_STRUCT(SomeStruct, (int, x)); 15 constexpr bool operator==(SomeStruct const& other) { in operator ==() argument 19 constexpr bool operator!=(SomeStruct const& other) { in operator !=() argument 25 static_assert(SomeStruct{5} == SomeStruct{5}, ""); in main() 26 static_assert(hana::equal(SomeStruct{5}, SomeStruct{5}), ""); in main()
|
/dports/lang/rust/rustc-1.58.1-src/src/test/debuginfo/ |
H A D | borrowed-struct.rs | 69 struct SomeStruct { struct 75 let stack_val: SomeStruct = SomeStruct { x: 10, y: 23.5 }; in main() argument 76 let stack_val_ref: &SomeStruct = &stack_val; in main() 79 let ref_to_unnamed: &SomeStruct = &SomeStruct { x: 11, y: 24.5 }; in main() 81 let unique_val: Box<_> = Box::new(SomeStruct { x: 13, y: 26.5 }); in main() 82 let unique_val_ref: &SomeStruct = &*unique_val; in main()
|
/dports/lang/rust/rustc-1.58.1-src/src/test/rustdoc/ |
H A D | doc-notable_trait.rs | 20 pub struct SomeStruct; struct 21 impl SomeTrait for SomeStruct {} implementation 23 impl SomeStruct { impl 27 pub fn new() -> SomeStruct { in new() 28 SomeStruct in new() 34 pub fn bare_fn() -> SomeStruct { in bare_fn() 35 SomeStruct in bare_fn()
|
H A D | traits-in-bodies.rs | 8 pub struct SomeStruct; struct 10 fn asdf() -> Bounded<SomeStruct> { in asdf() 11 impl Clone for SomeStruct { in asdf() implementation 12 fn clone(&self) -> SomeStruct { in asdf() argument 13 SomeStruct in asdf() 17 Bounded(SomeStruct) in asdf()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/tests/ui/ |
H A D | forget_ref.rs | 7 struct SomeStruct; struct 10 forget(&SomeStruct); in main() 12 let mut owned = SomeStruct; in main() 18 let reference1 = &SomeStruct; in main() 21 let reference2 = &mut SomeStruct; in main() 24 let ref reference3 = SomeStruct; in main() 37 forget(&SomeStruct); //OK; call to unrelated function which happens to have the same name in test_similarly_named_function() 38 std::mem::forget(&SomeStruct); in test_similarly_named_function()
|
H A D | drop_ref.rs | 8 struct SomeStruct; struct 11 drop(&SomeStruct); in main() 13 let mut owned1 = SomeStruct; in main() 19 let reference1 = &SomeStruct; in main() 22 let reference2 = &mut SomeStruct; in main() 25 let ref reference3 = SomeStruct; in main() 38 drop(&SomeStruct); //OK; call to unrelated function which happens to have the same name in test_similarly_named_function() 39 std::mem::drop(&SomeStruct); in test_similarly_named_function()
|
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/test/external/cereal/unittests/ |
H A D | user_data_adapters.hpp | 34 struct SomeStruct {}; struct 38 UserData( SomeStruct * pp, SomeStruct & r ) : in UserData() 41 SomeStruct * p; 42 std::reference_wrapper<SomeStruct> ref; 48 SomeStruct * pointer, in UserStruct() 49 SomeStruct & reference ) : in UserStruct() 58 SomeStruct const * p; 59 SomeStruct & ref; 87 SomeStruct ss; in test_user_data_adapters()
|
/dports/math/e-antic/cereal-51cbda5/unittests/ |
H A D | user_data_adapters.hpp | 34 struct SomeStruct {}; struct 38 UserData( SomeStruct * pp, SomeStruct & r ) : in UserData() 41 SomeStruct * p; 42 std::reference_wrapper<SomeStruct> ref; 48 SomeStruct * pointer, in UserStruct() 49 SomeStruct & reference ) : in UserStruct() 58 SomeStruct const * p; 59 SomeStruct & ref; 87 SomeStruct ss; in test_user_data_adapters()
|
/dports/misc/openmvg/openMVG-2.0/src/dependencies/cereal/unittests/ |
H A D | user_data_adapters.hpp | 34 struct SomeStruct {}; struct 38 UserData( SomeStruct * pp, SomeStruct & r ) : in UserData() 41 SomeStruct * p; 42 std::reference_wrapper<SomeStruct> ref; 48 SomeStruct * pointer, in UserStruct() 49 SomeStruct & reference ) : in UserStruct() 58 SomeStruct const * p; 59 SomeStruct & ref; 87 SomeStruct ss; in test_user_data_adapters()
|
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/third-party/cereal/unittests/ |
H A D | user_data_adapters.hpp | 34 struct SomeStruct {}; struct 38 UserData( SomeStruct * pp, SomeStruct & r ) : in UserData() 41 SomeStruct * p; 42 std::reference_wrapper<SomeStruct> ref; 48 SomeStruct * pointer, in UserStruct() 49 SomeStruct & reference ) : in UserStruct() 58 SomeStruct const * p; 59 SomeStruct & ref; 87 SomeStruct ss; in test_user_data_adapters()
|
/dports/devel/cereal/cereal-1.3.0-10-g64f50dbd/unittests/ |
H A D | user_data_adapters.hpp | 34 struct SomeStruct {}; struct 38 UserData( SomeStruct * pp, SomeStruct & r ) : in UserData() 41 SomeStruct * p; 42 std::reference_wrapper<SomeStruct> ref; 48 SomeStruct * pointer, in UserStruct() 49 SomeStruct & reference ) : in UserStruct() 58 SomeStruct const * p; 59 SomeStruct & ref; 87 SomeStruct ss; in test_user_data_adapters()
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/cereal/unittests/ |
H A D | user_data_adapters.cpp | 32 struct SomeStruct {}; struct 36 UserData( SomeStruct * pp, SomeStruct & r ) : in UserData() 39 SomeStruct * p; 40 std::reference_wrapper<SomeStruct> ref; 46 SomeStruct * pointer, in UserStruct() 47 SomeStruct & reference ) : in UserStruct() 56 SomeStruct const * p; 57 SomeStruct & ref; 85 SomeStruct ss; in test_user_data_adapters()
|
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/error-codes/ |
H A D | E0532.rs | 4 match SomeStruct(value) { in main() 10 struct SomeStruct(u8); in main() struct 12 const StructConst1 : SomeStruct = SomeStruct(1); in main() 13 const StructConst2 : SomeStruct = SomeStruct(2); in main()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/aerospike/aerospike-client-go/ |
H A D | client_object_test.go | 188 SomeStruct 192 SomeStruct 316 SomeStruct 320 SomeStruct 459 NestedObj: SomeStruct{A: 1, Self: &SomeStruct{A: 999}}, 462 …NestedObjSlice: []SomeStruct{{A: 1, Self: &SomeStruct{A: 999}}, {A: 2, Self: &SomeStruct{A: 998}}}, 468 Anonym: struct{ SomeStruct }{SomeStruct{A: 1, Self: &SomeStruct{A: 999}}}, 469 AnonymP: &(struct{ SomeStruct }{SomeStruct{A: 1, Self: &SomeStruct{A: 999}}}), 611 …NestedObjSlice: []SomeStruct{{A: 1, Self: &SomeStruct{A: 999}}, {A: 2, Self: &SomeStruct{A: 998}}}, 617 Anonym: struct{ SomeStruct }{SomeStruct{A: 1, Self: &SomeStruct{A: 999}}}, [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/ |
H A D | rfc1623.nll.stderr | 4 LL | / static SOME_STRUCT: &SomeStruct = &SomeStruct { 12 …= help: within `&SomeStruct`, the trait `Sync` is not implemented for `dyn for<'a, 'b> Fn(&'a Foo<… 14 note: required because it appears within the type `SomeStruct` 17 LL | struct SomeStruct<'x, 'y, 'z: 'x> { 19 = note: required because it appears within the type `&SomeStruct` 25 LL | static SOME_STRUCT: &SomeStruct = &SomeStruct { 40 LL | static SOME_STRUCT: &SomeStruct = &SomeStruct { 55 LL | static SOME_STRUCT: &SomeStruct = &SomeStruct { 70 LL | static SOME_STRUCT: &SomeStruct = &SomeStruct {
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/test/CodeGen/PowerPC/ |
H A D | fast-isel-load-store-vsx.ll | 12 %SomeStruct = type { double } 15 define linkonce_odr void @SomeStructCtor(%SomeStruct* %this, double %V) unnamed_addr align 2 { 17 %this.addr = alloca %SomeStruct*, align 8 19 store %SomeStruct* %this, %SomeStruct** %this.addr, align 8 22 %this1 = load %SomeStruct*, %SomeStruct** %this.addr 23 %Val = getelementptr inbounds %SomeStruct, %SomeStruct* %this1, i32 0, i32 0
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/CodeGen/PowerPC/ |
H A D | fast-isel-load-store-vsx.ll | 12 %SomeStruct = type { double } 15 define linkonce_odr void @SomeStructCtor(%SomeStruct* %this, double %V) unnamed_addr align 2 { 17 %this.addr = alloca %SomeStruct*, align 8 19 store %SomeStruct* %this, %SomeStruct** %this.addr, align 8 22 %this1 = load %SomeStruct*, %SomeStruct** %this.addr 23 %Val = getelementptr inbounds %SomeStruct, %SomeStruct* %this1, i32 0, i32 0
|
/dports/devel/llvm10/llvm-10.0.1.src/test/CodeGen/PowerPC/ |
H A D | fast-isel-load-store-vsx.ll | 12 %SomeStruct = type { double } 15 define linkonce_odr void @SomeStructCtor(%SomeStruct* %this, double %V) unnamed_addr align 2 { 17 %this.addr = alloca %SomeStruct*, align 8 19 store %SomeStruct* %this, %SomeStruct** %this.addr, align 8 22 %this1 = load %SomeStruct*, %SomeStruct** %this.addr 23 %Val = getelementptr inbounds %SomeStruct, %SomeStruct* %this1, i32 0, i32 0
|