Lines Matching refs:pStream
126 else if ( !rInfo.pStream->IsFromManifest() ) in LookForUnexpectedODF12Streams()
165 rInfo.pStream->SetMediaType( aPair.Second ); in setChildStreamsTypeByExtension()
211 ZipPackageStream *pStream = reinterpret_cast < ZipPackageStream * > ( nTest ); in insertByName() local
212 pEntry = static_cast < ZipPackageEntry * > ( pStream ); in insertByName()
322 …OSL_ENSURE( ( rInfo.bFolder && rInfo.pFolder ) || ( !rInfo.bFolder && rInfo.pStream ), "A valid ch… in saveChild()
351 ZipPackageFolder::copyZipEntry ( *pTempEntry, rInfo.pStream->aEntry ); in saveChild()
355 …sal_Bool bToBeEncrypted = rInfo.pStream->IsToBeEncrypted() && (rEncryptionKey.getLength() || rInfo… in saveChild()
356 sal_Bool bToBeCompressed = bToBeEncrypted ? sal_True : rInfo.pStream->IsToBeCompressed(); in saveChild()
359 aPropSet[PKG_MNFST_MEDIATYPE].Value <<= rInfo.pStream->GetMediaType( ); in saveChild()
366 …OSL_ENSURE( rInfo.pStream->GetStreamMode() != PACKAGE_STREAM_NOTSET, "Unacceptable ZipPackageStrea… in saveChild()
369 if ( rInfo.pStream->GetStreamMode() == PACKAGE_STREAM_DETECT ) in saveChild()
370 bRawStream = rInfo.pStream->ParsePackageRawStream(); in saveChild()
371 else if ( rInfo.pStream->GetStreamMode() == PACKAGE_STREAM_RAW ) in saveChild()
377 …sal_Int32 nOwnStreamOrigSize = bRawStream ? rInfo.pStream->GetMagicalHackSize() : rInfo.pStream->g… in saveChild()
381 … if ( !rInfo.pStream->IsPackageMember() && !bRawStream && !bToBeEncrypted && bToBeCompressed ) in saveChild()
387 xStream = rInfo.pStream->GetOwnStreamNoWrap(); in saveChild()
395 xStream = rInfo.pStream->getRawData(); in saveChild()
415 xSeek->seek ( bRawStream ? rInfo.pStream->GetMagicalHackPos() : 0 ); in saveChild()
435 if ( rInfo.pStream->IsPackageMember() ) in saveChild()
438 if ( rInfo.pStream->IsEncrypted() && rInfo.pStream->IsToBeEncrypted() ) in saveChild()
467 … uno::Sequence < sal_Int8 > aSalt( 16 ), aVector( rInfo.pStream->GetBlockSize() ); in saveChild()
472 if ( !rInfo.pStream->HasOwnKey() ) in saveChild()
473 rInfo.pStream->setKey ( rEncryptionKey ); in saveChild()
475 rInfo.pStream->setInitialisationVector ( aVector ); in saveChild()
476 rInfo.pStream->setSalt ( aSalt ); in saveChild()
477 rInfo.pStream->setIterationCount ( nIterationCount ); in saveChild()
485 aPropSet[PKG_MNFST_INIVECTOR].Value <<= rInfo.pStream->getInitialisationVector(); in saveChild()
487 aPropSet[PKG_MNFST_SALT].Value <<= rInfo.pStream->getSalt(); in saveChild()
489 aPropSet[PKG_MNFST_ITERATION].Value <<= rInfo.pStream->getIterationCount (); in saveChild()
498 … ::rtl::Reference< EncryptionData > xEncData = rInfo.pStream->GetEncryptionData(); in saveChild()
503 aPropSet[PKG_MNFST_DIGEST].Value <<= rInfo.pStream->getDigest(); in saveChild()
520 || ( rInfo.pStream->IsPackageMember() && !bToBeEncrypted in saveChild()
521 && ( ( rInfo.pStream->aEntry.nMethod == DEFLATED && bToBeCompressed ) in saveChild()
522 || ( rInfo.pStream->aEntry.nMethod == STORED && !bToBeCompressed ) ) ) ) ) in saveChild()
526 if ( rInfo.pStream->IsPackageMember() ) in saveChild()
528 xStream = rInfo.pStream->getRawData(); in saveChild()
540 xStream->skipBytes( rInfo.pStream->GetMagicalHackPos() ); in saveChild()
542 rZipOut.putNextEntry ( *pTempEntry, rInfo.pStream, sal_False ); in saveChild()
579 if ( rInfo.pStream->IsPackageMember() ) in saveChild()
581 xStream = rInfo.pStream->getInputStream(); in saveChild()
598 rZipOut.putNextEntry ( *pTempEntry, rInfo.pStream, bToBeEncrypted); in saveChild()
624 ::rtl::Reference< EncryptionData > xEncData = rInfo.pStream->GetEncryptionData(); in saveChild()
629 aPropSet[PKG_MNFST_DIGEST].Value <<= rInfo.pStream->getDigest(); in saveChild()
639 rInfo.pStream->SetIsEncrypted ( sal_True ); in saveChild()
645 if ( !rInfo.pStream->IsPackageMember() ) in saveChild()
647 rInfo.pStream->CloseOwnStreamIfAny(); in saveChild()
648 rInfo.pStream->SetPackageMember ( sal_True ); in saveChild()
655 rInfo.pStream->SetToBeEncrypted( sal_True ); in saveChild()
666 ZipPackageFolder::copyZipEntry ( rInfo.pStream->aEntry, *pTempEntry ); in saveChild()
669 if ( rInfo.pStream->IsEncrypted() ) in saveChild()
670 rInfo.pStream->setSize( nOwnStreamOrigSize ); in saveChild()
672 rInfo.pStream->aEntry.nOffset *= -1; in saveChild()
762 rInfo.pStream->clearParent(); in releaseUpwardRef()