Searched refs:new_ptr (Results 1 – 1 of 1) sorted by relevance
112 void *new_ptr = sys_heap_aligned_realloc(rec->heap, ptr, align, bytes); in sys_multi_heap_aligned_realloc() local114 if (new_ptr != NULL) { in sys_multi_heap_aligned_realloc()115 return new_ptr; in sys_multi_heap_aligned_realloc()121 new_ptr = sys_multi_heap_aligned_alloc(mheap, cfg, align, bytes); in sys_multi_heap_aligned_realloc()122 if (new_ptr != NULL) { in sys_multi_heap_aligned_realloc()123 memcpy(new_ptr, ptr, MIN(old_size, bytes)); in sys_multi_heap_aligned_realloc()127 return new_ptr; in sys_multi_heap_aligned_realloc()