Home
last modified time | relevance | path

Searched refs:m_buf (Results 1 – 5 of 5) sorted by relevance

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DSocketStream.cpp36 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 …]
DSocketStream.h45 unsigned char *m_buf; variable
/device/generic/goldfish/opengl/host/include/libOpenglRender/
DIOStream.h28 m_buf = NULL; in IOStream()
46 if (m_buf && len > m_free) { in alloc()
53 if (!m_buf || len > m_bufsize) { in alloc()
55 m_buf = (unsigned char *)allocBuffer(allocLen); in alloc()
56 if (!m_buf) { in alloc()
65 ptr = m_buf + (m_bufsize - m_free); in alloc()
73 if (!m_buf || m_free == m_bufsize) return 0; in flush()
76 m_buf = NULL; in flush()
88 unsigned char *m_buf;
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp28 m_buf(NULL) in QemuPipeStream()
36 m_buf(NULL) in QemuPipeStream()
46 if (m_buf != NULL) { in ~QemuPipeStream()
47 free(m_buf); in ~QemuPipeStream()
62 if (!m_buf) { in allocBuffer()
63 m_buf = (unsigned char *)malloc(allocSize); in allocBuffer()
66 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer()
68 m_buf = p; in allocBuffer()
72 free(m_buf); in allocBuffer()
73 m_buf = NULL; in allocBuffer()
[all …]
DQemuPipeStream.h47 unsigned char *m_buf; variable