Lines Matching refs:_pStream
108 sal_uInt32 nEndPos = _pStream->Tell(); in Close()
109 _pStream->Seek( _nStartPos ); in Close()
110 *_pStream << SFX_REC_MINI_HEADER( _nPreTag, _nStartPos, nEndPos ); in Close()
114 _pStream->Seek( nEndPos ); in Close()
125 sal_uInt32 nEndPos = _pStream->Tell(); in Close()
126 _pStream->Seek( _nStartPos ); in Close()
128 *_pStream >> nHeader; in Close()
129 _pStream->Seek( nEndPos ); in Close()
274 _nEofRec = _pStream->Tell() + SFX_REC_OFS(nHeader); in SetHeader_Impl()
280 _pStream->SetError( ERRCODE_IO_WRONGFORMAT ); in SetHeader_Impl()
307 : _pStream( pStream ), in SfxMiniRecordReader()
372 : _pStream( pStream ), in SfxMiniRecordReader()
501 *_pStream >> nHeader; in ReadHeader_Impl()
507 *_pStream >> nHeader; in ReadHeader_Impl()
578 sal_uInt32 nStartPos = _pStream->Tell(); in FindHeader_Impl()
581 while ( !_pStream->IsEof() ) in FindHeader_Impl()
585 DBG( DbgOutf( "SfxFileRec: searching record at %ul", _pStream->Tell() ) ); in FindHeader_Impl()
586 *_pStream >> nHeader; in FindHeader_Impl()
595 *_pStream >> nHeader; in FindHeader_Impl()
614 if ( !_pStream->IsEof() ) in FindHeader_Impl()
615 _pStream->Seek( _nEofRec ); in FindHeader_Impl()
619 _pStream->SetError( ERRCODE_IO_WRONGFORMAT ); in FindHeader_Impl()
620 _pStream->Seek( nStartPos ); in FindHeader_Impl()
685 *_pStream << _nContentCount; in Close()
686 *_pStream << _nContentSize; in Close()
690 _pStream->Seek(nEndPos); in Close()
792 _nContentStartPos = _pStream->Tell(); in NewContent()
811 sal_uInt32 nContentOfsPos = _pStream->Tell(); in Close()
814 _pStream->Write( _aContentOfs.GetData(), in Close()
818 *_pStream << sal_uInt32(_aContentOfs[n]); in Close()
825 *_pStream << _nContentCount; in Close()
828 *_pStream << static_cast<sal_uInt32>(nContentOfsPos - ( _pStream->Tell() + sizeof(sal_uInt32) )); in Close()
830 *_pStream << nContentOfsPos; in Close()
834 _pStream->Seek(nEndPos); in Close()
863 _nContentStartPos = _pStream->Tell(); in NewContent()
865 *_pStream << nContentTag; in NewContent()
883 *_pStream >> _nContentCount; in ReadHeader_Impl()
884 *_pStream >> _nContentSize; // Fix: jedes einzelnen, Var|Mix: Tabellen-Pos. in ReadHeader_Impl()
890 sal_uInt32 nContentPos = _pStream->Tell(); in ReadHeader_Impl()
893 _pStream->SeekRel( + _nContentSize ); in ReadHeader_Impl()
895 _pStream->Seek( _nContentSize ); in ReadHeader_Impl()
900 _pStream->Read( _pContentOfs, sizeof(sal_uInt32)*_nContentCount ); in ReadHeader_Impl()
903 *_pStream >> _pContentOfs[n]; in ReadHeader_Impl()
905 _pStream->Seek( nContentPos ); in ReadHeader_Impl()
909 return !_pStream->GetError(); in ReadHeader_Impl()
989 …DBG_ASSERT( nNewPos >= _pStream->Tell(), "SfxMultiRecordReader::GetContent() - New position before… in GetContent()
997 _pStream->Seek( nNewPos ); in GetContent()
1005 *_pStream >> _nContentTag; in GetContent()