Home
last modified time | relevance | path

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

/glibc-2.36/malloc/
Dmalloc-check.c248 void *newmem = 0; in realloc_check() local
292 newmem = chunk2mem_tag (newp); in realloc_check()
298 newmem = oldmem; /* do nothing */ in realloc_check()
303 newmem = _int_malloc (&main_arena, rb); in realloc_check()
304 if (newmem) in realloc_check()
306 memcpy (newmem, oldmem, oldsize - CHUNK_HDR_SZ); in realloc_check()
315 newmem = _int_realloc (&main_arena, oldp, oldsize, chnb); in realloc_check()
328 if (newmem == NULL) in realloc_check()
334 return mem2mem_check (tag_new_usable (newmem), bytes); in realloc_check()
Dmalloc.c3449 void *newmem; in libc_hidden_def() local
3455 void *newmem = chunk2mem_tag (newp); in libc_hidden_def() local
3461 return tag_new_usable (newmem); in libc_hidden_def()
3469 newmem = __libc_malloc (bytes); in libc_hidden_def()
3470 if (newmem == 0) in libc_hidden_def()
3473 memcpy (newmem, oldmem, oldsize - CHUNK_HDR_SZ); in libc_hidden_def()
3475 return newmem; in libc_hidden_def()
4817 void* newmem; /* corresponding user mem */ in _int_realloc() local
4874 newmem = _int_malloc (av, nb - MALLOC_ALIGN_MASK); in _int_realloc()
4875 if (newmem == 0) in _int_realloc()
[all …]
/glibc-2.36/posix/
Dspawn_faction_init.c32 void *newmem = realloc (file_actions->__actions, in __posix_spawn_file_actions_realloc() local
35 if (newmem == NULL) in __posix_spawn_file_actions_realloc()
39 file_actions->__actions = (struct __spawn_action *) newmem; in __posix_spawn_file_actions_realloc()
/glibc-2.36/iconv/
Dstrtab.c112 struct memoryblock *newmem; in morememory() local
116 newmem = (struct memoryblock *) malloc (len); in morememory()
117 if (newmem == NULL) in morememory()
120 newmem->next = st->memory; in morememory()
121 st->memory = newmem; in morememory()
122 st->backp = newmem->memory; in morememory()
/glibc-2.36/intl/
Ddcigettext.c1267 transmem_block_t *newmem; in _nl_find_msg() local
1326 newmem = (transmem_block_t *) realloc (transmem_list, in _nl_find_msg()
1329 if (newmem != NULL) in _nl_find_msg()
1330 transmem_list = newmem; in _nl_find_msg()
1344 newmem = (transmem_block_t *) malloc (freemem_size); in _nl_find_msg()
1346 if (newmem != NULL) in _nl_find_msg()
1350 newmem->next = transmem_list; in _nl_find_msg()
1351 transmem_list = newmem; in _nl_find_msg()
1356 if (__builtin_expect (newmem == NULL, 0)) in _nl_find_msg()
1365 freemem = (unsigned char *) newmem->data; in _nl_find_msg()
[all …]
/glibc-2.36/ChangeLog.old/
DChangeLog.1866766 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is