Lines Matching refs:aligned_capacity
164 size_t aligned_capacity = roundup(bytes, footer_align) + footer_size; in __do_allocate() local
166 void* result = upstream->allocate(aligned_capacity, align); in __do_allocate()
168 __chunk_footer* h = (__chunk_footer*)((char*)result + aligned_capacity - footer_size); in __do_allocate()
242 size_t aligned_capacity = roundup(chunk_size, footer_align) + footer_size; in __allocate_in_new_chunk() local
244 void* result = upstream->allocate(aligned_capacity, __default_alignment); in __allocate_in_new_chunk()
246 __chunk_footer* h = (__chunk_footer*)((char*)result + aligned_capacity - footer_size); in __allocate_in_new_chunk()
476 size_t aligned_capacity = roundup(bytes, footer_align) + footer_size; in do_allocate() local
479 if (aligned_capacity <= previous_capacity) { in do_allocate()
481 aligned_capacity = roundup(newsize, footer_align) + footer_size; in do_allocate()
484 char* start = (char*)__res_->allocate(aligned_capacity, align); in do_allocate()
485 auto end = start + aligned_capacity - footer_size; in do_allocate()