Lines Matching refs:newsize
2506 INTERNAL_SIZE_T newsize; /* its size */
2531 newsize = oldsize = chunksize(oldp);
2569 if ((long)(nextsize + newsize) >= (long)(nb + MINSIZE))
2571 newsize += nextsize;
2573 set_head(top, (newsize - nb) | PREV_INUSE);
2580 else if (((long)(nextsize + newsize) >= (long)(nb)))
2583 newsize += nextsize;
2607 if ((long)(nextsize + prevsize + newsize) >= (long)(nb + MINSIZE))
2611 newsize += prevsize + nextsize;
2615 set_head(top, (newsize - nb) | PREV_INUSE);
2622 else if (((long)(nextsize + prevsize + newsize) >= (long)(nb)))
2627 newsize += nextsize + prevsize;
2635 if (prev != 0 && (long)(prevsize + newsize) >= (long)nb)
2639 newsize += prevsize;
2658 newsize += chunksize(newp);
2672 if (newsize - nb >= MINSIZE) /* split off remainder */
2675 remainder_size = newsize - nb;
2683 set_head_size(newp, newsize);
2684 set_inuse_bit_at_offset(newp, newsize);
2724 INTERNAL_SIZE_T newsize; /* its size */
2771 newsize = chunksize(p) - leadsize;
2777 set_head(newp, newsize|IS_MMAPPED);
2784 set_head(newp, newsize | PREV_INUSE);
2785 set_inuse_bit_at_offset(newp, newsize);
2790 assert (newsize >= nb && (((unsigned long)(chunk2mem(p))) % alignment) == 0);