Home
last modified time | relevance | path

Searched refs:m_free (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/guest/iostream/include/gfxstream/guest/
DIOStream.h35 m_free = 0; in IOStream()
72 if (m_iostreamBuf && len > m_free) { in alloc()
86 m_bufsize = m_free = allocLen; in alloc()
91 ptr = m_iostreamBuf + (m_bufsize - m_free); in alloc()
92 m_free -= len; in alloc()
99 if (!m_iostreamBuf || m_free == m_bufsize) return 0; in flush()
101 int stat = commitBuffer(m_bufsize - m_free); in flush()
103 m_free = 0; in flush()
108 if (m_iostreamBuf && m_free != m_bufsize) { in readback()
109 size_t size = m_bufsize - m_free; in readback()
[all …]
/hardware/google/gfxstream/include/render-utils/
DIOStream.h51 if (m_buf && len > m_free) { in alloc()
65 m_bufsize = m_free = allocLen; in alloc()
68 unsigned char* ptr = m_buf + (m_bufsize - m_free); in alloc()
69 m_free -= len; in alloc()
75 if (!m_buf || m_free == m_bufsize) return 0; in flush()
77 int stat = commitBuffer(m_bufsize - m_free); in flush()
79 m_free = 0; in flush()
90 stream->putBe32(m_free); in save()
97 m_free = stream->getBe32(); in load()
113 size_t m_free = 0; variable
/hardware/google/gfxstream/guest/vulkan_enc/
DCommandBufferStagingStream.cpp44 m_free = [](const Memory& mem) { free(mem.ptr); }; in CommandBufferStagingStream()
88 m_free = [&freeFn](const Memory& mem) { in CommandBufferStagingStream()
127 m_free(mem); in CommandBufferStagingStream()
145 if (m_mem.ptr) m_free(m_mem); in ~CommandBufferStagingStream()
DCommandBufferStagingStream.h99 Free m_free; variable