Searched refs:PoolAllocator (Results 1 – 2 of 2) sorted by relevance
25 struct PoolAllocator::AllocationHeader {43 constexpr PoolAllocator::AllocationHeader::AllocationHeader(size_type size, align_type align) noexc… in AllocationHeader()50 constexpr PoolAllocator::align_type PoolAllocator::AllocationHeader::max_alignment() noexcept in max_alignment()72 constexpr PoolAllocator::size_type PoolAllocator::AllocationHeader::buffer_zone_size() noexcept in buffer_zone_size()85 constexpr PoolAllocator::size_type PoolAllocator::AllocationHeader::header_size() noexcept in header_size()102 constexpr PoolAllocator::size_type PoolAllocator::total_size_(size_type size, align_type align) noe… in total_size_()124 PetscErrorCode PoolAllocator::delete_ptr_(void **in_ptr) noexcept in delete_ptr_()149 PoolAllocator::pool_type::iterator PoolAllocator::find_align_(align_type align) noexcept in find_align_()154 PoolAllocator::pool_type::const_iterator PoolAllocator::find_align_(align_type align) const noexcept in find_align_()174 PetscErrorCode PoolAllocator::clear_(size_type *remaining) noexcept in clear_()[all …]
55 class PoolAllocator : public RegisterFinalizeable<PoolAllocator> { class56 using base_type = RegisterFinalizeable<PoolAllocator>;66 PoolAllocator() noexcept = default;67 PoolAllocator(PoolAllocator &&) noexcept = default;68 PoolAllocator &operator=(PoolAllocator &&) noexcept = default;71 PoolAllocator(const PoolAllocator &) = delete;72 PoolAllocator &operator=(const PoolAllocator &) = delete;74 ~PoolAllocator() noexcept;92 friend class PoolAllocator;94 explicit LockGuard(PoolAllocator *pool) noexcept : pool_{pool} { ++pool_->locked_; } in LockGuard()[all …]