Searched refs:kReadSize (Results 1 – 4 of 4) sorted by relevance
30 static const size_t kReadSize = 512 * 1024; variable31 static const size_t kWriteOffset = kReadSize;79 minSize += kReadSize; in allocBuffer()160 size_t maxRead = m_readLeft ? 0 : kReadSize; in commitBufferAndReadFully()189 actual = qemu_pipe_read(m_sock, m_buf, kReadSize); in commitBufferAndReadFully()
31 constexpr size_t kReadSize = 512 * 1024; variable32 constexpr size_t kWriteOffset = kReadSize;129 minSize += kReadSize; in allocBuffer()238 size_t maxRead = (m_readLeft || !remaining) ? 0 : kReadSize; in commitBufferAndReadFully()266 status = m_pipe->Read(kReadSize, 0, &status2, &actual); in commitBufferAndReadFully()
29 static const size_t kReadSize = 512 * 1024; variable30 static const size_t kWriteOffset = kReadSize;182 m_readBuf = (unsigned char*)malloc(kReadSize); in allocBuffer()263 size_t maxRead = m_readLeft ? 0 : kReadSize; in readFully()292 actual = speculativeRead(m_readBuf, kReadSize); in readFully()
39 static const size_t kReadSize = 512 * 1024; variable40 static const size_t kWriteOffset = kReadSize;