Searched refs:readSize (Results 1 – 3 of 3) sorted by relevance
249 size_t readSize = m_readLeft < remaining ? m_readLeft : remaining; in commitBufferAndReadFully() local250 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()
32 const auto sizeToRead = std::min<int>(size, readSize()); in read()51 int MemStream::readSize() const { in readSize() function in android::base::MemStream
38 int readSize() const;