Lines Matching refs:m_bufsiz
93 size_t m_bufsiz; member
152 size_t m_bufsiz; member in FileHandle_Impl::Allocator
195 m_bufsiz (0) in Allocator()
203 m_bufsiz = pagesize; in Allocator()
215 *ppBuffer = static_cast< sal_uInt8* >(rtl_cache_alloc(m_cache)), *pnSize = m_bufsiz; in allocate()
244 m_bufsiz (0), in FileHandle_Impl()
249 Allocator::get().allocate (&m_buffer, &m_bufsiz); in FileHandle_Impl()
251 memset (m_buffer, 0, m_bufsiz); in FileHandle_Impl()
454 off_t const bufptr = (nOffset / m_bufsiz) * m_bufsiz; in readFileAt()
455 size_t const bufpos = (nOffset % m_bufsiz); in readFileAt()
465 if (nBytesRequested >= m_bufsiz) in readFileAt()
479 result = readAt (bufptr, m_buffer, m_bufsiz, &uDone); in readFileAt()
525 off_t const bufptr = (nOffset / m_bufsiz) * m_bufsiz; in writeFileAt()
526 size_t const bufpos = (nOffset % m_bufsiz); in writeFileAt()
535 if (nBytesToWrite >= m_bufsiz) in writeFileAt()
551 result = readAt (bufptr, m_buffer, m_bufsiz, &uDone); in writeFileAt()
557 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt()
577 off_t bufptr = nOffset / m_bufsiz * m_bufsiz; in readLineAt()
587 result = readAt (bufptr, m_buffer, m_bufsiz, &uDone); in readLineAt()
616 bufptr = nOffset / m_bufsiz * m_bufsiz; in readLineAt()
621 result = readAt (bufptr, m_buffer, m_bufsiz, &uDone); in readLineAt()