• Home
  • Raw
  • Download

Lines Matching refs:sz

3241   size_t  sz = p->head & ~INUSE_BITS; /* third-lowest bit can be set! */  in do_check_top_chunk()  local
3245 assert(sz == m->topsize); in do_check_top_chunk()
3246 assert(sz > 0); in do_check_top_chunk()
3247 assert(sz == ((sp->base + sp->size) - (char*)p) - TOP_FOOT_SIZE); in do_check_top_chunk()
3249 assert(!pinuse(chunk_plus_offset(p, sz))); in do_check_top_chunk()
3254 size_t sz = chunksize(p); in do_check_mmapped_chunk() local
3255 size_t len = (sz + (p->prev_foot) + MMAP_FOOT_PAD); in do_check_mmapped_chunk()
3260 assert(!is_small(sz)); in do_check_mmapped_chunk()
3262 assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); in do_check_mmapped_chunk()
3263 assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); in do_check_mmapped_chunk()
3279 size_t sz = chunksize(p); in do_check_free_chunk() local
3280 mchunkptr next = chunk_plus_offset(p, sz); in do_check_free_chunk()
3286 if (sz >= MIN_CHUNK_SIZE) { in do_check_free_chunk()
3287 assert((sz & CHUNK_ALIGN_MASK) == 0); in do_check_free_chunk()
3289 assert(next->prev_foot == sz); in do_check_free_chunk()
3296 assert(sz == SIZE_T_SIZE); in do_check_free_chunk()
3304 size_t sz = p->head & ~INUSE_BITS; in do_check_malloced_chunk() local
3306 assert((sz & CHUNK_ALIGN_MASK) == 0); in do_check_malloced_chunk()
3307 assert(sz >= MIN_CHUNK_SIZE); in do_check_malloced_chunk()
3308 assert(sz >= s); in do_check_malloced_chunk()
3310 assert(is_mmapped(p) || sz < (s + MIN_CHUNK_SIZE)); in do_check_malloced_chunk()
3515 size_t sz = chunksize(q); in internal_mallinfo() local
3516 sum += sz; in internal_mallinfo()
3518 mfree += sz; in internal_mallinfo()
5176 size_t sz = chunksize(q); in internal_inspect_all() local
5180 used = sz - CHUNK_OVERHEAD; /* must not be mmapped */ in internal_inspect_all()
5185 if (is_small(sz)) { /* offset by possible bookkeeping */ in internal_inspect_all()
5329 size_t sz = elem_size; /* serves as 1-element array */ in dlindependent_calloc() local
5330 return ialloc(gm, n_elements, &sz, 3, chunks); in dlindependent_calloc()
5849 size_t sz = elem_size; /* serves as 1-element array */ in mspace_independent_calloc() local
5855 return ialloc(ms, n_elements, &sz, 3, chunks); in mspace_independent_calloc()