Searched refs:newBuf (Results 1 – 2 of 2) sorted by relevance
121 void *newBuf = os_malloc_aligned(newsize, alignment); in os_realloc_aligned() local122 if (newBuf && ptr && copySize > 0) { in os_realloc_aligned()123 memcpy(newBuf, ptr, copySize); in os_realloc_aligned()127 return newBuf; in os_realloc_aligned()
131 unsigned char* newBuf = static_cast<unsigned char*>(newMemory.ptr); in CommandBufferStagingStream() local132 if (!newBuf) { in CommandBufferStagingStream()137 memcpy(newBuf, tmp.data(), toCopySize); in CommandBufferStagingStream()