Home
last modified time | relevance | path

Searched refs:FileBase (Results 1 – 25 of 197) sorted by relevance

12345678

/aoo41x/main/sal/qa/osl/file/
H A Dosl_File.cxx63 case ::osl::FileBase::E_None: in errorToString()
66 case ::osl::FileBase::E_PERM: in errorToString()
87 case ::osl::FileBase::E_BADF: in errorToString()
375 ::osl::FileBase::RC nError; in createTestFile()
385 if ( ( ::osl::FileBase::E_None != nError ) && ( nError != ::osl::FileBase::E_EXIST )) in createTestFile()
409 ::osl::FileBase::RC nError; in deleteTestFile()
617 FileBase::RC rc; in checkDirectory()
624 if ( ( ::osl::FileBase::E_NOENT != rc ) && ( ::osl::FileBase::E_ACCES != rc ) ){ in checkDirectory()
638 if ( ( rc == ::osl::FileBase::E_None ) || ( rc == ::osl::FileBase::E_NOENT ) ) in checkDirectory()
4843 …( ::osl::FileBase::E_ACCES == nError1 || ::osl::FileBase::E_ISDIR == nError1 ) ||( ::osl::FileBase in move_002()
[all …]
H A Dtest_cpy_wrt_file.cxx50 FileBase::getFileURLFromSystemPath(rtl::OUString::createFromAscii(COPY_SOURCE_PATH), src_url); in cp_file()
53FileBase::getFileURLFromSystemPath(rtl::OUString::createFromAscii(COPY_DEST_PATH), dest_url); in cp_file()
55 FileBase::RC err = File::copy(src_url, dest_url); in cp_file()
56 CPPUNIT_ASSERT_MESSAGE("Copy didn't recognized disk full", err != FileBase::E_None); in cp_file()
77 FileBase::getFileURLFromSystemPath(rtl::OUString::createFromAscii(WRITE_DEST_PATH), dest_url); in wrt_file()
81 FileBase::RC err = tmp_file.open(osl_File_OpenFlag_Write | osl_File_OpenFlag_Create); in wrt_file()
83 CPPUNIT_ASSERT_MESSAGE( suErrorMsg, err == FileBase::E_None || err == FileBase::E_EXIST ); in wrt_file()
91 CPPUNIT_ASSERT_MESSAGE("Write didn't recognized disk full", err != FileBase::E_None); in wrt_file()
/aoo41x/main/ucb/source/ucp/file/
H A Dfilglob.cxx84 == osl::FileBase::E_None) in generateErrorArguments()
92 osl::FileBase::E_None) in generateErrorArguments()
322 case FileBase::E_NXIO: in throw_handler()
332 case FileBase::E_ROFS: in throw_handler()
359 case FileBase::E_BUSY: in throw_handler()
417 case FileBase::E_ROFS: in throw_handler()
435 case FileBase::E_LOOP: in throw_handler()
489 case FileBase::E_FBIG: in throw_handler()
497 case FileBase::E_NXIO: in throw_handler()
671 case FileBase::E_ACCES: in throw_handler()
[all …]
H A Dfilrec.cxx57 if ( nResult == ::osl::FileBase::E_None ) in open()
70 ::osl::FileBase::RC ReconnectingFile::close() in close()
81 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK; in setPos()
113 return ::osl::FileBase::E_NETWORK; in getPos()
120 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK; in setSize()
151 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK; in getSize()
158 if ( ( nRes == ::osl::FileBase::E_NETWORK in getSize()
159 || nRes == ::osl::FileBase::E_INVAL ) in getSize()
175 return ::osl::FileBase::E_NETWORK; in read()
183 return ::osl::FileBase::E_NETWORK; in write()
[all …]
H A Dshell.cxx1138 osl::FileBase::RC nError; in move()
1146 if( nError != osl::FileBase::E_None && nError != osl::FileBase::E_EXIST ) in move()
1348 osl::FileBase::RC nError; in copy()
1387 if( nError != osl::FileBase::E_None && nError != osl::FileBase::E_EXIST ) in copy()
1527 osl::FileBase::RC nError; in remove()
1793 osl::FileBase::RC err; in write()
1983 sal_Bool err = osl::FileBase::E_None != osl::FileBase::getSystemPathFromFileURL( Url,Unq ); in getUnqFromUrl()
2010 osl::FileBase::RC SAL_CALL
2017 osl::FileBase::RC err = osl::FileBase::E_None; in copy_recursive()
2068 if( err == osl::FileBase::E_None && next != osl::FileBase::E_NOENT ) in copy_recursive()
[all …]
H A Dfilrec.hxx61 ::osl::FileBase::RC open( sal_uInt32 uFlags );
63 ::osl::FileBase::RC close();
65 ::osl::FileBase::RC setPos( sal_uInt32 uHow, sal_Int64 uPos );
67 ::osl::FileBase::RC getPos( sal_uInt64& uPos );
69 ::osl::FileBase::RC setSize( sal_uInt64 uSize );
71 ::osl::FileBase::RC getSize( sal_uInt64 &rSize );
73 ::osl::FileBase::RC read( void *pBuffer, sal_uInt64 uBytesRequested, sal_uInt64& rBytesRead );
75 …::osl::FileBase::RC write(const void *pBuffer, sal_uInt64 uBytesToWrite, sal_uInt64& rBytesWritten…
77 ::osl::FileBase::RC sync() const;
H A Dfilstr.cxx112 osl::FileBase::RC err = m_aFile.open( nFlags ); in XTYPEPROVIDER_IMPL_7()
113 if( err != osl::FileBase::E_None ) in XTYPEPROVIDER_IMPL_7()
184 if (osl::FileBase::E_None != m_aFile.setSize(0)) in truncate()
187 if (osl::FileBase::E_None != m_aFile.setPos(Pos_Absolut,sal_uInt64(0))) in truncate()
222 != osl::FileBase::E_None) in readBytes()
297 osl::FileBase::RC err = m_aFile.close(); in closeStream()
299 if( err != osl::FileBase::E_None ) { in closeStream()
349 if( osl::FileBase::E_None != m_aFile.setPos( Pos_Absolut, sal_uInt64( location ) ) ) in seek()
361 if( osl::FileBase::E_None != m_aFile.getPos( uPos ) ) in getPosition()
373 if ( m_aFile.getSize(uEndPos) != osl::FileBase::E_None ) in getLength()
[all …]
H A Dprov.cxx311 osl::FileBase::RC error; in compareContentIds()
315 if ( error == osl::FileBase::E_None ) in compareContentIds()
318 if ( error != osl::FileBase::E_None ) in compareContentIds()
324 if ( error == osl::FileBase::E_None ) in compareContentIds()
327 if ( error == osl::FileBase::E_None ) in compareContentIds()
335 error = osl::FileBase::getSystemPathFromFileURL( aStatus1.getFileURL(), aPath1 ); in compareContentIds()
336 if ( error == osl::FileBase::E_None ) in compareContentIds()
337 error = osl::FileBase::getSystemPathFromFileURL( aStatus2.getFileURL(), aPath2 ); in compareContentIds()
339 if ( error == osl::FileBase::E_None ) in compareContentIds()
665 …if ( osl::FileBase::getFileURLFromSystemPath( SystemPath,aNormalizedPath ) != osl::FileBase::E_Non… in getFileURLFromSystemPath()
[all …]
H A Dfilinpstr.cxx52 osl::FileBase::RC err = m_aFile.open( nFlags ); in XInputStream_impl()
53 if( err != osl::FileBase::E_None ) in XInputStream_impl()
157 != osl::FileBase::E_None) in readBytes()
213 osl::FileBase::RC err = m_aFile.close(); in closeInput()
214 if( err != osl::FileBase::E_None ) in closeInput()
230 if( osl::FileBase::E_None != m_aFile.setPos( Pos_Absolut, sal_uInt64( location ) ) ) in seek()
242 if( osl::FileBase::E_None != m_aFile.getPos( uPos ) ) in getPosition()
254 if ( m_aFile.getSize(uEndPos) != osl::FileBase::E_None ) in getLength()
/aoo41x/main/sal/workben/
H A Dtestfile.cxx135 FileBase::RC rc; in Initialize()
285 FileBase::RC rc; in Shutdown()
457 FileBase::RC rc; in DirectoryOpenAndCloseTest()
640 if ( rc==FileBase::E_None && rc1==FileBase::E_None ) in DirectoryCreateAndRemoveTest()
670 FileBase::RC rc; in FileOpenAndCloseTest()
734 FileBase::RC rc; in FileCreateAndRemoveTest()
800 FileBase::RC rc; in FileWriteAndReadTest()
893 FileBase::RC rc; in FileCopyAndMoveTest()
1068 FileBase::RC rc; in FileSizeTest()
1157 FileBase::RC rc; in FilePointerTest()
[all …]
/aoo41x/main/unotools/source/ucbhelper/
H A Dtempfile.cxx100 osl::FileBase::RC nError = aDirectory.open(); in ensuredir()
149 ::osl::FileBase::getFileURLFromSystemPath( in ConstructTempDir_Impl()
177 if (rc == ::osl::FileBase::E_None) in ConstructTempDir_Impl()
215 if ( err == FileBase::E_None ) in CreateTempName_Impl()
222 else if ( err != FileBase::E_EXIST ) in CreateTempName_Impl()
240 if ( err == FileBase::E_None ) in CreateTempName_Impl()
246 else if ( err != FileBase::E_EXIST ) in CreateTempName_Impl()
285 if ( err == FileBase::E_None ) in lcl_createName()
290 else if ( err != FileBase::E_EXIST ) in lcl_createName()
305 if ( err == FileBase::E_None ) in lcl_createName()
[all …]
H A Dlocalfilehelper.cxx55 if ( FileBase::getFileURLFromSystemPath( rName, aRet ) == FileBase::E_None ) in ConvertSystemPathToURL()
82 if( FileBase::getSystemPathFromFileURL( rName, aRet ) == FileBase::E_None ) in ConvertURLToSystemPath()
108 if ( FileBase::getFileURLFromSystemPath( rName, aRet ) == FileBase::E_None ) in ConvertPhysicalNameToURL()
136 if ( FileBase::getSystemPathFromFileURL( rName, aRet ) == FileBase::E_None ) in ConvertURLToPhysicalName()
/aoo41x/main/tools/source/fsys/
H A Dtempfile.cxx59 FileBase::getFileURLFromSystemPath( aTmp, aRet ); in GetSystemTempDir_Impl()
126 if ( err == FileBase::E_None ) in CreateTempName_Impl()
133 else if ( err != FileBase::E_EXIST ) in CreateTempName_Impl()
144 if ( err == FileBase::E_None ) in CreateTempName_Impl()
150 else if ( err != FileBase::E_EXIST ) in CreateTempName_Impl()
209 if ( err == FileBase::E_None ) in TempFile()
214 else if ( err != FileBase::E_EXIST ) in TempFile()
222 if ( err == FileBase::E_None ) in TempFile()
228 else if ( err != FileBase::E_EXIST ) in TempFile()
271 FileBase::RC err= Directory::create( aName ); in SetTempNameBaseDirectory()
[all …]
/aoo41x/main/desktop/source/app/
H A Duserinstall.cxx175 FileBase::RC err; in copy_recursive()
185 if (err == osl::FileBase::E_EXIST) in copy_recursive()
186 err = osl::FileBase::E_None; in copy_recursive()
188 FileBase::RC next = err; in copy_recursive()
189 if (err == osl::FileBase::E_None) in copy_recursive()
211 if ( err != osl::FileBase::E_None ) in copy_recursive()
213 if( next != FileBase::E_NOENT ) in copy_recursive()
214 err = FileBase::E_INVAL; in copy_recursive()
243 if ((rc != FileBase::E_None) && (rc != FileBase::E_EXIST)) return UserInstall::E_Creation; in create_user_install()
251 if ((rc != FileBase::E_None) && (rc != FileBase::E_EXIST)) in create_user_install()
[all …]
/aoo41x/main/sal/qa/osl/module/
H A Dosl_Module.cxx72 osl::FileBase::getAbsoluteFileURL( dirPath, libPath, dllPath ); in getDllURL()
99 ::osl::FileBase::RC nError; in createTestDirectory()
104 …eTestDirectory Function: creation: ", ( ::osl::FileBase::E_None == nError ) || ( nError == ::osl:: in createTestDirectory()
112 ::osl::FileBase::RC nError; in deleteTestDirectory()
123 …leteTestDirectory function: remove ", ( ::osl::FileBase::E_None == nError ) || ( nError == ::osl:: in deleteTestDirectory()
131 ::osl::FileBase::getSystemPathFromFileURL( str, aUStr ); in ifFileExist()
136 ::osl::FileBase::RC nError = strFile.open( OpenFlag_Read ); in ifFileExist()
150 ::osl::FileBase::RC nError; in deleteTestFile()
156 …eleteTestFile Function: set writtenable ", ( ::osl::FileBase::E_None == nError ) || ( ::osl::FileB… in deleteTestFile()
159 …In deleteTestFile Function: remove ", ( ::osl::FileBase::E_None == nError ) || ( nError == ::osl:: in deleteTestFile()
[all …]
/aoo41x/main/soltools/testSHL/util/
H A Dtlog.cxx41 ::osl::FileBase::RC tLog::open( sal_Bool append ) { in open()
44 ::osl::FileBase::RC ret; in open()
50 if( m_logfile->open( OpenFlag_Write ) == ::osl::FileBase::E_NOENT ) { in open()
58 return ( ::osl::FileBase::E_INVAL ); in open()
62 ::osl::FileBase::RC tLog::close() { in close()
66 return ( ::osl::FileBase::E_INVAL ); in close()
70 ::osl::FileBase::RC tLog::writeRes( ::rtl::TestResult& oRes, sal_Bool v, sal_Bool xml ) { in writeRes()
71 ::osl::FileBase::RC ret; in writeRes()
83 ::osl::FileBase::RC tLog::write( const sal_Char* buf, sal_Bool v ) { in write()
87 return ( ::osl::FileBase::E_NOENT ); in write()
/aoo41x/main/comphelper/source/streaming/
H A Doslfile2streamwrap.cxx70 FileBase::RC eError = m_pFile->read((void*)aData.getArray(), nBytesToRead, nRead); in readBytes()
71 if (eError != FileBase::E_None) in readBytes()
112 FileBase::RC eError = m_pFile->setPos(osl_Pos_Absolut, nNewPos); in skipBytes()
113 if (eError != FileBase::E_None) in skipBytes()
132 FileBase::RC eError = m_pFile->getPos(nPos); in available()
133 if (eError != FileBase::E_None) in available()
138 if (eError != FileBase::E_None) in available()
143 if (eError != FileBase::E_None) in available()
148 if (eError != FileBase::E_None) in available()
173 FileBase::RC eError = rFile.write(aData.getConstArray(),aData.getLength(), nWritten); in writeBytes()
[all …]
/aoo41x/main/xmlhelp/source/cxxhelp/provider/
H A Dinputstream.cxx40 m_bIsOpen = ( osl::FileBase::E_None == m_aFile.open( OpenFlag_Read ) ); in XInputStream_impl()
159 osl::FileBase::RC err = m_aFile.close(); in closeInput()
160 if( err != osl::FileBase::E_None ) in closeInput()
176 if( osl::FileBase::E_None != m_aFile.setPos( Pos_Absolut, sal_uInt64( location ) ) ) in seek()
188 if( osl::FileBase::E_None != m_aFile.getPos( uPos ) ) in getPosition()
199 osl::FileBase::RC err; in getLength()
203 if( err != osl::FileBase::E_None ) in getLength()
207 if( err != osl::FileBase::E_None ) in getLength()
211 if( err != osl::FileBase::E_None ) in getLength()
215 if( err != osl::FileBase::E_None ) in getLength()
/aoo41x/main/sal/osl/unx/
H A Dfile_url.cxx689 FileBase::RC rc; in osl_getAbsoluteFileURL()
694 if(FileBase::E_None != rc) in osl_getAbsoluteFileURL()
702 if (FileBase::E_None != rc) in osl_getAbsoluteFileURL()
712 rc = (FileBase::RC) osl_getAbsoluteFileURL_impl_(unresolved_path, resolved_path); in osl_getAbsoluteFileURL()
714 if (FileBase::E_None == rc) in osl_getAbsoluteFileURL()
717 OSL_ASSERT(FileBase::E_None == rc); in osl_getAbsoluteFileURL()
761 FileBase::getSystemPathFromFileURL(cwd_url, cwd); in find_in_CWD()
787 FileBase::RC rc; in osl_searchFileURL()
791 rc = FileBase::getSystemPathFromFileURL(rtl::OUString(ustrFilePath), file_path); in osl_searchFileURL()
792 if ((FileBase::E_None != rc) && (FileBase::E_INVAL == rc)) in osl_searchFileURL()
[all …]
/aoo41x/main/idlc/source/
H A Didlccompile.cxx76 if (FileBase::getSystemPathFromFileURL(uFileName, uSysFileName) in convertToAbsoluteSystemPath()
77 != FileBase::E_None) in convertToAbsoluteSystemPath()
88 if (FileBase::getFileURLFromSystemPath(uFileName, uTmp) in convertToAbsoluteSystemPath()
89 != FileBase::E_None) in convertToAbsoluteSystemPath()
93 if (FileBase::getAbsoluteFileURL(uWorkingDir, uTmp, uUrlFileName) in convertToAbsoluteSystemPath()
94 != FileBase::E_None) in convertToAbsoluteSystemPath()
98 if (FileBase::getSystemPathFromFileURL(uUrlFileName, uSysFileName) in convertToAbsoluteSystemPath()
99 != FileBase::E_None) in convertToAbsoluteSystemPath()
115 if (FileBase::getFileURLFromSystemPath(uFileName, uUrlFileName) in convertToFileUrl()
116 != FileBase::E_None) in convertToFileUrl()
/aoo41x/main/desktop/source/migration/services/
H A Doo3extensionmigration.cxx123 ::osl::FileBase::RC OO3ExtensionMigration::checkAndCreateDirectory( INetURLObject& rDirURL ) in checkAndCreateDirectory()
126 if ( aResult == ::osl::FileBase::E_NOENT ) in checkAndCreateDirectory()
143 osl::FileBase::RC nRetCode = aScanRootDir.open(); in scanUserExtensions()
150 if (( aItem.getFileStatus(fs) == osl::FileBase::E_None ) && in scanUserExtensions()
163 bool bFileStatus = aExtDirItem.getFileStatus(fs) == osl::FileBase::E_None; in scanUserExtensions()
185 if (aDir.open() == osl::FileBase::E_None) in scanExtensionFolder()
191 while ((aDir.getNextItem(item) == osl::FileBase::E_None ) && in scanExtensionFolder()
194 if (item.getFileStatus(fs) == osl::FileBase::E_None) in scanExtensionFolder()
448 if ( aDir.open() == ::osl::FileBase::E_None ) in getContent()
453 while ( aDir.getNextItem( aItem ) == ::osl::FileBase::E_None ) in getContent()
[all …]
H A Dbasicmigration.cxx103 if ( aDir.open() == ::osl::FileBase::E_None ) in getFiles()
108 while ( aDir.getNextItem( aItem ) == ::osl::FileBase::E_None ) in getFiles()
111 if ( aItem.getFileStatus( aFileStatus ) == ::osl::FileBase::E_None ) in getFiles()
135 ::osl::FileBase::RC BasicMigration::checkAndCreateDirectory( INetURLObject& rDirURL ) in checkAndCreateDirectory()
137 …::osl::FileBase::RC aResult = ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DECODE_… in checkAndCreateDirectory()
138 if ( aResult == ::osl::FileBase::E_NOENT ) in checkAndCreateDirectory()
169 ::osl::FileBase::RC aResult = ::osl::File::copy( *aI, sTargetName ); in copyFiles()
170 if ( aResult != ::osl::FileBase::E_None ) in copyFiles()
/aoo41x/main/shell/source/win32/
H A DSysShExec.cxx193 osl::FileBase::RC rc = osl::FileBase::getFileURLFromSystemPath(path_or_uri, url); in is_system_path()
194 return (rc == osl::FileBase::E_None); in is_system_path()
227 osl::FileBase::RC rc = osl::FileBase::getFileURLFromSystemPath(file_name, file_url); in is_existing_file()
229 if (osl::FileBase::E_None == rc) in is_existing_file()
233 exist = (osl::FileBase::E_None == rc); in is_existing_file()
313 …if (::osl::FileBase::E_None == ::osl::FileBase::getSystemPathFromFileURL(preprocessed_command, aSy… in execute()
/aoo41x/main/sal/osl/os2/
H A Dfile_url.cxx1471 FileBase::RC rc; in osl_getAbsoluteFileURL()
1476 if(FileBase::E_None != rc) in osl_getAbsoluteFileURL()
1484 if (FileBase::E_None != rc) in osl_getAbsoluteFileURL()
1494 rc = (FileBase::RC) osl_getAbsoluteFileURL_impl_(unresolved_path, resolved_path); in osl_getAbsoluteFileURL()
1496 if (FileBase::E_None == rc) in osl_getAbsoluteFileURL()
1499 OSL_ASSERT(FileBase::E_None == rc); in osl_getAbsoluteFileURL()
1544 FileBase::getSystemPathFromFileURL(cwd_url, cwd); in find_in_CWD()
1570 FileBase::RC rc; in osl_searchFileURL()
1574 rc = FileBase::getSystemPathFromFileURL(rtl::OUString(ustrFilePath), file_path); in osl_searchFileURL()
1575 if ((FileBase::E_None != rc) && (FileBase::E_INVAL == rc)) in osl_searchFileURL()
[all …]
/aoo41x/main/sal/qa/rtl/logfile/
H A Drtl_logfile.cxx88 ::osl::FileBase::RC nError1; in t_fileExist()
91 if ( ( ::osl::FileBase::E_NOENT != nError1 ) && ( ::osl::FileBase::E_ACCES != nError1 ) ) in t_fileExist()
146 ::osl::FileBase::RC nError1; in logfile_001()
151 ( ::osl::FileBase::E_NOENT != nError1 ) && in logfile_001()
152 ( ::osl::FileBase::E_ACCES != nError1 ) ); in logfile_001()
236 ::osl::FileBase::RC nError1; in ~GlobalObject()

Completed in 173 milliseconds

12345678