Lines Matching refs:state
282 state_type state; member in Bar
286 Bar() : state(LIVE), my_id(-1) in Bar()
289 Bar( std::size_t _i ) : state(LIVE), my_id(_i) { construction_num++; } in Bar()
291 Bar( const Bar& a_bar ) : state(LIVE) { in Bar()
292 CHECK_FAST(a_bar.state == LIVE); in Bar()
298 CHECK_FAST(state == LIVE); in ~Bar()
299 state = DEAD; in ~Bar()
305 CHECK_FAST(a_bar.state == LIVE); in operator =()
306 CHECK_FAST(state == LIVE); in operator =()
316 CHECK_FAST(bar1.state == LIVE); in operator ==()
317 CHECK_FAST(bar2.state == LIVE); in operator ==()
361 state_type state; member in BarEx
372 BarEx() : state(LIVE), my_id(-1), my_tilda_id(-1) in BarEx()
375 BarEx(std::size_t _i) : state(LIVE), my_id(_i), my_tilda_id(my_id^(-1)) in BarEx()
378 BarEx( const BarEx& a_bar ) : state(LIVE) { in BarEx()
379 CHECK_FAST(a_bar.state == LIVE); in BarEx()
389 CHECK_FAST(state == LIVE); in ~BarEx()
390 state = DEAD; in ~BarEx()
396 CHECK_FAST(a_bar.state == LIVE); in operator =()
397 CHECK_FAST(state == LIVE); in operator =()
409 CHECK_FAST(bar1.state == LIVE); in operator ==()
410 CHECK_FAST(bar2.state == LIVE); in operator ==()
792 state_type state; member in FooEx
795 FooEx() : state(LIVE) { in FooEx()
800 FooEx( const FooEx& item ) : state(LIVE) { in FooEx()
801 CHECK(item.state == LIVE); in FooEx()
810 CHECK(state==LIVE); in ~FooEx()
812 state=DEAD; in ~FooEx()
817 CHECK(item.state==LIVE); in operator =()
818 CHECK(state==LIVE); in operator =()
1210 state_type state = LIVE; member in allocator
1217 REQUIRE_MESSAGE(state == LIVE, "Destroyed allocator has been used."); in ~allocator()
1218 state = DEAD; in ~allocator()
1223 REQUIRE_MESSAGE(a.state == LIVE, "Destroyed allocator has been used."); in allocator()
1231 REQUIRE_MESSAGE(lhs.state == LIVE, "Destroyed allocator has been used."); in operator ==()
1232 REQUIRE_MESSAGE(rhs.state == LIVE, "Destroyed allocator has been used."); in operator ==()
1757 int state = 0; member
1759 constexpr stateful_allocator(const stateful_allocator<U>& src) noexcept : state(src.state) {} in stateful_allocator()
1771 …st stateful_allocator<T>& lhs, const stateful_allocator<U>& rhs) { return lhs.state == rhs.state; } in operator ==()
1774 …st stateful_allocator<T>& lhs, const stateful_allocator<U>& rhs) { return lhs.state != rhs.state; } in operator !=()
1780 alloc1.state = 0; in TestMoveQueueUnequal()
1781 alloc2.state = 1; in TestMoveQueueUnequal()
1847 src_alloc.state = 0; in test_move_assignment_test_unequal()
1857 dst_alloc.state = 1; in test_move_assignment_test_unequal()