Home
last modified time | relevance | path

Searched refs:readSize (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DQemuPipeStreamFuchsia.cpp249 size_t readSize = m_readLeft < remaining ? m_readLeft : remaining; in commitBufferAndReadFully() local
250 if (readSize) { in commitBufferAndReadFully()
251 memcpy(static_cast<char*>(buf), m_buf + (m_read - m_readLeft), readSize); in commitBufferAndReadFully()
252 remaining -= readSize; in commitBufferAndReadFully()
253 m_readLeft -= readSize; in commitBufferAndReadFully()
277 readSize = m_readLeft < remaining ? m_readLeft : remaining; in commitBufferAndReadFully()
278 if (readSize) { in commitBufferAndReadFully()
281 readSize); in commitBufferAndReadFully()
282 remaining -= readSize; in commitBufferAndReadFully()
283 m_readLeft -= readSize; in commitBufferAndReadFully()
/device/generic/goldfish-opengl/android-emu/android/base/files/
DMemStream.cpp32 const auto sizeToRead = std::min<int>(size, readSize()); in read()
51 int MemStream::readSize() const { in readSize() function in android::base::MemStream
DMemStream.h38 int readSize() const;