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()
34 constexpr size_t kReadSize = 512 * 1024; variable35 constexpr size_t kWriteOffset = kReadSize;147 minSize += kReadSize; in allocBuffer()262 size_t maxRead = (m_readLeft || !remaining) ? 0 : kReadSize; in commitBufferAndReadFully()287 auto result = m_pipe->Read(kReadSize, 0); in commitBufferAndReadFully()
29 static const size_t kReadSize = 512 * 1024; variable30 static const size_t kWriteOffset = kReadSize;319 m_readBuf = (unsigned char*)malloc(kReadSize); in allocBuffer()400 size_t maxRead = m_readLeft ? 0 : kReadSize; in readFully()429 actual = speculativeRead(m_readBuf, kReadSize); in readFully()
39 static const size_t kReadSize = 512 * 1024; variable40 static const size_t kWriteOffset = kReadSize;