Lines Matching refs:Foo

120 class Foo : FooLimit, public StateTrackable</*allow_zero_initialized = */true> {
170 Foo( intptr_t br ) : state_trackable_type(0) { in Foo() function
175 Foo() { in Foo() function
180 Foo( const Foo& foo ) : state_trackable_type(foo) { in Foo() function
187 Foo( Foo&& foo ) : state_trackable_type(std::move(foo)) { in Foo() function
194 ~Foo() { in ~Foo()
203 Foo& operator=( const Foo& x ) {
211 Foo& operator=( Foo&& x ) {
222 friend bool operator==( const int& lhs, const Foo& rhs ) {
227 friend bool operator==( const Foo& lhs, const int& rhs ) {
232 friend bool operator==( const Foo& lhs, const Foo& rhs ) {
238 friend bool operator<( const Foo& lhs, const Foo& rhs ) {
251 struct FooWithAssign : Foo {
253 FooWithAssign( intptr_t b ) : Foo(b) {} in FooWithAssign()
258 return static_cast<FooWithAssign&>(Foo::operator=(f));
262 return static_cast<FooWithAssign&>(Foo::operator=(std::move(f)));
497 … REQUIRE_MESSAGE(std::all_of(dst.begin(), dst.end(), is_state_predicate<Foo::MoveInitialized>()), in verify_content_deep_moved()
499 … REQUIRE_MESSAGE(std::all_of(source.begin(), source.end(), is_state_predicate<Foo::MovedFrom>()), in verify_content_deep_moved()
506 …dst.begin(), dst.begin() + number_of_constructed_items, is_state_predicate<Foo::MoveInitialized>{}… in verify_part_of_content_deep_moved()
508 …f(dst.begin() + number_of_constructed_items, dst.end(), is_state_predicate<Foo::ZeroInitialized>{}… in verify_part_of_content_deep_moved()
512 ….begin(), source.begin() + number_of_constructed_items, is_state_predicate<Foo::MovedFrom>{}), "V… in verify_part_of_content_deep_moved()
513 …egin() + number_of_constructed_items, source.end(), is_not_state_predicate<Foo::MovedFrom>{}), "V… in verify_part_of_content_deep_moved()
845 struct hash<move_support_tests::Foo> {
846 std::size_t operator()( const move_support_tests::Foo& f ) const {
854 return std::hash<move_support_tests::Foo>{}(f);