Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager.c657 void *realloc_buffer = NULL; in MEM_BufferRealloc() local
664 realloc_buffer = NULL; in MEM_BufferRealloc()
669 realloc_buffer = MEM_BufferAllocWithId(new_size, 0U); in MEM_BufferRealloc()
679 realloc_buffer = buffer; in MEM_BufferRealloc()
684 realloc_buffer = MEM_BufferAllocWithId(new_size, 0U); in MEM_BufferRealloc()
686 if (realloc_buffer != NULL) in MEM_BufferRealloc()
689 (void)memcpy(realloc_buffer, buffer, (uint32_t)block_size); in MEM_BufferRealloc()
697 return realloc_buffer; in MEM_BufferRealloc()
Dfsl_component_mem_manager_light.c1191 void *realloc_buffer = NULL; in MEM_BufferRealloc() local
1197 realloc_buffer = NULL; in MEM_BufferRealloc()
1205 realloc_buffer = NULL; in MEM_BufferRealloc()
1211 realloc_buffer = MEM_BufferAllocate(new_size, 0U); in MEM_BufferRealloc()
1221 realloc_buffer = buffer; in MEM_BufferRealloc()
1226 realloc_buffer = MEM_BufferAllocate(new_size, 0U); in MEM_BufferRealloc()
1228 if (realloc_buffer != NULL) in MEM_BufferRealloc()
1231 (void)memcpy(realloc_buffer, buffer, (uint32_t)block_size); in MEM_BufferRealloc()
1238 return realloc_buffer; in MEM_BufferRealloc()