Lines Matching refs:nBytesRequested
105 DWORD nBytesRequested,
296 DWORD nBytesRequested, in readAt() argument
316 if (!::ReadFile(m_hFile, pBuffer, nBytesRequested, &dwDone, 0)) in readAt()
366 DWORD nBytesRequested = sal::static_int_cast< DWORD >(uBytesRequested); in readFileAt() local
372 if (!::ReadFile(m_hFile, pBuffer, nBytesRequested, &dwDone, 0)) in readFileAt()
380 return readAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in readFileAt()
385 for (*pBytesRead = 0; nBytesRequested > 0; ) in readFileAt()
398 if (nBytesRequested >= m_bufsiz) in readFileAt()
402 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
406 nBytesRequested -= sal::static_int_cast< DWORD >(uDone), *pBytesRead += uDone; in readFileAt()
423 SIZE_T const bytes = std::min(m_buflen - bufpos, (SIZE_T)nBytesRequested); in readFileAt()
425 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()