Lines Matching refs:nMode
501 void PrepareCachedForReopen( StreamMode nMode );
552 …UCBStorage_Impl* OpenStorage( UCBStorageElement_Impl* pElement, StreamMode nMode, sal_B…
677 UCBStorageStream_Impl::UCBStorageStream_Impl( const String& rName, StreamMode nMode, UCBStorageStre… in UCBStorageStream_Impl() argument
684 , m_nMode( nMode ) in UCBStorageStream_Impl()
685 , m_bSourceRead( !( nMode & STREAM_TRUNC ) ) in UCBStorageStream_Impl()
1362 void UCBStorageStream_Impl::PrepareCachedForReopen( StreamMode nMode ) argument
1368 nMode |= STREAM_WRITE;
1371 m_nMode = nMode;
1374 if ( nMode & STREAM_TRUNC )
1386 UCBStorageStream::UCBStorageStream( const String& rName, StreamMode nMode, sal_Bool bDirect, const … argument
1390 pImp = new UCBStorageStream_Impl( rName, nMode, this, bDirect, pKey );
1395 UCBStorageStream::UCBStorageStream( const String& rName, StreamMode nMode, sal_Bool bDirect, const … argument
1399 pImp = new UCBStorageStream_Impl( rName, nMode, this, bDirect, pKey, bRepair, xProgress );
1634 StreamMode nMode = STREAM_READ; local
1636 nMode = STREAM_READ | STREAM_WRITE;
1639 pImp = new UCBStorage_Impl( aContent, aURL, nMode, this, bDirect, sal_True );
1653 UCBStorage::UCBStorage( const ::ucbhelper::Content& rContent, const String& rName, StreamMode nMode… argument
1657 pImp = new UCBStorage_Impl( rContent, rName, nMode, this, bDirect, bIsRoot );
1663 UCBStorage::UCBStorage( const String& rName, StreamMode nMode, sal_Bool bDirect, sal_Bool bIsRoot, … argument
1667 pImp = new UCBStorage_Impl( rName, nMode, this, bDirect, bIsRoot, bIsRepair, xProgressHandler );
1673 UCBStorage::UCBStorage( const String& rName, StreamMode nMode, sal_Bool bDirect, sal_Bool bIsRoot ) argument
1677 …pImp = new UCBStorage_Impl( rName, nMode, this, bDirect, bIsRoot, sal_False, Reference< XProgressH…
1702 …pl( const ::ucbhelper::Content& rContent, const String& rName, StreamMode nMode, UCBStorage* pStor… argument
1709 , m_nMode( nMode )
1737 UCBStorage_Impl::UCBStorage_Impl( const String& rName, StreamMode nMode, UCBStorage* pStorage, sal_… argument
1744 , m_nMode( nMode )
2909 BaseStorageStream* UCBStorage::OpenStream( const String& rEleName, StreamMode nMode, sal_Bool bDire… argument
2919 if( ( nMode & STREAM_NOCREATE ) )
2921 SetError( ( nMode & STREAM_WRITE ) ? SVSTREAM_CANNOT_MAKE : SVSTREAM_FILE_NOT_FOUND );
2925 …UCBStorageStream* pStream = new UCBStorageStream( aName, nMode, bDirect, pKey, pImp->m_bRepairPack…
2960 pElement->m_xStream->PrepareCachedForReopen( nMode );
2969 pImp->OpenStream( pElement, nMode, bDirect, pKey );
2979 …UCBStorage_Impl::OpenStream( UCBStorageElement_Impl* pElement, StreamMode nMode, sal_Bool bDirect,… argument
2984 …pElement->m_xStream = new UCBStorageStream_Impl( aName, nMode, NULL, bDirect, pKey, m_bRepairPacka…
2988 BaseStorage* UCBStorage::OpenUCBStorage( const String& rEleName, StreamMode nMode, sal_Bool bDirect… argument
2993 return OpenStorage_Impl( rEleName, nMode, bDirect, sal_True );
2996 BaseStorage* UCBStorage::OpenOLEStorage( const String& rEleName, StreamMode nMode, sal_Bool bDirect… argument
3001 return OpenStorage_Impl( rEleName, nMode, bDirect, sal_False );
3004 BaseStorage* UCBStorage::OpenStorage( const String& rEleName, StreamMode nMode, sal_Bool bDirect ) argument
3009 return OpenStorage_Impl( rEleName, nMode, bDirect, sal_True );
3012 BaseStorage* UCBStorage::OpenStorage_Impl( const String& rEleName, StreamMode nMode, sal_Bool bDire… argument
3019 if( ( nMode & STREAM_NOCREATE ) )
3021 SetError( ( nMode & STREAM_WRITE ) ? SVSTREAM_CANNOT_MAKE : SVSTREAM_FILE_NOT_FOUND );
3025 …UCBStorage *pStorage = new UCBStorage( aName, nMode, bDirect, sal_False, pImp->m_bRepairPackage, p…
3048 BaseStorageStream* pStr = OpenStream( rEleName, nMode, bDirect );
3052 … SetError( ( nMode & STREAM_WRITE ) ? SVSTREAM_CANNOT_MAKE : SVSTREAM_FILE_NOT_FOUND );
3060 pElement->m_xStream->PrepareCachedForReopen( nMode );
3077 if ( !bIsWritable && (( nMode & STREAM_WRITE ) != 0 ))
3082 …UCBStorage* pStorage = new UCBStorage( aName, nMode, bDirect, sal_False, pImp->m_bRepairPackage, p…
3114 UCBStorage_Impl* pStor = pImp->OpenStorage( pElement, nMode, bDirect );
3127 UCBStorage_Impl* UCBStorage_Impl::OpenStorage( UCBStorageElement_Impl* pElement, StreamMode nMode, … argument
3141 …pRet = new UCBStorage_Impl( aNewFolder, aName, nMode, NULL, bDirect, sal_False, m_bRepairPackage, …
3145 …pRet = new UCBStorage_Impl( aName, nMode, NULL, bDirect, sal_False, m_bRepairPackage, m_xProgressH…