Searched refs:allocSize (Results 1 – 9 of 9) 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 | 81 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer() local 83 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 85 else if (m_bufsize < allocSize) { in allocBuffer() 86 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 89 m_bufsize = allocSize; in allocBuffer() 91 ERR("realloc (%zu) failed\n", allocSize); in allocBuffer()
|
D | VirtioGpuStream.cpp | 220 size_t allocSize = (m_bufSize < minSize ? minSize : m_bufSize); in allocBuffer() local 222 m_buf = static_cast<unsigned char *>(malloc(allocSize)); in allocBuffer() 223 } else if (m_bufSize < allocSize) { in allocBuffer() 224 unsigned char *p = static_cast<unsigned char *>(realloc(m_buf, allocSize)); in allocBuffer() 231 ERR("%s: alloc (%zu) failed\n", __func__, allocSize); in allocBuffer() 238 m_bufSize = allocSize; in allocBuffer()
|
D | VirtioGpuPipeStream.cpp | 176 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer() local 178 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 180 else if (m_bufsize < allocSize) { in allocBuffer() 181 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 184 m_bufsize = allocSize; in allocBuffer() 186 ERR("realloc (%zu) failed\n", allocSize); in allocBuffer()
|
D | QemuPipeStreamFuchsia.cpp | 164 size_t allocSize = m_bufsize < minSize ? minSize : m_bufsize; in allocBuffer() local 167 auto result = m_pipe->SetBufferSize(allocSize); in allocBuffer() 189 vmo.get(), 0, allocSize, &mapped_addr); in allocBuffer() 196 m_bufsize = allocSize; in allocBuffer()
|
D | AddressSpaceStream.cpp | 322 size_t allocSize = in allocBuffer() local 325 if (m_writeStep < allocSize) { in allocBuffer() 327 m_tmpBufSize = allocSize * 2; in allocBuffer() 331 if (m_tmpBufSize < allocSize) { in allocBuffer() 332 m_tmpBufSize = allocSize * 2; in allocBuffer() 341 m_tmpBufXferSize = 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 | 82 VkDeviceSize allocSize = 0; member 93 VkDeviceSize allocSize,
|
D | HostVisibleMemoryVirtualization.cpp | 213 VkDeviceSize allocSize, in finishHostMemAllocInit() argument 221 out->allocSize = allocSize; in finishHostMemAllocInit()
|