Searched defs:oldMem (Results 1 - 1 of 1) sorted by relevance

/freebsd-head/contrib/ntp/sntp/unity/
H A Dunity_fixture.c238 void* unity_realloc(void * oldMem, size_t size) argument
240 Guard* guard = (Guard*)oldMem;
241 // char* memAsChar = (char*)oldMem;
244 if (oldMem == 0)
248 if (isOverrun(oldMem))
250 release_memory(oldMem);
256 release_memory(oldMem);
261 return oldMem;
264 memcpy(newMem, oldMem, guard->size);
265 unity_free(oldMem);
[all...]

Completed in 209 milliseconds