Home
last modified time | relevance | path

Searched refs:kReadSize (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp30 static const size_t kReadSize = 512 * 1024; variable
31 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()
DQemuPipeStreamFuchsia.cpp31 constexpr size_t kReadSize = 512 * 1024; variable
32 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()
DAddressSpaceStream.cpp29 static const size_t kReadSize = 512 * 1024; variable
30 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()
DVirtioGpuPipeStream.cpp39 static const size_t kReadSize = 512 * 1024; variable
40 static const size_t kWriteOffset = kReadSize;