Lines Matching refs:aligned_capacity
167 size_t aligned_capacity = roundup(bytes, footer_align) + footer_size; in __do_allocate() local
169 void* result = upstream->allocate(aligned_capacity, align); in __do_allocate()
171 __chunk_footer* h = (__chunk_footer*)((char*)result + aligned_capacity - footer_size); in __do_allocate()
245 size_t aligned_capacity = roundup(chunk_size, footer_align) + footer_size; in __allocate_in_new_chunk() local
247 void* result = upstream->allocate(aligned_capacity, __default_alignment); in __allocate_in_new_chunk()
249 __chunk_footer* h = (__chunk_footer*)((char*)result + aligned_capacity - footer_size); in __allocate_in_new_chunk()
478 size_t aligned_capacity = roundup(bytes, footer_align) + footer_size; in do_allocate() local
481 if (aligned_capacity <= previous_capacity) { in do_allocate()
483 aligned_capacity = roundup(newsize, footer_align) + footer_size; in do_allocate()
486 char* start = (char*)__res_->allocate(aligned_capacity, align); in do_allocate()
487 auto end = start + aligned_capacity - footer_size; in do_allocate()