Lines Matching refs:nMode
89 SvLockBytesRef MakeLockBytes_Impl( const String & rName, StreamMode nMode ) in MakeLockBytes_Impl() argument
94 SvStream * pFileStm = new SvFileStream( rName, nMode ); in MakeLockBytes_Impl()
105 SotStorageStream::SotStorageStream( const String & rName, StreamMode nMode, in SotStorageStream() argument
111 : SvStream( MakeLockBytes_Impl( rName, nMode ) ) in SotStorageStream()
114 if( nMode & STREAM_WRITE ) in SotStorageStream()
505 …e( const ::ucbhelper::Content& rContent, const String & rName, StreamMode nMode, StorageMode nStor… in SotStorage() argument
509 …m_pOwnStg = new UCBStorage( rContent, m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? sal_Fa… in SotStorage()
519 SotStorage::SotStorage( const String & rName, StreamMode nMode, StorageMode nStorageMode ) in SotStorage() argument
523 CreateStorage( sal_True, nMode, nStorageMode ); in SotStorage()
528 void SotStorage::CreateStorage( sal_Bool bForceUCBStorage, StreamMode nMode, StorageMode nStorageMo… in CreateStorage() argument
534 if( ( ( nMode & ERASEMASK ) == ERASEMASK ) ) in CreateStorage()
554 m_pOwnStg = new UCBStorage( aContent, aURL, nMode, sal_False ); in CreateStorage()
558 …m_pOwnStg = new Storage( m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? sal_False : sal_Tru… in CreateStorage()
565 m_pStorStm = ::utl::UcbStreamHelper::CreateStream( m_aName, nMode ); in CreateStorage()
589 nMode |= STORAGE_DISKSPANNED_MODE; in CreateStorage()
593 …m_pOwnStg = new UCBStorage( m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? sal_False : sal_… in CreateStorage()
605 …m_pOwnStg = new UCBStorage( m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? sal_False : sal_… in CreateStorage()
610 …m_pOwnStg = new Storage( m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? sal_False : sal_Tru… in CreateStorage()
619 …m_pOwnStg = new UCBStorage( m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? sal_False : sal_… in CreateStorage()
621 …m_pOwnStg = new Storage( m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? sal_False : sal_Tru… in CreateStorage()
630 SotStorage::SotStorage( sal_Bool bUCBStorage, const String & rName, StreamMode nMode, StorageMode n… in SotStorage() argument
634 CreateStorage( bUCBStorage, nMode, nStorageMode ); in SotStorage()
780 …StreamMode nMode = ( ( nUNOStorageMode & embed::ElementModes::WRITE ) == embed::ElementModes::WRIT… in GetUNOAPIDuplicate() local
783 nMode |= STREAM_NOCREATE; in GetUNOAPIDuplicate()
786 SotStorageRef pChildStorage = OpenUCBStorage( rEleName, nMode, STORAGE_TRANSACTED ); in GetUNOAPIDuplicate()
1119 StreamMode nMode, in OpenEncryptedSotStream() argument
1129 nMode |= STREAM_SHARE_DENYALL; in OpenEncryptedSotStream()
1131 BaseStorageStream* p = m_pOwnStg->OpenStream( rEleName, nMode, in OpenEncryptedSotStream()
1137 if( nMode & STREAM_TRUNC ) in OpenEncryptedSotStream()
1146 StreamMode nMode, in OpenSotStream() argument
1156 nMode |= STREAM_SHARE_DENYALL; in OpenSotStream()
1158 BaseStorageStream * p = m_pOwnStg->OpenStream( rEleName, nMode, in OpenSotStream()
1164 if( nMode & STREAM_TRUNC ) in OpenSotStream()
1178 StreamMode nMode, in OpenSotStorage() argument
1185 nMode |= STREAM_SHARE_DENYALL; in OpenSotStorage()
1187 BaseStorage * p = m_pOwnStg->OpenStorage( rEleName, nMode, in OpenSotStorage()
1205 StreamMode nMode, in OpenUCBStorage() argument
1212 nMode |= STREAM_SHARE_DENYALL; in OpenUCBStorage()
1214 BaseStorage * p = m_pOwnStg->OpenUCBStorage( rEleName, nMode, in OpenUCBStorage()
1226 StreamMode nMode, in OpenOLEStorage() argument
1233 nMode |= STREAM_SHARE_DENYALL; in OpenOLEStorage()
1235 BaseStorage * p = m_pOwnStg->OpenOLEStorage( rEleName, nMode, in OpenOLEStorage()
1472 const String& rEleName, StreamMode nMode ) in OpenOLEStorage() argument
1475 if ( nMode & STREAM_WRITE ) in OpenOLEStorage()
1477 if ( nMode & STREAM_TRUNC ) in OpenOLEStorage()
1479 if ( nMode & STREAM_NOCREATE ) in OpenOLEStorage()
1488 if ( nMode & STREAM_WRITE ) in OpenOLEStorage()