Lines Matching full:auto
53 constexpr auto max_align = std::numeric_limits<unsigned char>::max() + 1; in max_alignment()
128 if (const auto ptr = util::exchange(*in_ptr, nullptr)) { in delete_ptr_()
219 constexpr auto max_align = util::to_underlying(AllocationHeader::max_alignment()); in valid_alignment_()
220 const auto align = util::to_underlying(in_align); in valid_alignment_()
267 const auto aligned_ptr = reinterpret_cast<unsigned char *>(user_ptr); in extract_header_()
268 const auto buffer_zone_end = aligned_ptr - AllocationHeader::buffer_zone_size(); in extract_header_()
273 const auto alignment_offset = *buffer_zone_end; in extract_header_()
299 constexpr auto header_size = AllocationHeader::header_size(); in allocate_ptr_()
300 const auto total_size = total_size_(size, align); in allocate_ptr_()
301 const auto size_before = total_size - header_size; in allocate_ptr_()
302 auto usable_size = size_before; in allocate_ptr_()
338 constexpr auto max_align = util::to_underlying(AllocationHeader::max_alignment()); in allocate_ptr_()
339 const auto alignment_offset = size_before - usable_size; in allocate_ptr_()
344 const auto computed_aligned_ptr = base_ptr + header_size + alignment_offset; in allocate_ptr_()
435 const auto align_it = find_align_(align); in try_allocate()
438 auto &&size_map = align_it->second; in try_allocate()
439 const auto size_it = size_map.find(size); in try_allocate()
442 auto &&ptr_list = size_it->second; in try_allocate()
504 if (auto ptr = util::exchange(*in_ptr, nullptr)) { in deallocate()
513 auto it = find_align_(align); in deallocate()