Searched refs:m_free (Results 1 – 4 of 4) sorted by relevance
35 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 …]
51 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
44 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()
99 Free m_free; variable