Searched refs:AllocationHeader (Results 1 – 2 of 2) sorted by relevance
25 struct PoolAllocator::AllocationHeader { struct in Petsc::memory::PoolAllocator26 constexpr AllocationHeader(size_type, align_type) noexcept;43 constexpr PoolAllocator::AllocationHeader::AllocationHeader(size_type size, align_type align) noexc… in AllocationHeader() function in Petsc::memory::PoolAllocator::AllocationHeader50 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()87 return sizeof(AllocationHeader) + buffer_zone_size(); in header_size()106 return AllocationHeader::header_size() + size + util::to_underlying(align) - 1; in total_size_()129 AllocationHeader *header = nullptr; in delete_ptr_()219 constexpr auto max_align = util::to_underlying(AllocationHeader::max_alignment()); in valid_alignment_()[all …]
109 struct AllocationHeader;114 static PetscErrorCode extract_header_(void *, AllocationHeader **, bool = true) noexcept;