Lines Matching refs:pBuffer
112 void * pBuffer,
118 void const * pBuffer,
124 void * pBuffer,
130 void const * pBuffer,
142 const void * pBuffer,
161 void deallocate (sal_uInt8 * pBuffer);
215 void FileHandle_Impl::Allocator::deallocate (sal_uInt8 * pBuffer) in deallocate() argument
217 if (0 != pBuffer) in deallocate()
218 rtl_cache_free (m_cache, pBuffer); in deallocate()
337 void * pBuffer, in readAt() argument
351 ssize_t nBytes = ::pread (m_fd, pBuffer, nBytesRequested, nOffset); in readAt()
372 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readAt()
386 void const * pBuffer, 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()
429 void * pBuffer, in readFileAt() argument
436 ssize_t nBytes = ::read (m_fd, pBuffer, nBytesRequested); in readFileAt()
445 return readAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in readFileAt()
449 sal_uInt8 * buffer = static_cast<sal_uInt8*>(pBuffer); in readFileAt()
500 void const * pBuffer, in writeFileAt() argument
507 ssize_t nBytes = ::write (m_fd, pBuffer, nBytesToWrite); in writeFileAt()
516 return writeAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in writeFileAt()
520 sal_uInt8 const * buffer = static_cast<sal_uInt8 const *>(pBuffer); in writeFileAt()
687 const void * pBuffer, in writeSequence_Impl() argument
704 memcpy(&((*ppSequence)->elements[*pnOffset]), pBuffer, nBytes), *pnOffset += nBytes; in writeSequence_Impl()
1152 void * pBuffer, in osl_readFile() argument
1158 if ((0 == pImpl) || (-1 == pImpl->m_fd) || (0 == pBuffer) || (0 == pBytesRead)) in osl_readFile()
1169 pImpl->m_fileptr, pBuffer, nBytesRequested, pBytesRead); in osl_readFile()
1181 const void * pBuffer, in osl_writeFile() argument
1187 if ((0 == pImpl) || (-1 == pImpl->m_fd) || (0 == pBuffer) || (0 == pBytesWritten)) in osl_writeFile()
1200 pImpl->m_fileptr, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFile()
1213 void* pBuffer, in osl_readFileAt() argument
1219 if ((0 == pImpl) || (-1 == pImpl->m_fd) || (0 == pBuffer) || (0 == pBytesRead)) in osl_readFileAt()
1236 return pImpl->readFileAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in osl_readFileAt()
1246 const void* pBuffer, in osl_writeFileAt() argument
1252 if ((0 == pImpl) || (-1 == pImpl->m_fd) || (0 == pBuffer) || (0 == pBytesWritten)) in osl_writeFileAt()
1271 return pImpl->writeFileAt (nOffset, pBuffer, nBytesToWrite, pBytesWritten); in osl_writeFileAt()