Home
last modified time | relevance | path

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

/external/elfutils/libdwelf/
Ddwelf_strtab.c120 struct memoryblock *newmem = (struct memoryblock *) malloc (len); in morememory() local
121 if (newmem == NULL) in morememory()
124 newmem->next = st->memory; in morememory()
125 st->memory = newmem; in morememory()
126 st->backp = newmem->memory; in morememory()
/external/e2fsprogs/intl/
Ddcigettext.c900 transmem_block_t *newmem; in _nl_find_msg() local
957 newmem = (transmem_block_t *) realloc (transmem_list, in _nl_find_msg()
960 if (newmem != NULL) in _nl_find_msg()
975 newmem = (transmem_block_t *) malloc (freemem_size); in _nl_find_msg()
977 if (__builtin_expect (newmem == NULL, 0)) in _nl_find_msg()
988 newmem->next = transmem_list; in _nl_find_msg()
989 transmem_list = newmem; in _nl_find_msg()
991 freemem = newmem->data; in _nl_find_msg()
994 transmem_list = newmem; in _nl_find_msg()
995 freemem = newmem; in _nl_find_msg()
/external/u-boot/common/
Ddlmalloc.c1659 Void_t* newmem; /* corresponding user mem */ local
1708 newmem = mALLOc(bytes);
1709 if (!newmem)
1711 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
1713 return newmem;
1775 newmem = chunk2mem(newp);
1776 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
1780 return newmem;
1791 newmem = chunk2mem(newp);
1792 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
[all …]
Ddlmalloc.src2507 Void_t* newmem; /* corresponding user mem */
2546 newmem = mALLOc(bytes);
2547 if (newmem == 0) return 0; /* propagate failure */
2548 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
2550 return newmem;
2612 newmem = chunk2mem(newp);
2613 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2617 return newmem;
2628 newmem = chunk2mem(newp);
2629 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
[all …]
/external/elfutils/libdw/
Ddwarf_getpubnames.c60 struct pubnames_s *newmem in get_offsets() local
62 if (newmem == NULL) in get_offsets()
70 mem = newmem; in get_offsets()
/external/elfutils/tests/
Delfputzdata.c150 GElf_Shdr newmem; in main() local
151 GElf_Shdr *newshdr = gelf_getshdr (scn, &newmem); in main()
/external/cldr/tools/java/com/ibm/icu/dev/test/
DTestFmwk.java1613 long newmem = 0; in getmem() local
1625 lastmem = newmem; in getmem()
1626 newmem = rt.totalMemory() - rt.freeMemory(); in getmem()
1627 } while (newmem < lastmem); in getmem()
1629 return newmem; in getmem()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c3896 void* newmem = internal_malloc(m, bytes); in internal_realloc() local
3897 if (newmem != 0) { in internal_realloc()
3899 memcpy(newmem, oldmem, (oc < bytes)? oc : bytes); in internal_realloc()
3902 return newmem; in internal_realloc()
/external/libffi/src/
Ddlmalloc.c3891 void* newmem = internal_malloc(m, bytes); in internal_realloc() local
3892 if (newmem != 0) { in internal_realloc()
3894 memcpy(newmem, oldmem, (oc < bytes)? oc : bytes); in internal_realloc()
3897 return newmem; in internal_realloc()