Home
last modified time | relevance | path

Searched refs:remaining_storage (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/libs/container/test/
Dmonotonic_buffer_resource_test.cpp264 std::size_t remaining_storage = 0u; in test_do_allocate() local
273 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 …]
/third_party/boost/libs/container/src/
Dmonotonic_buffer_resource.cpp106 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_resource
116 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_resource
119 return this->remaining_storage(alignment, ignore_this); in remaining_storage()
143 if(this->remaining_storage(alignment, aligner) < bytes){ in do_allocate()
/third_party/boost/boost/container/pmr/
Dmonotonic_buffer_resource.hpp128 …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;