Lines Matching refs:sal_Size
182 ErrCode SvLockBytes::ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount, in ReadAt()
183 sal_Size * pRead) const in ReadAt()
192 sal_Size nTheRead = m_pStream->Read(pBuffer, nCount); in ReadAt()
200 ErrCode SvLockBytes::WriteAt(sal_Size nPos, const void * pBuffer, sal_Size nCount, in WriteAt()
201 sal_Size * pWritten) in WriteAt()
210 sal_Size nTheWritten = m_pStream->Write(pBuffer, nCount); in WriteAt()
232 ErrCode SvLockBytes::SetSize(sal_Size nSize) in SetSize()
245 ErrCode SvLockBytes::LockRegion(sal_Size, sal_Size, LockType) in LockRegion() argument
253 ErrCode SvLockBytes::UnlockRegion(sal_Size, sal_Size, LockType) in UnlockRegion() argument
270 sal_Size nPos = m_pStream->Tell(); in Stat()
295 ErrCode SvAsyncLockBytes::ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount, in ReadAt()
296 sal_Size * pRead) const in ReadAt()
302 sal_Size nTheCount = std::min(nPos < m_nSize ? m_nSize - nPos : 0, nCount); in ReadAt()
312 ErrCode SvAsyncLockBytes::WriteAt(sal_Size nPos, const void * pBuffer, in WriteAt()
313 sal_Size nCount, sal_Size * pWritten) in WriteAt()
319 sal_Size nTheCount = std::min(nPos < m_nSize ? m_nSize - nPos : 0, nCount); in WriteAt()
329 ErrCode SvAsyncLockBytes::FillAppend(const void * pBuffer, sal_Size nCount, in FillAppend()
330 sal_Size * pWritten) in FillAppend()
332 sal_Size nTheWritten; in FillAppend()
344 sal_Size SvAsyncLockBytes::Seek(sal_Size nPos) in Seek()
357 sal_Size SvStream::GetData( void* pData, sal_Size nSize ) in GetData()
362 sal_Size nRet; in GetData()
379 sal_Size SvStream::PutData( const void* pData, sal_Size nSize ) in PutData()
384 sal_Size nRet; in PutData()
394 sal_Size SvStream::SeekPos( sal_Size nPos ) in SeekPos()
421 void SvStream::SetSize( sal_Size nSize ) in SetSize()
606 sal_Size nActualFilePos = Tell(); in SetBufferSize()
703 sal_Size nOldFilePos = Tell(); in ReadLine()
705 sal_Size nTotalLen = 0; in ReadLine()
760 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine()
776 sal_Size nOldFilePos = Tell(); in ReadLine()
778 sal_Size nTotalLen = 0; in ReadLine()
834 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine()
850 sal_Size nOldFilePos = Tell(); in ReadUniStringLine()
852 sal_Size nTotalLen = 0; in ReadUniStringLine()
946 sal_Size nFilePos = Tell(); in ReadCString()
1306 sal_Size SvStream::SeekRel( sal_sSize nPos ) in SeekRel()
1308 sal_Size nActualPos = Tell(); in SeekRel()
1312 if ( SAL_MAX_SIZE - nActualPos > (sal_Size)nPos ) in SeekRel()
1317 sal_Size nAbsPos = (sal_Size)-nPos; in SeekRel()
1740 sal_Size SvStream::Read( void* pData, sal_Size nCount ) in Read()
1742 sal_Size nSaveCount = nCount; in Read()
1757 if( nCount <= (sal_Size)(nBufActualLen - nBufActualPos ) ) in Read()
1805 sal_Size nCountTmp = GetData( pRWBuf, nBufSize ); in Read()
1838 sal_Size SvStream::Write( const void* pData, sal_Size nCount ) in Write()
1861 if( nCount <= (sal_Size)(nBufSize - nBufActualPos) ) in Write()
1879 CryptAndWriteBuffer( pRWBuf, (sal_Size)nBufActualLen ); in Write()
1928 sal_Size SvStream::Seek( sal_Size nFilePos ) in Seek()
1967 sal_Size nDebugTemp = nBufFilePos + nBufActualPos; in Seek()
1990 CryptAndWriteBuffer( pRWBuf, (sal_Size)nBufActualLen ); in Flush()
2109 CryptAndWriteBuffer( pRWBuf, (sal_Size)nBufActualLen ); in RefreshBuffer()
2119 EncryptBuffer(pRWBuf, (sal_Size)nBufActualLen); in RefreshBuffer()
2183 sal_Size nFPtr = Tell(); in ReadNumber()
2186 sal_Size nTemp = Read( buf, BUFSIZE_LONG-1 ); in ReadNumber()
2194 nFPtr += ( (sal_Size)pEndPtr - (sal_Size)(&(buf[0])) ); in ReadNumber()
2208 sal_Size nFPtr = Tell(); in ReadNumber()
2211 sal_Size nTemp = Read( buf, BUFSIZE_LONG-1 ); in ReadNumber()
2233 sal_Size nFPtr = Tell(); in ReadNumber()
2236 sal_Size nTemp = Read( buf, BUFSIZE_LONG-1 ); in ReadNumber()
2244 nFPtr += ( (sal_Size)pEndPtr - (sal_Size)buf ); in ReadNumber()
2356 sal_Size SvStream::CryptAndWriteBuffer( const void* pStart, sal_Size nLen) in CryptAndWriteBuffer()
2360 sal_Size nCount = 0; in CryptAndWriteBuffer()
2361 sal_Size nBufCount; in CryptAndWriteBuffer()
2397 sal_Bool SvStream::EncryptBuffer(void* pStart, sal_Size nLen) in EncryptBuffer()
2402 for ( sal_Size n=0; n < nLen; n++, pTemp++ ) in EncryptBuffer()
2473 void SvStream::SyncSvStream( sal_Size nNewStreamPos ) in SyncSvStream()
2505 sal_Bool SvStream::SetStreamSize( sal_Size nSize ) in SetStreamSize()
2508 sal_Size nFPos = Tell(); in SetStreamSize()
2520 void SvStream::AddMark( sal_Size ) in AddMark() argument
2526 void SvStream::RemoveMark( sal_Size ) in RemoveMark() argument
2586 SvMemoryStream::SvMemoryStream( void* pBuffer, sal_Size bufSize, in SvMemoryStream()
2612 SvMemoryStream::SvMemoryStream( sal_Size nInitSize, sal_Size nResizeOffset ) in SvMemoryStream()
2678 void* SvMemoryStream::SetBuffer( void* pNewBuf, sal_Size nCount, in SetBuffer()
2679 sal_Bool bOwnsDat, sal_Size nEOF ) in SetBuffer()
2719 sal_Size SvMemoryStream::GetData( void* pData, sal_Size nCount ) in GetData()
2721 sal_Size nMaxCount = nEndOfData-nPos; in GetData()
2739 sal_Size SvMemoryStream::PutData( const void* pData, sal_Size nCount ) in PutData()
2744 sal_Size nMaxCount = nSize-nPos; in PutData()
2807 sal_Size SvMemoryStream::SeekPos( sal_Size nNewPos ) in SeekPos()
2879 sal_Bool SvMemoryStream::AllocateMemory( sal_Size nNewSize ) in AllocateMemory()
2900 sal_Size nNewSize = (sal_Size)nTemp; in ReAllocateMemory()
2956 void* SvMemoryStream::SwitchBuffer( sal_Size nInitSize, sal_Size nResizeOffset) in SwitchBuffer()
2986 void SvMemoryStream::SetSize( sal_Size nNewSize ) in SetSize()