Searched refs:new_size (Results 1 – 3 of 3) sorted by relevance
655 void *MEM_BufferRealloc(void *buffer, uint32_t new_size) in MEM_BufferRealloc() argument660 if (new_size == 0U) in MEM_BufferRealloc()669 realloc_buffer = MEM_BufferAllocWithId(new_size, 0U); in MEM_BufferRealloc()675 if ((uint16_t)new_size <= block_size) in MEM_BufferRealloc()684 realloc_buffer = MEM_BufferAllocWithId(new_size, 0U); in MEM_BufferRealloc()
1189 void *MEM_BufferRealloc(void *buffer, uint32_t new_size) in MEM_BufferRealloc() argument1195 if (new_size >= MAX_UINT16) in MEM_BufferRealloc()1201 if (new_size == 0U) in MEM_BufferRealloc()1211 realloc_buffer = MEM_BufferAllocate(new_size, 0U); in MEM_BufferRealloc()1217 if ((uint16_t)new_size <= block_size) in MEM_BufferRealloc()1226 realloc_buffer = MEM_BufferAllocate(new_size, 0U); in MEM_BufferRealloc()
338 void *MEM_BufferRealloc(void *buffer, uint32_t new_size);