Lines Matching refs:m_buf
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()
125 m_buf = (unsigned char*)malloc(m_size); in onLoad()
127 m_readPtr = m_buf; in onLoad()