Lines Matching refs:m_readLeft
39 m_readLeft(0) in QemuPipeStream()
49 m_readLeft(0) in QemuPipeStream()
140 size_t bufferedReadSize = m_readLeft < remaining ? m_readLeft : remaining; in commitBufferAndReadFully()
142 memcpy(userReadBuf, m_buf + (m_read - m_readLeft), bufferedReadSize); in commitBufferAndReadFully()
144 m_readLeft -= bufferedReadSize; in commitBufferAndReadFully()
160 size_t maxRead = m_readLeft ? 0 : kReadSize; in commitBufferAndReadFully()
168 m_read = m_readLeft = actual; in commitBufferAndReadFully()
179 bufferedReadSize = m_readLeft < remaining ? m_readLeft : remaining; in commitBufferAndReadFully()
182 m_buf + (m_read - m_readLeft), in commitBufferAndReadFully()
185 m_readLeft -= bufferedReadSize; in commitBufferAndReadFully()
197 m_read = m_readLeft = actual; in commitBufferAndReadFully()