Lines Matching refs:nBytesToWrite
119 size_t nBytesToWrite,
131 size_t nBytesToWrite,
387 size_t nBytesToWrite, in writeAt() argument
400 ssize_t nBytes = ::pwrite (m_fd, pBuffer, nBytesToWrite, nOffset); in writeAt()
413 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeAt()
501 size_t nBytesToWrite, in writeFileAt() argument
507 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeFileAt()
516 return writeAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in writeFileAt()
521 for (*pBytesWritten = 0; nBytesToWrite > 0; ) in writeFileAt()
533 if (nBytesToWrite >= m_bufsiz) in writeFileAt()
537 result = writeAt (nOffset, &(buffer[*pBytesWritten]), nBytesToWrite, &uDone); in writeFileAt()
540 if (uDone != nBytesToWrite) in writeFileAt()
543 nBytesToWrite -= uDone, *pBytesWritten += uDone; in writeFileAt()
555 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt()
559 nBytesToWrite -= bytes, *pBytesWritten += bytes, nOffset += bytes; in writeFileAt()
1195 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFile() local
1200 pImpl->m_fileptr, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFile()
1267 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFileAt() local
1271 return pImpl->writeFileAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFileAt()