Lines Matching refs:oldsize
1586 arena_ralloc_no_move(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t size, in arena_ralloc_no_move() argument
1598 if (likely(oldsize <= SMALL_MAXCLASS && usize_min <= SMALL_MAXCLASS)) { in arena_ralloc_no_move()
1603 assert(bin_infos[sz_size2index(oldsize)].reg_size == in arena_ralloc_no_move()
1604 oldsize); in arena_ralloc_no_move()
1606 sz_size2index(oldsize)) && (size > oldsize || usize_max < in arena_ralloc_no_move()
1607 oldsize)) { in arena_ralloc_no_move()
1613 } else if (oldsize >= LARGE_MINCLASS && usize_max >= LARGE_MINCLASS) { in arena_ralloc_no_move()
1636 arena_ralloc(tsdn_t *tsdn, arena_t *arena, void *ptr, size_t oldsize, in arena_ralloc() argument
1645 if (!arena_ralloc_no_move(tsdn, ptr, oldsize, usize, 0, zero)) { in arena_ralloc()
1650 if (oldsize >= LARGE_MINCLASS && usize >= LARGE_MINCLASS) { in arena_ralloc()
1670 size_t copysize = (usize < oldsize) ? usize : oldsize; in arena_ralloc()
1672 isdalloct(tsdn, ptr, oldsize, tcache, NULL, true); in arena_ralloc()