Lines Matching refs:nBytesRequested
113 size_t nBytesRequested,
125 size_t nBytesRequested,
338 size_t nBytesRequested, in readAt() argument
351 ssize_t nBytes = ::pread (m_fd, pBuffer, nBytesRequested, nOffset); in readAt()
372 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readAt()
430 size_t nBytesRequested, in readFileAt() argument
436 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readFileAt()
445 return readAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in readFileAt()
450 for (*pBytesRead = 0; nBytesRequested > 0; ) in readFileAt()
463 if (nBytesRequested >= m_bufsiz) in readFileAt()
467 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
471 nBytesRequested -= uDone, *pBytesRead += uDone; in readFileAt()
488 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt()
492 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()
1164 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFile() local
1169 pImpl->m_fileptr, pBuffer, nBytesRequested, pBytesRead); in osl_readFile()
1232 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFileAt() local
1236 return pImpl->readFileAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in osl_readFileAt()