Searched defs:_Pool (Results 1 – 2 of 2) sorted by relevance
640 struct __pool_resource::_Pool struct in std::pmr::__pool_resource643 static constexpr unsigned _S_min_block646 _Pool(size_t __block_size, size_t __blocks_per_chunk) in _Pool() argument653 ~_Pool() { __glibcxx_assert(_M_chunks.empty()); } in ~_Pool()659 size_t block_size() const noexcept in block_size()663 void* try_allocate() noexcept in try_allocate()680 void* allocate(memory_resource* r, const pool_options& opts) in allocate()689 bool deallocate(memory_resource*, void* p) in deallocate()710 void replenish(memory_resource* __r, const pool_options& __opts) in replenish()743 void release(memory_resource* __r) in release()[all …]
611 struct __pool_resource::_Pool struct in std::pmr::__pool_resource614 static constexpr unsigned _S_min_block617 _Pool(size_t __block_size, size_t __blocks_per_chunk) in _Pool() argument624 ~_Pool() { __glibcxx_assert(_M_chunks.empty()); } in ~_Pool()630 size_t block_size() const noexcept in block_size()634 void* try_allocate() noexcept in try_allocate()651 void* allocate(memory_resource* r, const pool_options& opts) in allocate()660 bool deallocate(memory_resource*, void* p) in deallocate()681 void replenish(memory_resource* __r, const pool_options& __opts) in replenish()714 void release(memory_resource* __r) in release()[all …]