Lines Matching refs:sal_Size

167 ErrCode SvLockBytes::ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount,  in ReadAt()
168 sal_Size * pRead) const in ReadAt()
177 sal_Size nTheRead = m_pStream->Read(pBuffer, nCount); in ReadAt()
185 ErrCode SvLockBytes::WriteAt(sal_Size nPos, const void * pBuffer, sal_Size nCount, in WriteAt()
186 sal_Size * pWritten) in WriteAt()
195 sal_Size nTheWritten = m_pStream->Write(pBuffer, nCount); in WriteAt()
217 ErrCode SvLockBytes::SetSize(sal_Size nSize) in SetSize()
230 ErrCode SvLockBytes::LockRegion(sal_Size, sal_Size, LockType) in LockRegion() argument
238 ErrCode SvLockBytes::UnlockRegion(sal_Size, sal_Size, LockType) in UnlockRegion() argument
255 sal_Size nPos = m_pStream->Tell(); in Stat()
280 ErrCode SvAsyncLockBytes::ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount, in ReadAt()
281 sal_Size * pRead) const in ReadAt()
287 sal_Size nTheCount = std::min(nPos < m_nSize ? m_nSize - nPos : 0, nCount); in ReadAt()
297 ErrCode SvAsyncLockBytes::WriteAt(sal_Size nPos, const void * pBuffer, in WriteAt()
298 sal_Size nCount, sal_Size * pWritten) in WriteAt()
304 sal_Size nTheCount = std::min(nPos < m_nSize ? m_nSize - nPos : 0, nCount); in WriteAt()
314 ErrCode SvAsyncLockBytes::FillAppend(const void * pBuffer, sal_Size nCount, in FillAppend()
315 sal_Size * pWritten) in FillAppend()
317 sal_Size nTheWritten; in FillAppend()
329 sal_Size SvAsyncLockBytes::Seek(sal_Size nPos) in Seek()
342 sal_Size SvStream::GetData( void* pData, sal_Size nSize ) in GetData()
347 sal_Size nRet; in GetData()
364 sal_Size SvStream::PutData( const void* pData, sal_Size nSize ) in PutData()
369 sal_Size nRet; in PutData()
379 sal_Size SvStream::SeekPos( sal_Size nPos ) in SeekPos()
406 void SvStream::SetSize( sal_Size nSize ) in SetSize()
591 sal_Size nActualFilePos = Tell(); in SetBufferSize()
678 sal_Size nOldFilePos = Tell(); in ReadLine()
680 sal_Size nTotalLen = 0; in ReadLine()
736 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine()
752 sal_Size nOldFilePos = Tell(); in ReadUniStringLine()
754 sal_Size nTotalLen = 0; in ReadUniStringLine()
848 sal_Size nFilePos = Tell(); in ReadCString()
1185 sal_Size SvStream::SeekRel( sal_sSize nPos ) in SeekRel()
1187 sal_Size nActualPos = Tell(); in SeekRel()
1191 if ( SAL_MAX_SIZE - nActualPos > (sal_Size)nPos ) in SeekRel()
1196 sal_Size nAbsPos = (sal_Size)-nPos; in SeekRel()
1619 sal_Size SvStream::Read( void* pData, sal_Size nCount ) in Read()
1621 sal_Size nSaveCount = nCount; in Read()
1636 if( nCount <= (sal_Size)(nBufActualLen - nBufActualPos ) ) in Read()
1684 sal_Size nCountTmp = GetData( pRWBuf, nBufSize ); in Read()
1717 sal_Size SvStream::Write( const void* pData, sal_Size nCount ) in Write()
1740 if( nCount <= (sal_Size)(nBufSize - nBufActualPos) ) in Write()
1758 CryptAndWriteBuffer( pRWBuf, (sal_Size)nBufActualLen ); in Write()
1807 sal_Size SvStream::Seek( sal_Size nFilePos ) in Seek()
1846 sal_Size nDebugTemp = nBufFilePos + nBufActualPos; in Seek()
1869 CryptAndWriteBuffer( pRWBuf, (sal_Size)nBufActualLen ); in Flush()
1988 CryptAndWriteBuffer( pRWBuf, (sal_Size)nBufActualLen ); in RefreshBuffer()
1998 EncryptBuffer(pRWBuf, (sal_Size)nBufActualLen); in RefreshBuffer()
2062 sal_Size nFPtr = Tell(); in ReadNumber()
2065 sal_Size nTemp = Read( buf, BUFSIZE_LONG-1 ); in ReadNumber()
2073 nFPtr += ( (sal_Size)pEndPtr - (sal_Size)(&(buf[0])) ); in ReadNumber()
2087 sal_Size nFPtr = Tell(); in ReadNumber()
2090 sal_Size nTemp = Read( buf, BUFSIZE_LONG-1 ); in ReadNumber()
2112 sal_Size nFPtr = Tell(); in ReadNumber()
2115 sal_Size nTemp = Read( buf, BUFSIZE_LONG-1 ); in ReadNumber()
2123 nFPtr += ( (sal_Size)pEndPtr - (sal_Size)buf ); in ReadNumber()
2235 sal_Size SvStream::CryptAndWriteBuffer( const void* pStart, sal_Size nLen) in CryptAndWriteBuffer()
2239 sal_Size nCount = 0; in CryptAndWriteBuffer()
2240 sal_Size nBufCount; in CryptAndWriteBuffer()
2276 sal_Bool SvStream::EncryptBuffer(void* pStart, sal_Size nLen) in EncryptBuffer()
2281 for ( sal_Size n=0; n < nLen; n++, pTemp++ ) in EncryptBuffer()
2352 void SvStream::SyncSvStream( sal_Size nNewStreamPos ) in SyncSvStream()
2384 sal_Bool SvStream::SetStreamSize( sal_Size nSize ) in SetStreamSize()
2387 sal_Size nFPos = Tell(); in SetStreamSize()
2399 void SvStream::AddMark( sal_Size ) in AddMark() argument
2405 void SvStream::RemoveMark( sal_Size ) in RemoveMark() argument
2465 SvMemoryStream::SvMemoryStream( void* pBuffer, sal_Size bufSize, in SvMemoryStream()
2491 SvMemoryStream::SvMemoryStream( sal_Size nInitSize, sal_Size nResizeOffset ) in SvMemoryStream()
2557 void* SvMemoryStream::SetBuffer( void* pNewBuf, sal_Size nCount, in SetBuffer()
2558 sal_Bool bOwnsDat, sal_Size nEOF ) in SetBuffer()
2598 sal_Size SvMemoryStream::GetData( void* pData, sal_Size nCount ) in GetData()
2600 sal_Size nMaxCount = nEndOfData-nPos; in GetData()
2618 sal_Size SvMemoryStream::PutData( const void* pData, sal_Size nCount ) in PutData()
2623 sal_Size nMaxCount = nSize-nPos; in PutData()
2686 sal_Size SvMemoryStream::SeekPos( sal_Size nNewPos ) in SeekPos()
2758 sal_Bool SvMemoryStream::AllocateMemory( sal_Size nNewSize ) in AllocateMemory()
2779 sal_Size nNewSize = (sal_Size)nTemp; in ReAllocateMemory()
2835 void* SvMemoryStream::SwitchBuffer( sal_Size nInitSize, sal_Size nResizeOffset) in SwitchBuffer()
2865 void SvMemoryStream::SetSize( sal_Size nNewSize ) in SetSize()