/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | QemuPipeStream.cpp | 37 m_buf(NULL), in QemuPipeStream() 47 m_buf(NULL), in QemuPipeStream() 59 if (m_buf != NULL) { in ~QemuPipeStream() 60 free(m_buf); in ~QemuPipeStream() 82 if (!m_buf) { in allocBuffer() 83 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 86 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 88 m_buf = p; in allocBuffer() 92 free(m_buf); in allocBuffer() 93 m_buf = NULL; in allocBuffer() [all …]
|
D | VirtioGpuStream.cpp | 75 m_buf(nullptr), in VirtioGpuStream() 104 free(m_buf); in ~VirtioGpuStream() 186 if (m_buf) { in allocBuffer() 192 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in allocBuffer() 203 free(m_buf); in allocBuffer() 204 m_buf = nullptr; in allocBuffer() 221 if (!m_buf) { in allocBuffer() 222 m_buf = static_cast<unsigned char *>(malloc(allocSize)); in allocBuffer() 224 unsigned char *p = static_cast<unsigned char *>(realloc(m_buf, allocSize)); in allocBuffer() 226 free(m_buf); in allocBuffer() [all …]
|
D | QemuPipeStreamFuchsia.cpp | 41 m_buf(nullptr), in QemuPipeStream() 51 m_buf(nullptr), in QemuPipeStream() 62 if (m_buf) { in ~QemuPipeStream() 64 reinterpret_cast<zx_vaddr_t>(m_buf), in ~QemuPipeStream() 150 if (m_buf) { in allocBuffer() 152 return m_buf + kWriteOffset; in allocBuffer() 155 reinterpret_cast<zx_vaddr_t>(m_buf), in allocBuffer() 161 m_buf = nullptr; in allocBuffer() 195 m_buf = reinterpret_cast<unsigned char*>(mapped_addr); in allocBuffer() 198 return m_buf + kWriteOffset; in allocBuffer() [all …]
|
D | VirtioGpuPipeStream.cpp | 49 m_buf(nullptr), in VirtioGpuPipeStream() 71 free(m_buf); in ~VirtioGpuPipeStream() 177 if (!m_buf) { in allocBuffer() 178 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 181 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 183 m_buf = p; in allocBuffer() 187 free(m_buf); in allocBuffer() 188 m_buf = NULL; in allocBuffer() 193 return m_buf; in allocBuffer() 198 return writeFully(m_buf, size); in commitBuffer()
|
D | AddressSpaceStream.cpp | 290 m_buf((unsigned char*)context.buffer), in AddressSpaceStream() 291 m_writeStart(m_buf), in AddressSpaceStream() 364 int res = type1Write(m_writeStart - m_buf, size); in commitBuffer() 586 if (m_writeStart == m_buf + m_context.ring_config->buffer_size) { in advanceWrite() 587 m_writeStart = m_buf; in advanceWrite()
|
D | QemuPipeStream.h | 58 unsigned char *m_buf; variable
|
D | VirtioGpuPipeStream.h | 69 unsigned char *m_buf; variable
|
D | VirtioGpuStream.h | 80 unsigned char *m_buf; variable
|
D | AddressSpaceStream.h | 90 unsigned char* m_buf; variable
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | SocketStream.cpp | 36 m_buf(NULL) in SocketStream() 44 m_buf(NULL) in SocketStream() 57 if (m_buf != NULL) { in ~SocketStream() 58 free(m_buf); in ~SocketStream() 59 m_buf = NULL; in ~SocketStream() 67 if (!m_buf) { in allocBuffer() 68 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer() 71 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer() 73 m_buf = p; in allocBuffer() 77 free(m_buf); in allocBuffer() [all …]
|
D | SocketStream.h | 46 unsigned char *m_buf; variable
|
/device/generic/opengl-transport/host/libs/virglrenderer/OpenglRender/ |
D | IOStream.h | 25 IOStream(unsigned char* buf, size_t bufSize) : m_buf(buf), m_bufSize(bufSize) { in IOStream() 33 unsigned char* buf = m_buf + m_allocSize; in alloc() 61 unsigned char* m_buf; variable
|
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/ |
D | GoldfishAVCDec.h | 154 #define DUMP_TO_FILE(m_filename, m_buf, m_size, m_offset)\ argument 157 if (fp != NULL && m_buf != NULL && m_offset == 0) { \ 159 i = fwrite(m_buf, 1, m_size, fp); \ 179 #define DUMP_TO_FILE(m_filename, m_buf, m_size, m_offset) argument
|