Lines Matching refs:previous_state

37     std::size_t previous_state;  member
39 …limit_foo_count_in_scope(std::size_t new_limit, bool an_active = true): previous_state(max_foo_cou… in previous_state() function
46 max_foo_count = previous_state; in ~limit_foo_count_in_scope()
53 std::size_t previous_state; member
55 …limit_allocated_items_in_scope(std::size_t new_limit, bool an_active = true) : previous_state(stat… in previous_state() function
62 static_counter_allocator_type::set_limits(previous_state); in ~limit_allocated_items_in_scope()
70 std::size_t previous_state; member
71 track_foo_count(): active(true), previous_state(foo_count) { } in track_foo_count()
81 … REQUIRE_MESSAGE( foo_count == previous_state, "Some instances of Foo were not destroyed ?" ); in verify_no_undestroyed_foo_left_and_dismiss()
90 counters_type previous_state; member
98 void save_allocator_counters(){ previous_state = static_counter_allocator_type::counters(); } in save_allocator_counters()
101 …REQUIRE_MESSAGE( (now.items_allocated - previous_state.items_allocated) <= expected_number_of_item… in verify_no_more_than_x_memory_items_allocated()
521 counters_type previous_state; member
540 void save_allocator_counters() { previous_state = StaticCountingAllocatorType::counters(); } in save_allocator_counters()
544 REQUIRE_MESSAGE((now.items_allocated - previous_state.items_allocated) <= expected, in verify_no_more_than_x_memory_items_allocated()
550 TrackFooCount() : active(true), previous_state(foo_count) {} in TrackFooCount()
561 REQUIRE_MESSAGE(foo_count == previous_state, "Some instances of Foo were not destroyed"); in verify_no_undestroyed_foo_left_and_dismiss()
566 std::size_t previous_state; member
610 : previous_state(StaticCountingAllocatorType::max_items), active(act) in previous_state() function
621 StaticCountingAllocatorType::set_limits(previous_state); in ~LimitAllocatedItemsInScope()
625 std::size_t previous_state; member
631 : previous_state(max_foo_count), active(act) in previous_state() function
642 max_foo_count = previous_state; in ~LimitFooCountInScope()
646 std::size_t previous_state; member