Lines Matching refs:nBytesToWrite
119 size_t nBytesToWrite,
131 size_t nBytesToWrite,
389 size_t nBytesToWrite, in writeAt() argument
402 ssize_t nBytes = ::pwrite (m_fd, pBuffer, nBytesToWrite, nOffset); in writeAt()
415 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeAt()
503 size_t nBytesToWrite, in writeFileAt() argument
509 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeFileAt()
518 return writeAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in writeFileAt()
523 for (*pBytesWritten = 0; nBytesToWrite > 0; ) in writeFileAt()
535 if (nBytesToWrite >= m_bufsiz) in writeFileAt()
539 result = writeAt (nOffset, &(buffer[*pBytesWritten]), nBytesToWrite, &uDone); in writeFileAt()
542 if (uDone != nBytesToWrite) in writeFileAt()
545 nBytesToWrite -= uDone, *pBytesWritten += uDone; in writeFileAt()
557 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt()
561 nBytesToWrite -= bytes, *pBytesWritten += bytes, nOffset += bytes; in writeFileAt()
1197 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFile() local
1202 pImpl->m_fileptr, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFile()
1269 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFileAt() local
1273 return pImpl->writeFileAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFileAt()