Searched refs:realloc_buffer (Results 1 – 2 of 2) sorted by relevance
657 void *realloc_buffer = NULL; in MEM_BufferRealloc() local664 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()
1191 void *realloc_buffer = NULL; in MEM_BufferRealloc() local1197 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()