Searched refs:allocSize (Results 1 – 7 of 7) sorted by relevance
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | SocketStream.cpp | 66 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer() local 68 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 70 else if (m_bufsize < allocSize) { in allocBuffer() 71 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 74 m_bufsize = allocSize; in allocBuffer() 76 ERR("%s: realloc (%zu) failed\n", __FUNCTION__, allocSize); in allocBuffer()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | QemuPipeStream.cpp | 70 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer() local 72 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 74 else if (m_bufsize < allocSize) { in allocBuffer() 75 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 78 m_bufsize = allocSize; in allocBuffer() 80 ERR("realloc (%zu) failed\n", allocSize); in allocBuffer()
|
D | VirtioGpuStream.cpp | 239 size_t allocSize = (m_bufSize < minSize ? minSize : m_bufSize); in allocBuffer() local 241 m_buf = static_cast<unsigned char *>(malloc(allocSize)); in allocBuffer() 242 } else if (m_bufSize < allocSize) { in allocBuffer() 243 unsigned char *p = static_cast<unsigned char *>(realloc(m_buf, allocSize)); in allocBuffer() 250 ERR("%s: alloc (%zu) failed\n", __func__, allocSize); in allocBuffer() 257 m_bufSize = allocSize; in allocBuffer()
|
D | QemuPipeStreamFuchsia.cpp | 149 size_t allocSize = m_bufsize < minSize ? minSize : m_bufsize; in allocBuffer() local 153 m_channel.get(), allocSize, &status2); in allocBuffer() 170 0, vmo.get(), 0, allocSize, &mapped_addr); in allocBuffer() 177 m_bufsize = allocSize; in allocBuffer()
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | Pool.cpp | 225 Heap(size_t allocSize, size_t chunksPerSize) : in Heap() argument 226 mBlock(allocSize, chunksPerSize) { in Heap() 285 size_t allocSize = mMinAllocSize << i; in Impl() local 287 D("create heap for size %zu", allocSize); in Impl() 289 Heap* newHeap = new Heap(allocSize, mChunksPerSize); in Impl() 293 allocSize, in Impl() 374 size_t allocSize; member
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | HostVisibleMemoryVirtualization.h | 81 VkDeviceSize allocSize = 0; member 92 VkDeviceSize allocSize,
|
D | HostVisibleMemoryVirtualization.cpp | 218 VkDeviceSize allocSize, in finishHostMemAllocInit() argument 226 out->allocSize = allocSize; in finishHostMemAllocInit()
|