Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Dos_memory_aligned.h121 void *newBuf = os_malloc_aligned(newsize, alignment); in os_realloc_aligned() local
122 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()
/hardware/google/gfxstream/guest/vulkan_enc/
DCommandBufferStagingStream.cpp131 unsigned char* newBuf = static_cast<unsigned char*>(newMemory.ptr); in CommandBufferStagingStream() local
132 if (!newBuf) { in CommandBufferStagingStream()
137 memcpy(newBuf, tmp.data(), toCopySize); in CommandBufferStagingStream()