Lines Matching refs:nBytesRequested
113 size_t nBytesRequested,
125 size_t nBytesRequested,
340 size_t nBytesRequested, in readAt() argument
353 ssize_t nBytes = ::pread (m_fd, pBuffer, nBytesRequested, nOffset); in readAt()
374 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readAt()
432 size_t nBytesRequested, in readFileAt() argument
438 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readFileAt()
447 return readAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in readFileAt()
452 for (*pBytesRead = 0; nBytesRequested > 0; ) in readFileAt()
465 if (nBytesRequested >= m_bufsiz) in readFileAt()
469 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
473 nBytesRequested -= uDone, *pBytesRead += uDone; in readFileAt()
490 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt()
494 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()
1166 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFile() local
1171 pImpl->m_fileptr, pBuffer, nBytesRequested, pBytesRead); in osl_readFile()
1234 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFileAt() local
1238 return pImpl->readFileAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in osl_readFileAt()