oldmem 4119 oshmem/mca/memheap/ptmalloc/malloc.c static void* internal_realloc(mstate m, void* oldmem, size_t bytes) { oldmem 4125 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr oldp = mem2chunk(oldmem); oldmem 4161 oshmem/mca/memheap/ptmalloc/malloc.c USAGE_ERROR_ACTION(m, oldmem); oldmem 4179 oshmem/mca/memheap/ptmalloc/malloc.c memcpy(newmem, oldmem, (oc < bytes)? oc : bytes); oldmem 4180 oshmem/mca/memheap/ptmalloc/malloc.c internal_free(m, oldmem); oldmem 4665 oshmem/mca/memheap/ptmalloc/malloc.c void* dlrealloc(void* oldmem, size_t bytes) { oldmem 4667 oshmem/mca/memheap/ptmalloc/malloc.c if (oldmem == 0) oldmem 4671 oshmem/mca/memheap/ptmalloc/malloc.c dlfree(oldmem); oldmem 4680 oshmem/mca/memheap/ptmalloc/malloc.c mstate m = get_mstate_for(mem2chunk(oldmem)); oldmem 4687 oshmem/mca/memheap/ptmalloc/malloc.c USAGE_ERROR_ACTION(m, oldmem); oldmem 4693 oshmem/mca/memheap/ptmalloc/malloc.c return internal_realloc(m, oldmem, bytes); oldmem 5090 oshmem/mca/memheap/ptmalloc/malloc.c void* mspace_realloc(mspace msp, void* oldmem, size_t bytes) { oldmem 5091 oshmem/mca/memheap/ptmalloc/malloc.c if (oldmem == 0) oldmem 5095 oshmem/mca/memheap/ptmalloc/malloc.c mspace_free(msp, oldmem); oldmem 5101 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr p = mem2chunk(oldmem); oldmem 5110 oshmem/mca/memheap/ptmalloc/malloc.c return internal_realloc(ms, oldmem, bytes);