Lines Matching refs:nBytes
143 size_t nBytes);
353 ssize_t nBytes = ::pread (m_fd, pBuffer, nBytesRequested, nOffset); in readAt() local
354 if ((-1 == nBytes) && (EOVERFLOW == errno)) in readAt()
360 nBytes = 0; in readAt()
362 if (-1 == nBytes) in readAt()
374 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readAt() local
375 if (-1 == nBytes) in readAt()
377 m_offset += nBytes; in readAt()
381 OSL_FILE_TRACE("FileHandle_Impl::readAt(%d, %lld, %ld)", m_fd, nOffset, nBytes); in readAt()
382 *pBytesRead = nBytes; in readAt()
402 ssize_t nBytes = ::pwrite (m_fd, pBuffer, nBytesToWrite, nOffset); in writeAt() local
403 if (-1 == nBytes) in writeAt()
415 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeAt() local
416 if (-1 == nBytes) in writeAt()
418 m_offset += nBytes; in writeAt()
422 OSL_FILE_TRACE("FileHandle_Impl::writeAt(%d, %lld, %ld)", m_fd, nOffset, nBytes); in writeAt()
423 m_size = std::max (m_size, sal::static_int_cast< sal_uInt64 >(nOffset + nBytes)); in writeAt()
425 *pBytesWritten = nBytes; in writeAt()
438 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readFileAt() local
439 if (-1 == nBytes) in readFileAt()
441 *pBytesRead = nBytes; in readFileAt()
509 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeFileAt() local
510 if (-1 == nBytes) in writeFileAt()
512 *pBytesWritten = nBytes; in writeFileAt()
690 size_t nBytes) in writeSequence_Impl() argument
692 sal_Int32 nElements = *pnOffset + nBytes; in writeSequence_Impl()
706 memcpy(&((*ppSequence)->elements[*pnOffset]), pBuffer, nBytes), *pnOffset += nBytes; in writeSequence_Impl()