Lines Matching refs:nBytes
143 size_t nBytes);
351 ssize_t nBytes = ::pread (m_fd, pBuffer, nBytesRequested, nOffset); in readAt() local
352 if ((-1 == nBytes) && (EOVERFLOW == errno)) in readAt()
358 nBytes = 0; in readAt()
360 if (-1 == nBytes) in readAt()
372 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readAt() local
373 if (-1 == nBytes) in readAt()
375 m_offset += nBytes; in readAt()
379 OSL_FILE_TRACE("FileHandle_Impl::readAt(%d, %lld, %ld)", m_fd, nOffset, nBytes); in readAt()
380 *pBytesRead = nBytes; in readAt()
400 ssize_t nBytes = ::pwrite (m_fd, pBuffer, nBytesToWrite, nOffset); in writeAt() local
401 if (-1 == nBytes) in writeAt()
413 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeAt() local
414 if (-1 == nBytes) in writeAt()
416 m_offset += nBytes; in writeAt()
420 OSL_FILE_TRACE("FileHandle_Impl::writeAt(%d, %lld, %ld)", m_fd, nOffset, nBytes); in writeAt()
421 m_size = std::max (m_size, sal::static_int_cast< sal_uInt64 >(nOffset + nBytes)); in writeAt()
423 *pBytesWritten = nBytes; in writeAt()
436 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readFileAt() local
437 if (-1 == nBytes) in readFileAt()
439 *pBytesRead = nBytes; in readFileAt()
507 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeFileAt() local
508 if (-1 == nBytes) in writeFileAt()
510 *pBytesWritten = nBytes; in writeFileAt()
688 size_t nBytes) in writeSequence_Impl() argument
690 sal_Int32 nElements = *pnOffset + nBytes; in writeSequence_Impl()
704 memcpy(&((*ppSequence)->elements[*pnOffset]), pBuffer, nBytes), *pnOffset += nBytes; in writeSequence_Impl()