| /AOO41X/main/svl/source/filerec/ |
| H A D | filerec.cxx | 146 SvStream* pStream /* <SvStream> an dessen aktueller Position in ScanRecordType() argument 220 *pStream >> nHeader; in ScanRecordType() 227 *pStream >> nHeader; in ScanRecordType() 230 pStream->SeekRel(-8); in ScanRecordType() 243 pStream->SeekRel(-4); in ScanRecordType() 290 SvStream* pStream /* <SvStream>, an dessen aktueller in SfxMiniRecordReader() argument 307 : _pStream( pStream ), in SfxMiniRecordReader() 311 sal_uInt32 nStartPos = pStream->Tell(); // um im Fehlerfall zur"uck zu-seeken in SfxMiniRecordReader() 314 *pStream >> nHeader; in SfxMiniRecordReader() 320 if ( pStream->IsEof() ) in SfxMiniRecordReader() [all …]
|
| /AOO41X/main/package/source/zipapi/ |
| H A D | Deflater.cxx | 50 pStream = new z_stream; in init() 52 memset (pStream, 0, sizeof(*pStream)); in init() 54 switch (deflateInit2(pStream, nLevelArg, Z_DEFLATED, bNowrap? -MAX_WBITS : MAX_WBITS, in init() 60 delete pStream; in init() 63 delete pStream; in init() 87 pStream->next_in = (unsigned char*) sInBuffer.getConstArray() + nOffset; in doDeflateBytes() 88 pStream->next_out = (unsigned char*) rBuffer.getArray()+nNewOffset; in doDeflateBytes() 89 pStream->avail_in = nLength; in doDeflateBytes() 90 pStream->avail_out = nNewLength; in doDeflateBytes() 93 nResult = deflateParams(pStream, nLevel, nStrategy); in doDeflateBytes() [all …]
|
| H A D | Inflater.cxx | 47 pStream(NULL) in Inflater() 49 pStream = new z_stream; in Inflater() 51 memset (pStream, 0, sizeof(*pStream)); in Inflater() 53 nRes = inflateInit2(pStream, bNoWrap ? -MAX_WBITS : MAX_WBITS); 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() [all …]
|
| /AOO41X/main/writerfilter/source/ooxml/ |
| H A D | OOXMLDocumentImpl.cxx | 49 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 110 pStream->getDocumentStream(); in resolveFastSubStream() 124 writerfilter::Reference<Stream>::Pointer_t pStream, in resolveFastSubStreamWithId() argument 127 rStream.substream(nId, pStream); in resolveFastSubStreamWithId() [all …]
|
| /AOO41X/main/package/source/zippackage/ |
| H A D | ZipPackageFolder.cxx | 128 else if ( !rInfo.pStream->IsFromManifest() ) in LookForUnexpectedODF12Streams() 167 rInfo.pStream->SetMediaType( aPair.Second ); in setChildStreamsTypeByExtension() 216 ZipPackageStream *pStream = reinterpret_cast < ZipPackageStream * > ( nTest ); in insertByName() local 217 pEntry = static_cast < ZipPackageEntry * > ( pStream ); in insertByName() 327 …OSL_ENSURE( ( rInfo.bFolder && rInfo.pFolder ) || ( !rInfo.bFolder && rInfo.pStream ), "A valid ch… in saveChild() 356 ZipPackageFolder::copyZipEntry ( *pTempEntry, rInfo.pStream->aEntry ); in saveChild() 360 …sal_Bool bToBeEncrypted = rInfo.pStream->IsToBeEncrypted() && (rEncryptionKey.getLength() || rInfo… in saveChild() 361 sal_Bool bToBeCompressed = bToBeEncrypted ? sal_True : rInfo.pStream->IsToBeCompressed(); in saveChild() 364 aPropSet[PKG_MNFST_MEDIATYPE].Value <<= rInfo.pStream->GetMediaType( ); in saveChild() 371 …OSL_ENSURE( rInfo.pStream->GetStreamMode() != PACKAGE_STREAM_NOTSET, "Unacceptable ZipPackageStrea… in saveChild() [all …]
|
| /AOO41X/main/svl/inc/svl/ |
| H A D | filerec.hxx | 229 inline SfxMiniRecordWriter( SvStream *pStream, 231 inline SfxMiniRecordWriter( SvStream *pStream, sal_uInt8 nTag, 285 void Construct_Impl( SvStream *pStream, sal_uInt8 nTag ) in Construct_Impl() argument 287 _pStream = pStream; in Construct_Impl() 301 static sal_uInt16 ScanRecordType( SvStream *pStream ); 303 SfxMiniRecordReader( SvStream *pStream ); 304 SfxMiniRecordReader( SvStream *pStream, sal_uInt8 nTag ); 361 SvStream *pStream, 365 SfxSingleRecordWriter( SvStream *pStream, 367 SfxSingleRecordWriter( SvStream *pStream, [all …]
|
| /AOO41X/main/unotools/source/ucbhelper/ |
| H A D | ucbstreamhelper.cxx | 58 SvStream* pStream = NULL; in lcl_CreateStream() local 128 pStream = new SvStream( xLockBytes ); in lcl_CreateStream() 129 pStream->SetBufferSize( 4096 ); in lcl_CreateStream() 130 pStream->SetError( xLockBytes->GetError() ); in lcl_CreateStream() 145 pStream = new SvFileStream( rFileName, eOpenMode ); in lcl_CreateStream() 147 return pStream; in lcl_CreateStream() 174 SvStream* pStream = NULL; in CreateStream() local 178 pStream = new SvStream( xLockBytes ); in CreateStream() 179 pStream->SetBufferSize( 4096 ); in CreateStream() 180 pStream->SetError( xLockBytes->GetError() ); in CreateStream() [all …]
|
| H A D | tempfile.cxx | 59 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 D | graphhelp.cxx | 92 SvMemoryStream* pStream = new SvMemoryStream( 65535, 65535 ); in getFormatStrFromGDI_Impl() local 93 if ( pStream ) in getFormatStrFromGDI_Impl() 96 if ( GraphicConverter::Export( *pStream, aGraph, nFormat ) == 0 ) in getFormatStrFromGDI_Impl() 97 pResult = pStream; in getFormatStrFromGDI_Impl() 99 delete pStream; in getFormatStrFromGDI_Impl() 126 SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aMetaURL, STREAM_STD_READWRITE ); in getEnhMetaFileFromGDI_Impl() local 127 if ( pStream ) in getEnhMetaFileFromGDI_Impl() 130 sal_Bool bFailed = (sal_Bool)GraphicConverter::Export( *pStream, aGraph, CVT_EMF ); in getEnhMetaFileFromGDI_Impl() 131 pStream->Flush(); in getEnhMetaFileFromGDI_Impl() 132 delete pStream; in getEnhMetaFileFromGDI_Impl() [all …]
|
| /AOO41X/main/cosv/source/storage/ |
| H A D | file.cxx | 36 pStream(0), in File() 45 pStream(0), in File() 54 pStream(0), in File() 63 pStream(0), in File() 116 ::fseek( pStream, 0, SEEK_CUR ); in do_read() 118 int iRet= ::fread( out_pDest, 1, i_nNrofBytes, pStream ); in do_read() 133 return feof(pStream) != 0; in inq_eod() 144 ::fseek( pStream, 0, SEEK_CUR ); in do_write() 146 ::fwrite( i_pSrc, 1, i_nNrofBytes, pStream ); in do_write() 162 ::fseek( pStream, in do_seek() [all …]
|
| /AOO41X/main/sdext/source/pdfimport/sax/ |
| H A D | emitcontext.cxx | 37 static osl::File* pStream = NULL; variable 67 pStream = new osl::File( aBuf.makeStringAndClear() ); in SaxEmitter() 68 if( pStream->open( OpenFlag_Write | OpenFlag_Create ) ) in SaxEmitter() 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() [all …]
|
| /AOO41X/main/linguistic/source/ |
| H A D | dicimp.cxx | 292 SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xStream ) ); in loadEntries() local 299 nDicVersion = ReadDicVersion(pStream, nLang, bNegativ); in loadEntries() 300 if (0 != (nErr = pStream->GetError())) in loadEntries() 320 if (!pStream->IsEof()) in loadEntries() 322 *pStream >> nLen; in loadEntries() 323 if (0 != (nErr = pStream->GetError())) in loadEntries() 327 pStream->Read(aWordBuf, nLen); in loadEntries() 328 if (0 != (nErr = pStream->GetError())) in loadEntries() 334 while(!pStream->IsEof()) in loadEntries() 347 *pStream >> nLen; in loadEntries() [all …]
|
| /AOO41X/main/sc/source/filter/lotus/ |
| H A D | lotus.cxx | 46 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() 71 eRet = ScImportLotus123old( *pStream, pDocument, eSrc ); in ScImportLotus123() 73 pStream->SetBufferSize( 0 ); in ScImportLotus123() 86 pStream = aMedium.GetInStream(); in ScImportLotus123() [all …]
|
| /AOO41X/main/automation/source/server/ |
| H A D | svcommstream.cxx | 29 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 D | XMLParser.cxx | 54 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 D | appmisc.cxx | 182 …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() 188 …pStream = ::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 D | laycache.cxx | 1226 pStream( &rStrm ), in SwLayCacheIoImpl() 1233 *pStream << nMajorVersion in SwLayCacheIoImpl() 1237 *pStream >> nMajorVersion in SwLayCacheIoImpl() 1246 sal_uInt32 nPos = pStream->Tell(); in OpenRec() 1251 *pStream << (sal_uInt32) 0; in OpenRec() 1256 *pStream >> nVal; in OpenRec() 1262 pStream->GetErrorCode() != SVSTREAM_OK || pStream->IsEof() ) in OpenRec() 1268 aRecSizes[nLvl] = pStream->Tell(); in OpenRec() 1287 sal_uInt32 nPos = pStream->Tell(); in CloseRec() 1291 pStream->Seek( nBgn ); in CloseRec() [all …]
|
| H A D | dbg_lay.cxx | 149 SvFileStream *pStream; // Ausgabestream member in SwImplProtocol 168 { if( pStream ) _Record( pFrm, nFunction, nAct, pParam ); } in Record() 172 void ChkStream() { if( !pStream ) NewStream(); } in ChkStream() 301 : pStream( NULL ), pFrmIds( NULL ), pVar( NULL ), nTypes( 0xffff ), in SwImplProtocol() 311 pStream = new SvFileStream( aName, STREAM_WRITE | STREAM_TRUNC ); in NewStream() 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() [all …]
|
| /AOO41X/main/writerperfect/source/stream/ |
| H A D | WPXSvStream.cxx | 123 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 D | pdfentries.cxx | 714 char* pStream = *ppStream; in getDeflatedStream() local 715 if( pStream[0] == 's' ) in getDeflatedStream() 716 pStream += 6; // skip "stream" in getDeflatedStream() 718 while( *pStream == '\r' || *pStream == '\n' ) in getDeflatedStream() 719 pStream++; in getDeflatedStream() 722 if( pStream != *ppStream ) in getDeflatedStream() 723 rtl_moveMemory( *ppStream, pStream, *pBytes ); in getDeflatedStream() 792 char* pStream = NULL; in writeStream() local 794 …if( getDeflatedStream( &pStream, &nBytes, pParsedFile, rWriteContext ) && nBytes && rWriteContext.… in writeStream() 798 unzipToBuffer( pStream, nBytes, &pOutBytes, &nOutBytes ); in writeStream() [all …]
|
| /AOO41X/main/desktop/source/migration/services/ |
| H A D | wordbookmigration.cxx | 162 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 D | ucbstorage.cxx | 677 …ageStream_Impl( const String& rName, StreamMode nMode, UCBStorageStream* pStream, sal_Bool bDirect… in UCBStorageStream_Impl() argument 678 : m_pAntiImpl( pStream ) in UCBStorageStream_Impl() 1778 …SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aName, STREAM_STD_READWRITE, m_pTempFile… local 1779 delete pStream; 1822 …SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( m_pTempFile->GetURL(), STREAM_STD_READWR… local 1823 if ( pStream ) 1826 rStream >> *pStream; 1827 pStream->Flush(); 1828 DELETEZ( pStream ); 1872 …SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aObj.GetMainURL( INetURLObject::NO_DECOD… local [all …]
|
| /AOO41X/main/xmlsecurity/tools/demo/ |
| H A D | util.cxx | 89 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 D | embedtransfer.cxx | 115 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 D | xolesimplestorage.cxx | 465 …SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( xTempFile, sal_False ); // do not close … in getByName() local 466 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() [all …]
|