/hardware/google/gfxstream/guest/OpenglSystemCommon/ |
D | QemuPipeStream.cpp | 33 m_buf(NULL), in QemuPipeStream() 43 m_buf(NULL), in QemuPipeStream() 55 if (m_buf != NULL) { in ~QemuPipeStream() 56 free(m_buf); in ~QemuPipeStream() 78 if (!m_buf) { in allocBuffer() 79 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 82 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 84 m_buf = p; in allocBuffer() 88 free(m_buf); in allocBuffer() 89 m_buf = NULL; in allocBuffer() [all …]
|
D | VirtioGpuPipeStream.cpp | 35 m_buf(nullptr), in VirtioGpuPipeStream() 43 m_buf(nullptr), in VirtioGpuPipeStream() 48 free(m_buf); in ~VirtioGpuPipeStream() 116 if (!m_buf) { in allocBuffer() 117 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 120 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 122 m_buf = p; in allocBuffer() 126 free(m_buf); in allocBuffer() 127 m_buf = NULL; in allocBuffer() 132 return m_buf; in allocBuffer() [all …]
|
D | QemuPipeStream.h | 53 unsigned char *m_buf; variable
|
D | VirtioGpuPipeStream.h | 67 unsigned char *m_buf; variable
|
/hardware/google/gfxstream/host/ |
D | ReadBuffer.cpp | 30 m_buf = (unsigned char*)malloc(m_size); in ReadBuffer() 32 m_readPtr = m_buf; in ReadBuffer() 36 free(m_buf); in ~ReadBuffer() 53 const size_t freeTailSize = m_buf + m_size - (m_readPtr + m_validData); in getData() 57 if (freeTailSize + (m_readPtr - m_buf) >= neededFreeTailThisTime) { in getData() 60 memmove(m_buf, m_readPtr, m_validData); in getData() 78 free(m_buf); in getData() 79 m_buf = new_buf; in getData() 85 m_readPtr = m_buf; in getData() 124 free(m_buf); in onLoad() [all …]
|
D | ReadBuffer.h | 38 unsigned char *m_buf;
|
/hardware/google/gfxstream/include/render-utils/ |
D | IOStream.h | 51 if (m_buf && len > m_free) { in alloc() 58 if (!m_buf || len > m_bufsize) { in alloc() 60 m_buf = (unsigned char *)allocBuffer(allocLen); in alloc() 61 if (!m_buf) { in alloc() 68 unsigned char* ptr = m_buf + (m_bufsize - m_free); in alloc() 75 if (!m_buf || m_free == m_bufsize) return 0; in flush() 78 m_buf = NULL; in flush() 91 stream->putByte(m_buf != nullptr); in save() 100 m_buf = haveBuf ? buf : nullptr; in load() 111 unsigned char* m_buf = nullptr; variable
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkReconstruction.cpp | 182 if (!m_buf) { in allocBuffer() 183 m_buf = (unsigned char*)malloc(allocSize); in allocBuffer() 185 unsigned char* p = (unsigned char*)realloc(m_buf, allocSize); in allocBuffer() 187 m_buf = p; in allocBuffer() 191 free(m_buf); in allocBuffer() 192 m_buf = NULL; in allocBuffer() 197 return m_buf; in allocBuffer() 202 return writeFully(m_buf, size); in commitBuffer()
|
/hardware/google/gfxstream/guest/GoldfishAddressSpace/ |
D | AddressSpaceStream.cpp | 61 m_buf((unsigned char*)context.buffer), in AddressSpaceStream() 62 m_writeStart(m_buf), in AddressSpaceStream() 149 int res = type1Write(m_writeStart - m_buf, size); in commitBuffer() 451 if (m_writeStart == m_buf + m_context.ring_config->buffer_size) { in advanceWrite() 452 m_writeStart = m_buf; in advanceWrite()
|
/hardware/google/gfxstream/guest/mesa/src/util/perf/ |
D | gpuvis_trace_utils.h | 149 char m_buf[ TRACE_BUF_SIZE ]; member 237 vsnprintf(block->m_buf, sizeof(block->m_buf), fmt, ap); in gpuvis_trace_blockf_vbegin() 252 gpuvis_trace_block_finalize( block->m_t0, block->m_buf ); in gpuvis_trace_blockf_end()
|
/hardware/google/gfxstream/guest/GoldfishAddressSpace/include/ |
D | AddressSpaceStream.h | 90 unsigned char* m_buf; variable
|
/hardware/google/gfxstream/host/gl/ |
D | ColorBufferGl.h | 291 GLuint m_buf = 0; variable
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 10364 IOBuffer m_buf; variable 43967 : m_buf(wuffs_base__empty_io_buffer()), m_max_incl(max_incl) {} in DynIOBuffer() 43970 if (m_buf.data.ptr) { in ~DynIOBuffer() 43971 free(m_buf.data.ptr); in ~DynIOBuffer() 43977 if (m_buf.data.ptr) { in drop() 43978 free(m_buf.data.ptr); in drop() 43980 m_buf = wuffs_base__empty_io_buffer(); in drop() 43990 } else if (n > m_buf.data.len) { in grow() 43991 uint8_t* ptr = static_cast<uint8_t*>(realloc(m_buf.data.ptr, n)); in grow() 43995 m_buf.data.ptr = ptr; in grow() [all …]
|