Home
last modified time | relevance | path

Searched refs:newmem (Results 1 – 2 of 2) sorted by relevance

/malloc/
A Dmalloc-check.c248 void *newmem = 0; in realloc_check() local
291 newmem = chunk2mem_tag (newp); in realloc_check()
297 newmem = oldmem; /* do nothing */ in realloc_check()
302 newmem = _int_malloc (&main_arena, rb); in realloc_check()
303 if (newmem) in realloc_check()
305 memcpy (newmem, oldmem, oldsize - CHUNK_HDR_SZ); in realloc_check()
314 newmem = _int_realloc (&main_arena, oldp, oldsize, chnb); in realloc_check()
327 if (newmem == NULL) in realloc_check()
333 return mem2mem_check (tag_new_usable (newmem), bytes); in realloc_check()
A Dmalloc.c3454 void *newmem; in libc_hidden_def() local
3460 void *newmem = chunk2mem_tag (newp); in libc_hidden_def() local
3466 return tag_new_usable (newmem); in libc_hidden_def()
3474 newmem = __libc_malloc (bytes); in libc_hidden_def()
3475 if (newmem == 0) in libc_hidden_def()
3480 return newmem; in libc_hidden_def()
4879 if (newmem == 0) in _int_realloc()
4882 newp = mem2chunk (newmem); in _int_realloc()
4898 newmem = tag_new_usable (newmem); in _int_realloc()
4899 memcpy (newmem, oldmem, sz); in _int_realloc()
[all …]

Completed in 14 milliseconds