Lines Matching refs:nBytesToWrite
214 size_t nBytesToWrite,
226 size_t nBytesToWrite,
432 size_t nBytesToWrite, in writeAt() argument
450 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeAt()
535 size_t nBytesToWrite, in writeFileAt() argument
541 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeFileAt()
550 return writeAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in writeFileAt()
555 for (*pBytesWritten = 0; nBytesToWrite > 0; ) in writeFileAt()
566 if (nBytesToWrite >= m_bufsiz) in writeFileAt()
570 result = writeAt (nOffset, &(buffer[*pBytesWritten]), nBytesToWrite, &uDone); in writeFileAt()
573 if (uDone != nBytesToWrite) in writeFileAt()
576 nBytesToWrite -= uDone, *pBytesWritten += uDone; in writeFileAt()
588 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt()
592 nBytesToWrite -= bytes, *pBytesWritten += bytes, nOffset += bytes; in writeFileAt()
1711 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFile() local
1715 pImpl->m_fileptr, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFile()
1781 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFileAt() local
1784 return pImpl->writeFileAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFileAt()