Searched refs:remaining_storage (Results 1 – 3 of 3) sorted by relevance
264 std::size_t remaining_storage = 0u; in test_do_allocate() local273 std::size_t remaining = dmbr.remaining_storage(1u); in test_do_allocate()276 remaining_storage = remaining; in test_do_allocate()282 dmbr.remaining_storage(4u, wasted_due_to_alignment); in test_do_allocate()287 std::size_t remaining = dmbr.remaining_storage(1u); in test_do_allocate()289 BOOST_TEST(remaining == remaining_storage - 4 - wasted_due_to_alignment); in test_do_allocate()290 remaining_storage = remaining; in test_do_allocate()295 std::size_t remaining = dmbr.remaining_storage(1u, wasted_due_to_alignment); in test_do_allocate()300 remaining = dmbr.remaining_storage(1u); in test_do_allocate()302 BOOST_TEST(remaining == remaining_storage - 4u); in test_do_allocate()[all …]
106 std::size_t monotonic_buffer_resource::remaining_storage(std::size_t alignment, std::size_t &wasted… in remaining_storage() function in boost::container::pmr::monotonic_buffer_resource116 std::size_t monotonic_buffer_resource::remaining_storage(std::size_t alignment) const BOOST_NOEXCEPT in remaining_storage() function in boost::container::pmr::monotonic_buffer_resource119 return this->remaining_storage(alignment, ignore_this); in remaining_storage()143 if(this->remaining_storage(alignment, aligner) < bytes){ in do_allocate()
128 …std::size_t remaining_storage(std::size_t alignment, std::size_t &wasted_due_to_alignment) const B…134 std::size_t remaining_storage(std::size_t alignment = 1u) const BOOST_NOEXCEPT;