Lines Matching refs:m_buflen
91 size_t m_buflen; /* buffer filled [0, m_bufsiz - 1] */ member
243 m_buflen (0), in FileHandle_Impl()
292 off_t const bufend = std::max((off_t)(0), m_bufptr) + m_buflen; in getSize()
463 m_bufptr = -1, m_buflen = 0; in readFileAt()
482 m_bufptr = bufptr, m_buflen = uDone; in readFileAt()
484 if (bufpos >= m_buflen) in readFileAt()
490 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt()
533 m_bufptr = -1, m_buflen = 0; in writeFileAt()
554 m_bufptr = bufptr, m_buflen = uDone; in writeFileAt()
563 m_buflen = std::max(m_buflen, bufpos + bytes); in writeFileAt()
591 m_bufptr = bufptr, m_buflen = uDone; in readLineAt()
599 int state = (bufpos >= m_buflen) ? LINE_STATE_LF : LINE_STATE_BEGIN; in readLineAt()
603 if (curpos >= m_buflen) in readLineAt()
624 m_bufptr = bufptr, m_buflen = uDone; in readLineAt()
628 if (bufpos >= m_buflen) in readLineAt()
681 if (bufpos >= m_buflen) in readLineAt()
717 result = writeAt (m_bufptr, m_buffer, m_buflen, &uDone); in syncFile()
720 if (uDone != m_buflen) in syncFile()
1391 pImpl->m_bufptr = -1, pImpl->m_buflen = 0; in osl_setFileSize()