Home
last modified time | relevance | path

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

/Zephyr-latest/lib/heap/
Dmulti_heap.c112 void *new_ptr = sys_heap_aligned_realloc(rec->heap, ptr, align, bytes); in sys_multi_heap_aligned_realloc() local
114 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()