Lines Matching refs:FileBase
100 osl::FileBase::RC nError = aDirectory.open(); in ensuredir()
110 sal_Bool bSuccess = ( nError == osl::File::E_None || nError == osl::FileBase::E_EXIST ); in ensuredir()
124 bSuccess =( nError == osl::File::E_None || nError == osl::FileBase::E_EXIST ); in ensuredir()
149 ::osl::FileBase::getFileURLFromSystemPath( in ConstructTempDir_Impl()
159 … if ( DirectoryItem::get( ::rtl::OUString( aRet.getStr(), i ), aItem ) == FileBase::E_None ) in ConstructTempDir_Impl()
175 ::osl::FileBase::RC rc = ::osl::File::getTempDirURL( in ConstructTempDir_Impl()
177 if (rc == ::osl::FileBase::E_None) in ConstructTempDir_Impl()
214 FileBase::RC err = Directory::create( aTmp ); in CreateTempName_Impl()
215 if ( err == FileBase::E_None ) in CreateTempName_Impl()
218 if ( bKeep || Directory::remove( aTmp ) == FileBase::E_None ) in CreateTempName_Impl()
222 else if ( err != FileBase::E_EXIST ) in CreateTempName_Impl()
236 FileBase::RC err = aFile.open( osl_File_OpenFlag_Create | osl_File_OpenFlag_NoLock ); in CreateTempName_Impl()
240 if ( err == FileBase::E_None ) in CreateTempName_Impl()
246 else if ( err != FileBase::E_EXIST ) in CreateTempName_Impl()
253 if ( DirectoryItem::get( aTmp, aTmpItem ) != FileBase::E_None in CreateTempName_Impl()
254 || aTmpItem.getFileStatus( aTmpStatus ) != FileBase::E_None in CreateTempName_Impl()
284 FileBase::RC err = Directory::create( aTmp ); in lcl_createName()
285 if ( err == FileBase::E_None ) in lcl_createName()
290 else if ( err != FileBase::E_EXIST ) in lcl_createName()
301 FileBase::RC err = aFile.open(osl_File_OpenFlag_Create); in lcl_createName()
305 if ( err == FileBase::E_None ) in lcl_createName()
311 else if ( err != FileBase::E_EXIST ) in lcl_createName()
318 if ( DirectoryItem::get( aTmp, aTmpItem ) != FileBase::E_None in lcl_createName()
319 || aTmpItem.getFileStatus( aTmpStatus ) != FileBase::E_None in lcl_createName()
341 FileBase::getSystemPathFromFileURL( aName, aTmp ); in CreateTempName()
398 FileBase::getSystemPathFromFileURL( pImp->aName, aTmp ); in GetFileName()
449 osl::FileBase::RC err = osl::Directory::create( aUnqPath ); in SetTempNameBaseDirectory()
450 if ( err != FileBase::E_None && err != FileBase::E_EXIST ) in SetTempNameBaseDirectory()
472 FileBase::getSystemPathFromFileURL( rTempNameBase_Impl, aTmp ); in SetTempNameBaseDirectory()
485 FileBase::getSystemPathFromFileURL( rTempNameBase_Impl, aTmp ); in GetTempNameBaseDirectory()