Home
last modified time | relevance | path

Searched refs:pStream (Results 1 – 25 of 165) sorted by relevance

1234567

/aoo41x/main/svl/source/filerec/
H A Dfilerec.cxx220 *pStream >> nHeader; in ScanRecordType()
227 *pStream >> nHeader; in ScanRecordType()
230 pStream->SeekRel(-8); in ScanRecordType()
243 pStream->SeekRel(-4); in ScanRecordType()
307 : _pStream( pStream ), in SfxMiniRecordReader()
314 *pStream >> nHeader; in SfxMiniRecordReader()
320 if ( pStream->IsEof() ) in SfxMiniRecordReader()
372 : _pStream( pStream ), in SfxMiniRecordReader()
391 *pStream >> nHeader; in SfxMiniRecordReader()
397 if ( pStream->IsEof() ) in SfxMiniRecordReader()
[all …]
/aoo41x/main/package/source/zipapi/
H A DDeflater.cxx50 pStream = new z_stream; in init()
52 memset (pStream, 0, sizeof(*pStream)); in init()
60 delete pStream; in init()
63 delete pStream; in init()
188 deflateReset(pStream); in reset()
190 z_deflateReset(pStream); in reset()
198 if (pStream != NULL) in end()
201 deflateEnd(pStream); in end()
203 z_deflateEnd(pStream); in end()
205 delete pStream; in end()
[all …]
H A DInflater.cxx47 pStream(NULL) in Inflater()
49 pStream = new z_stream; in Inflater()
51 memset (pStream, 0, sizeof(*pStream)); in Inflater()
59 delete pStream; in Inflater()
62 delete pStream; in Inflater()
102 if (pStream != NULL) in end()
105 inflateEnd(pStream); in end()
107 z_inflateEnd(pStream); in end()
109 delete pStream; in end()
111 pStream = NULL; in end()
[all …]
/aoo41x/main/package/source/zippackage/
H A DZipPackageFolder.cxx165 rInfo.pStream->SetMediaType( aPair.Second ); in setChildStreamsTypeByExtension()
355 …sal_Bool bToBeEncrypted = rInfo.pStream->IsToBeEncrypted() && (rEncryptionKey.getLength() || rInfo… in saveChild()
377 …sal_Int32 nOwnStreamOrigSize = bRawStream ? rInfo.pStream->GetMagicalHackSize() : rInfo.pStream->g… in saveChild()
395 xStream = rInfo.pStream->getRawData(); in saveChild()
438 if ( rInfo.pStream->IsEncrypted() && rInfo.pStream->IsToBeEncrypted() ) in saveChild()
526 if ( rInfo.pStream->IsPackageMember() ) in saveChild()
579 if ( rInfo.pStream->IsPackageMember() ) in saveChild()
645 if ( !rInfo.pStream->IsPackageMember() ) in saveChild()
669 if ( rInfo.pStream->IsEncrypted() ) in saveChild()
672 rInfo.pStream->aEntry.nOffset *= -1; in saveChild()
[all …]
/aoo41x/main/writerfilter/source/ooxml/
H A DOOXMLDocumentImpl.cxx49 OOXMLStream::Pointer_t pStream ) in OOXMLDocumentImpl() argument
50 : mpStream(pStream) in OOXMLDocumentImpl()
59 OOXMLStream::Pointer_t pStream, in OOXMLDocumentImpl() argument
63 : mpStream(pStream) in OOXMLDocumentImpl()
72 OOXMLStream::Pointer_t pStream, in OOXMLDocumentImpl() argument
74 : mpStream(pStream) in OOXMLDocumentImpl()
89 OOXMLStream::Pointer_t pStream in resolveFastSubStream() local
149 OOXMLStream::Pointer_t pStream in getSubStream() local
154 pStream, in getSubStream()
176 pStream, in getXNoteStream()
[all …]
/aoo41x/main/svl/inc/svl/
H A Dfilerec.hxx287 _pStream = pStream; in Construct_Impl()
361 SvStream *pStream,
417 pStream, SFX_REC_PRETAG_EXT ); in Construct_Impl()
490 SvStream *pStream,
561 SvStream *pStream,
705 : _pStream( pStream ), in SfxMiniRecordWriter()
706 _nStartPos( pStream->Tell() ), in SfxMiniRecordWriter()
731 : _pStream( pStream ), in SfxMiniRecordWriter()
737 DBG(_nStartPos = pStream->Tell()); in SfxMiniRecordWriter()
740 *pStream << ( ( nTag << 24 ) | nSize ); in SfxMiniRecordWriter()
[all …]
/aoo41x/main/unotools/source/ucbhelper/
H A Ducbstreamhelper.cxx58 SvStream* pStream = NULL; in lcl_CreateStream() local
147 return pStream; in lcl_CreateStream()
174 SvStream* pStream = NULL; in CreateStream() local
179 pStream->SetBufferSize( 4096 ); in CreateStream()
183 return pStream; in CreateStream()
188 SvStream* pStream = NULL; in CreateStream() local
202 return pStream; in CreateStream()
207 SvStream* pStream = NULL; in CreateStream() local
219 return pStream; in CreateStream()
224 SvStream* pStream = NULL; in CreateStream() local
[all …]
H A Dtempfile.cxx59 SvStream* pStream; member
63 : pStream(0) in TempFile_Impl()
373 delete pImp->pStream; in ~TempFile()
416 if ( !pImp->pStream ) in GetStream()
419 … pImp->pStream = UcbStreamHelper::CreateStream( pImp->aURL, eMode, sal_True /* bFileExists */ ); in GetStream()
421 pImp->pStream = new SvMemoryStream( eMode ); in GetStream()
424 return pImp->pStream; in GetStream()
429 if ( pImp->pStream ) in CloseStream()
431 delete pImp->pStream; in CloseStream()
432 pImp->pStream = NULL; in CloseStream()
/aoo41x/main/sfx2/source/doc/
H A Dgraphhelp.cxx93 if ( pStream ) in getFormatStrFromGDI_Impl()
99 delete pStream; in getFormatStrFromGDI_Impl()
127 if ( pStream ) in getEnhMetaFileFromGDI_Impl()
132 delete pStream; in getEnhMetaFileFromGDI_Impl()
155 if ( pStream ) in getWinMetaFileFromGDI_Impl()
205 delete pStream; in getWinMetaFileFromGDI_Impl()
388 if ( pMetaFile && pStream && !pStream->GetError() ) in getThumbnailFormatFromGDI_Impl()
403 && ( pStream->Flush(), !pStream->GetError() ) ); in getThumbnailFormatFromGDI_Impl()
408 delete pStream; in getThumbnailFormatFromGDI_Impl()
425 if ( pStream && !pStream->GetError() ) in getSignedThumbnailFormatFromBitmap_Impl()
[all …]
/aoo41x/main/cosv/source/storage/
H A Dfile.cxx36 pStream(0), in File()
45 pStream(0), in File()
54 pStream(0), in File()
63 pStream(0), in File()
133 return feof(pStream) != 0; in inq_eod()
162 ::fseek( pStream, in do_seek()
172 return uintt( ::ftell(pStream) ); in inq_position()
210 return pStream != 0; in do_open()
218 ::fclose(pStream); in do_close()
219 pStream = 0; in do_close()
[all …]
/aoo41x/main/sdext/source/pdfimport/sax/
H A Demitcontext.cxx37 static osl::File* pStream = NULL; variable
70 pStream->open( OpenFlag_Write ); in SaxEmitter()
71 pStream->setSize( 0 ); in SaxEmitter()
75 pStream = 0; in SaxEmitter()
89 if( pStream ) in ~SaxEmitter()
91 pStream->close(); in ~SaxEmitter()
92 delete pStream; in ~SaxEmitter()
93 pStream = 0; in ~SaxEmitter()
111 if( pStream ) in beginTag()
145 if( pStream ) in write()
[all …]
/aoo41x/main/linguistic/source/
H A Ddicimp.cxx300 if (0 != (nErr = pStream->GetError())) in loadEntries()
320 if (!pStream->IsEof()) in loadEntries()
322 *pStream >> nLen; in loadEntries()
334 while(!pStream->IsEof()) in loadEntries()
347 *pStream >> nLen; in loadEntries()
392 return pStream->GetError(); in loadEntries()
444 if (0 != (nErr = pStream->GetError())) in saveEntries()
452 pStream->WriteLine( aLine ); in saveEntries()
454 if (0 != (nErr = pStream->GetError())) in saveEntries()
460 if (0 != (nErr = pStream->GetError())) in saveEntries()
[all …]
/aoo41x/main/sc/source/filter/lotus/
H A Dlotus.cxx46 SvStream* pStream = rMedium.GetInStream(); in ScImportLotus123() local
48 if( !pStream ) in ScImportLotus123()
53 pStream->Seek( 0UL ); in ScImportLotus123()
55 pStream->SetBufferSize( 32768 ); in ScImportLotus123()
57 ImportLotus aLotusImport( *pStream, pDocument, eSrc ); in ScImportLotus123()
67 pStream->Seek( 0UL ); in ScImportLotus123()
69 pStream->SetBufferSize( 32768 ); in ScImportLotus123()
73 pStream->SetBufferSize( 0 ); in ScImportLotus123()
86 pStream = aMedium.GetInStream(); in ScImportLotus123()
87 if ( pStream ) in ScImportLotus123()
[all …]
/aoo41x/main/automation/source/server/
H A Dsvcommstream.cxx29 SvCommStream::SvCommStream( SvStream* pIO ) { pStream = pIO; } in SvCommStream()
32 ICommStream& SvCommStream::operator>>( comm_USHORT& rUShort ) { *pStream >> rUShort; return *this; } in operator >>()
33 ICommStream& SvCommStream::operator>>( comm_ULONG& rULong ) { *pStream >> rULong; return *this; } in operator >>()
34 ICommStream& SvCommStream::operator>>( comm_BOOL& rChar ) { *pStream >> rChar; return *this; } in operator >>()
36 ICommStream& SvCommStream::operator<<( comm_USHORT nUShort ) { *pStream << nUShort; return *this; } in operator <<()
37 ICommStream& SvCommStream::operator<<( comm_ULONG nULong ) { *pStream << nULong; return *this; } in operator <<()
38 ICommStream& SvCommStream::operator<<( comm_BOOL nChar ) { *pStream << nChar; return *this; } in operator <<()
40 comm_ULONG SvCommStream::Read( void* pData, comm_ULONG nSize ) { return pStream->Read( pData, nSize… in Read()
41 comm_ULONG SvCommStream::Write( const void* pData, comm_ULONG nSize ) { return pStream->Write( pDat… in Write()
43 comm_BOOL SvCommStream::IsEof() const { return pStream->IsEof(); } in IsEof()
[all …]
H A DXMLParser.cxx54 SvStream* pStream; member in SVInputStream
56 SVInputStream( SvStream* pSt ):pStream( pSt ){}; in SVInputStream()
57 ~SVInputStream(){ delete pStream; pStream=NULL; } in ~SVInputStream()
71 sal_Int32 nRead = pStream->Read( aData.getArray(), nBytesToRead ); in readBytes()
84 pStream->SeekRel( nBytesToSkip ); in skipBytes()
89 sal_uLong nCurrent = pStream->Tell(); in available()
90 sal_uLong nSize = pStream->Seek( STREAM_SEEK_TO_END ); in available()
92 pStream->Seek( nCurrent ); in available()
99 delete pStream; in closeInput()
100 pStream = NULL; in closeInput()
[all …]
/aoo41x/main/sfx2/source/appl/
H A Dappmisc.cxx182 …SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aUserObj.GetMainURL( INetURLObject::NO_D… in GetDisabledSlotList_Impl() local
183 if ( !pStream || pStream->GetError() == ERRCODE_IO_NOTEXISTS ) in GetDisabledSlotList_Impl()
185 delete pStream; in GetDisabledSlotList_Impl()
188pStream = ::utl::UcbStreamHelper::CreateStream( aObj.GetMainURL( INetURLObject::NO_DECODE ), STREA… in GetDisabledSlotList_Impl()
192 sal_Bool bSlots = ( pStream && !pStream->GetError() ); in GetDisabledSlotList_Impl()
197 pStream->ReadByteString(aTitle); in GetDisabledSlotList_Impl()
201 (*pStream) >> nCount; in GetDisabledSlotList_Impl()
208 (*pStream) >> nSlot; in GetDisabledSlotList_Impl()
212 pStream->ReadByteString(aTitle); in GetDisabledSlotList_Impl()
213 if ( aTitle.CompareToAscii("END" ) != COMPARE_EQUAL || pStream->GetError() ) in GetDisabledSlotList_Impl()
[all …]
/aoo41x/main/sw/source/core/layout/
H A Dlaycache.cxx1226 pStream( &rStrm ), in SwLayCacheIoImpl()
1256 *pStream >> nVal; in OpenRec()
1262 pStream->GetErrorCode() != SVSTREAM_OK || pStream->IsEof() ) in OpenRec()
1291 pStream->Seek( nBgn ); in CloseRec()
1294 *pStream << nVal; in CloseRec()
1295 pStream->Seek( nPos ); in CloseRec()
1305 pStream->Seek( n ); in CloseRec()
1344 *pStream >> c; in Peek()
1345 pStream->Seek( nPos ); in Peek()
1367 *pStream >> cFlags; in OpenFlagRec()
[all …]
H A Ddbg_lay.cxx149 SvFileStream *pStream; // Ausgabestream member in SwImplProtocol
172 void ChkStream() { if( !pStream ) NewStream(); } in ChkStream()
312 if( pStream->GetError() ) in NewStream()
314 delete pStream; in NewStream()
315 pStream = NULL; in NewStream()
317 return 0 != pStream; in NewStream()
322 if( pStream ) in ~SwImplProtocol()
324 pStream->Close(); in ~SwImplProtocol()
325 delete pStream; in ~SwImplProtocol()
570 case 4: delete pStream; pStream = NULL; break; in _Record()
[all …]
/aoo41x/main/writerperfect/source/stream/
H A DWPXSvStream.cxx123 SvStream *pStream = utl::UcbStreamHelper::CreateStream( mxStream ); in isOLEStream() local
124 bool bAns = pStream && SotStorage::IsOLEStorage( pStream ); in isOLEStream()
125 if (pStream) in isOLEStream()
126 delete pStream; in isOLEStream()
141 SvStream *pStream = utl::UcbStreamHelper::CreateStream( mxStream ); in getDocumentOLEStream() local
143 if (!pStream || !SotStorage::IsOLEStorage( pStream )) in getDocumentOLEStream()
149 mxChildStorage = new SotStorage( pStream, sal_True ); in getDocumentOLEStream()
/aoo41x/main/sdext/source/pdfimport/pdfparse/
H A Dpdfentries.cxx714 char* pStream = *ppStream; in getDeflatedStream() local
715 if( pStream[0] == 's' ) in getDeflatedStream()
718 while( *pStream == '\r' || *pStream == '\n' ) in getDeflatedStream()
719 pStream++; in getDeflatedStream()
722 if( pStream != *ppStream ) in getDeflatedStream()
792 char* pStream = NULL; in writeStream() local
802 else if( pStream && nBytes ) in writeStream()
804 rtl_freeMemory( pStream ); in writeStream()
830 char* pStream = NULL; in emit() local
833 if( pStream && nBytes ) in emit()
[all …]
/aoo41x/main/desktop/source/migration/services/
H A Dwordbookmigration.cxx162 SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( String(rFile), STREAM_STD_READ ); in IsUserWordbook() local
163 if ( pStream && !pStream->GetError() ) in IsUserWordbook()
165 sal_Size nSniffPos = pStream->Tell(); in IsUserWordbook()
169 if ((pStream->Read((void *) pMagicHeader, nVerOOo7Len) == nVerOOo7Len)) in IsUserWordbook()
176 pStream->Seek (nSniffPos); in IsUserWordbook()
177 *pStream >> nLen; in IsUserWordbook()
180 pStream->Read(pMagicHeader, nLen); in IsUserWordbook()
191 delete pStream; in IsUserWordbook()
/aoo41x/main/sot/source/sdstor/
H A Ducbstorage.cxx678 : m_pAntiImpl( pStream ) in UCBStorageStream_Impl()
1779 delete pStream;
1823 if ( pStream )
1827 pStream->Flush();
1828 DELETEZ( pStream );
2760 if ( !pStream )
2774 delete pStream;
2929 return pStream;
3051 if ( !pStream )
3058 delete pStream;
[all …]
/aoo41x/main/xmlsecurity/tools/demo/
H A Dutil.cxx89 SvFileStream* pStream = new SvFileStream( rStreamName, STREAM_READ ); in OpenInputStream() local
90 pStream->Seek( STREAM_SEEK_TO_END ); in OpenInputStream()
91 sal_uLong nBytes = pStream->Tell(); in OpenInputStream()
92 pStream->Seek( STREAM_SEEK_TO_BEGIN ); in OpenInputStream()
93 SvLockBytesRef xLockBytes = new SvLockBytes( pStream, sal_True ); in OpenInputStream()
102 SvFileStream* pStream = new SvFileStream( rStreamName, STREAM_WRITE ); in OpenOutputStream() local
103 SvLockBytesRef xLockBytes = new SvLockBytes( pStream, sal_True ); in OpenOutputStream()
/aoo41x/main/svtools/source/misc/
H A Dembedtransfer.cxx115 SvStream* pStream = NULL; in GetData() local
122 pStream = utl::UcbStreamHelper::CreateStream( xStm ); in GetData()
127 pStream = aTmp.GetStream( STREAM_STD_READWRITE ); in GetData()
128 … > xStor = comphelper::OStorageHelper::GetStorageFromStream( new utl::OStreamWrapper( *pStream ) ); in GetData()
133 … const sal_uInt32 nLen = pStream->Seek( STREAM_SEEK_TO_END ); in GetData()
136 pStream->Seek( STREAM_SEEK_TO_BEGIN ); in GetData()
137 pStream->Read( aSeq.getArray(), nLen ); in GetData()
139 delete pStream; in GetData()
/aoo41x/main/sot/source/unoolestorage/
H A Dxolesimplestorage.cxx466 if ( !pStream ) in getByName()
469 BaseStorage* pNewStor = new Storage( *pStream, sal_False ); in getByName()
475 DELETEZ( pStream ); in getByName()
494 …BaseStorageStream* pStream = m_pStorage->OpenStream( aName, STREAM_READ | STREAM_SHARE_DENYALL | S… in getByName() local
495 if ( !pStream || pStream->GetError() || m_pStorage->GetError() ) in getByName()
498 DELETEZ( pStream ); in getByName()
507 while( 0 != ( nRead = pStream->Read( aData.getArray(), nSize ) ) ) in getByName()
518 if ( pStream->GetError() ) in getByName()
526 DELETEZ( pStream ); in getByName()
531 DELETEZ( pStream ); in getByName()
[all …]

Completed in 138 milliseconds

1234567