Lines Matching refs:nBytesRequested
208 size_t nBytesRequested,
220 size_t nBytesRequested,
401 size_t nBytesRequested, in readAt() argument
419 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readAt()
465 size_t nBytesRequested, in readFileAt() argument
471 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readFileAt()
480 return readAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in readFileAt()
485 for (*pBytesRead = 0; nBytesRequested > 0; ) in readFileAt()
497 if (nBytesRequested >= m_bufsiz) in readFileAt()
501 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
505 nBytesRequested -= uDone, *pBytesRead += uDone; in readFileAt()
522 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt()
526 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()
1681 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFile() local
1685 pImpl->m_fileptr, pBuffer, nBytesRequested, pBytesRead); in osl_readFile()
1747 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFileAt() local
1750 return pImpl->readFileAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in osl_readFileAt()