Home
last modified time | relevance | path

Searched refs:m_readLeft (Results 1 – 7 of 7) sorted by relevance

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp39 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()
[all …]
DQemuPipeStreamFuchsia.cpp43 m_readLeft(0) in QemuPipeStream()
53 m_readLeft(0) in QemuPipeStream()
249 size_t readSize = m_readLeft < remaining ? m_readLeft : remaining; in commitBufferAndReadFully()
251 memcpy(static_cast<char*>(buf), m_buf + (m_read - m_readLeft), readSize); in commitBufferAndReadFully()
253 m_readLeft -= readSize; in commitBufferAndReadFully()
262 size_t maxRead = (m_readLeft || !remaining) ? 0 : kReadSize; in commitBufferAndReadFully()
272 m_read = m_readLeft = result.Unwrap()->actual; in commitBufferAndReadFully()
277 readSize = m_readLeft < remaining ? m_readLeft : remaining; in commitBufferAndReadFully()
280 m_buf + (m_read - m_readLeft), in commitBufferAndReadFully()
283 m_readLeft -= readSize; in commitBufferAndReadFully()
[all …]
DAddressSpaceStream.cpp282 m_readLeft(0), in AddressSpaceStream()
387 m_readLeft < remaining ? m_readLeft : remaining; in readFully()
391 m_readBuf + (m_read - m_readLeft), in readFully()
394 m_readLeft -= bufferedReadSize; in readFully()
400 size_t maxRead = m_readLeft ? 0 : kReadSize; in readFully()
408 m_read = m_readLeft = actual; in readFully()
419 bufferedReadSize = m_readLeft < remaining ? m_readLeft : remaining; in readFully()
422 m_readBuf + (m_read - m_readLeft), in readFully()
425 m_readLeft -= bufferedReadSize; in readFully()
437 m_read = m_readLeft = actual; in readFully()
DQemuPipeStream.h60 size_t m_readLeft; variable
DVirtioGpuPipeStream.h71 size_t m_readLeft; variable
DAddressSpaceStream.h79 size_t m_readLeft; variable
DVirtioGpuPipeStream.cpp51 m_readLeft(0), in VirtioGpuPipeStream()