Lines Matching refs:oldp

3420   const mchunkptr oldp = mem2chunk (oldmem);  in libc_hidden_def()  local
3422 const INTERNAL_SIZE_T oldsize = chunksize (oldp); in libc_hidden_def()
3424 if (chunk_is_mmapped (oldp)) in libc_hidden_def()
3429 ar_ptr = arena_for_chunk (oldp); in libc_hidden_def()
3436 if ((__builtin_expect ((uintptr_t) oldp > (uintptr_t) -oldsize, 0) in libc_hidden_def()
3437 || __builtin_expect (misaligned_chunk (oldp), 0))) in libc_hidden_def()
3447 if (chunk_is_mmapped (oldp)) in libc_hidden_def()
3452 newp = mremap_chunk (oldp, nb); in libc_hidden_def()
3474 munmap_chunk (oldp); in libc_hidden_def()
3480 newp = _int_realloc (ar_ptr, oldp, oldsize, nb); in libc_hidden_def()
3489 newp = _int_realloc (ar_ptr, oldp, oldsize, nb); in libc_hidden_def()
3502 size_t sz = memsize (oldp); in libc_hidden_def()
3504 (void) tag_region (chunk2mem (oldp), sz); in libc_hidden_def()
3505 _int_free (ar_ptr, oldp, 0); in libc_hidden_def()
4812 _int_realloc (mstate av, mchunkptr oldp, INTERNAL_SIZE_T oldsize, in _int_realloc() argument
4825 if (__builtin_expect (chunksize_nomask (oldp) <= CHUNK_HDR_SZ, 0) in _int_realloc()
4829 check_inuse_chunk (av, oldp); in _int_realloc()
4832 assert (!chunk_is_mmapped (oldp)); in _int_realloc()
4834 next = chunk_at_offset (oldp, oldsize); in _int_realloc()
4843 newp = oldp; in _int_realloc()
4854 set_head_size (oldp, nb | (av != &main_arena ? NON_MAIN_ARENA : 0)); in _int_realloc()
4855 av->top = chunk_at_offset (oldp, nb); in _int_realloc()
4857 check_inuse_chunk (av, oldp); in _int_realloc()
4858 return tag_new_usable (chunk2mem (oldp)); in _int_realloc()
4867 newp = oldp; in _int_realloc()
4887 newp = oldp; in _int_realloc()
4891 void *oldmem = chunk2mem (oldp); in _int_realloc()
4892 size_t sz = memsize (oldp); in _int_realloc()
4896 _int_free (av, oldp, 1); in _int_realloc()