Home
last modified time | relevance | path

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

/dports/devel/wasm3/wasm3-0.5.0/source/
H A Dm3_core.c72 void * m3_Realloc (void * i_ptr, size_t i_newSize, size_t i_oldSize) in m3_Realloc() argument
76 if (UNLIKELY(i_newSize == i_oldSize)) return i_ptr; in m3_Realloc()
95 memcpy(newPtr, i_ptr, i_oldSize); in m3_Realloc()
99 if (i_newSize > i_oldSize) { in m3_Realloc()
100 memset ((u8 *) newPtr + i_oldSize, 0x0, i_newSize - i_oldSize); in m3_Realloc()
123 void * m3_Realloc (void * i_ptr, size_t i_newSize, size_t i_oldSize) in m3_Realloc() argument
125 if (UNLIKELY(i_newSize == i_oldSize)) return i_ptr; in m3_Realloc()
131 if (i_newSize > i_oldSize) { in m3_Realloc()
132 memset ((u8 *) newPtr + i_oldSize, 0x0, i_newSize - i_oldSize); in m3_Realloc()
H A Dm3_core.h213 void * m3_Realloc (void *i_ptr, size_t i_newSize, size_t i_oldSize);