/trunk/main/sal/qa/osl/file/ |
H A D | osl_File.cxx | 63 case ::osl::FileBase::E_None: in errorToString() 532 if ( ::osl::FileBase::E_None == nError1 ) in checkFile() 537 if ( ::osl::FileBase::E_None == nError1 ) in checkFile() 547 if ( ::osl::FileBase::E_None == nError2 ) in checkFile() 628 if ( rc == ::osl::FileBase::E_None ) in checkDirectory() 632 if ( rc == ::osl::FileBase::E_None ) in checkDirectory() 662 EXPECT_TRUE( rc == FileBase::E_None ); in checkDirectory() 933 if ( nError == ::osl::FileBase::E_None ) in check_getAbsoluteFileURL() 2962 ASSERT_TRUE( nError == FileBase::E_None ); in SetUp() 2968 ASSERT_TRUE( nError == FileBase::E_None ); in SetUp() [all …]
|
/trunk/main/sal/workben/ |
H A D | testfile.cxx | 181 if ( rc!=FileBase::E_None ) in Initialize() 185 if ( rc!=FileBase::E_None ) in Initialize() 196 if ( rc!=FileBase::E_None ) in Initialize() 243 if ( rc!=FileBase::E_None ) in Initialize() 247 if ( rc!=FileBase::E_None ) in Initialize() 251 if ( rc!=FileBase::E_None ) in Initialize() 256 if ( rc!=FileBase::E_None ) in Initialize() 263 if ( rc!=FileBase::E_None ) in Initialize() 270 if ( rc!=FileBase::E_None ) in Initialize() 640 if ( rc==FileBase::E_None && rc1==FileBase::E_None ) in DirectoryCreateAndRemoveTest() [all …]
|
/trunk/main/ucb/source/ucp/file/ |
H A D | shell.cxx | 594 if( err != osl::FileBase::E_None ) in page() 1072 if( nError1 != osl::FileBase::E_None ) in getv() 1079 nError2 != osl::FileBase::E_None ) in getv() 1270 if( nError != osl::FileBase::E_None ) in move() 1324 if (err != osl::FileBase::E_None) { in getType() 1330 if (err != osl::FileBase::E_None) { in getType() 1715 case osl::FileBase::E_None: in mkdir() 1915 if( err != osl::FileBase::E_None ) in write() 2106 if( nError == osl::File::E_None ) in ensuredir() 2111 if( nError == osl::File::E_None ) in ensuredir() [all …]
|
H A D | filstr.cxx | 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() 281 if(osl::FileBase::E_None != m_aFile.write(((void*)(p)),sal_uInt64(length),nWrittenBytes) || in writeBytes() 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() 393 if (m_nIsOpen && m_aFile.sync() != osl::FileBase::E_None) { in waitForCompletion()
|
H A D | prov.cxx | 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() 336 if ( error == osl::FileBase::E_None ) in compareContentIds() 339 if ( error == osl::FileBase::E_None ) in compareContentIds() 665 … ( osl::FileBase::getFileURLFromSystemPath( SystemPath,aNormalizedPath ) != osl::FileBase::E_None ) in getFileURLFromSystemPath() 675 if (osl::FileBase::getSystemPathFromFileURL( URL,aSystemPath ) != osl::FileBase::E_None ) in getSystemPathFromFileURL()
|
H A D | filinpstr.cxx | 53 if( err != osl::FileBase::E_None ) in XInputStream_impl() 157 != osl::FileBase::E_None) in readBytes() 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()
|
/trunk/main/unotools/source/ucbhelper/ |
H A D | tempfile.cxx | 105 if( nError == osl::File::E_None ) in ensuredir() 177 if (rc == ::osl::FileBase::E_None) in ConstructTempDir_Impl() 215 if ( err == FileBase::E_None ) in CreateTempName_Impl() 218 if ( bKeep || Directory::remove( aTmp ) == FileBase::E_None ) in CreateTempName_Impl() 240 if ( err == FileBase::E_None ) in CreateTempName_Impl() 253 if ( DirectoryItem::get( aTmp, aTmpItem ) != FileBase::E_None in CreateTempName_Impl() 285 if ( err == FileBase::E_None ) in lcl_createName() 305 if ( err == FileBase::E_None ) 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() [all …]
|
H A D | localfilehelper.cxx | 55 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()
|
/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/ |
H A D | util.cxx | 808 OUSTR("file:///"), path, sResolved) != File::E_None) in resolveDirPath() 813 if (DirectoryItem::get(sResolved, item) == File::E_None) in resolveDirPath() 819 if (item.getFileStatus(status) == File::E_None in resolveDirPath() 843 if (DirectoryItem::get(sResolved, item) == File::E_None) in resolveFilePath() 848 if (item.getFileStatus(status) == File::E_None in resolveFilePath() 1144 if (DirectoryItem::get(*fileURL, item) == File::E_None) in makeDriveLetterSame() 1147 if (item.getFileStatus(status) == File::E_None) in makeDriveLetterSame() 1198 if(DirectoryItem::get(usDir1, item) == File::E_None) in createJavaInfoDirScan() 1213 case File::E_None: in createJavaInfoDirScan() 1232 File::RC errNext = File::E_None; in createJavaInfoDirScan() [all …]
|
H A D | gnujre.cxx | 174 if(DirectoryItem::get(usRt, item) == File::E_None) in initialize() 191 if(DirectoryItem::get(usRt, item) == File::E_None) in initialize() 210 if(DirectoryItem::get(usRt, item) == File::E_None) in initialize() 230 if(DirectoryItem::get(usRt, item) == File::E_None) in initialize() 259 if(File::getSystemPathFromFileURL(usAbsUrl, usSysPath) == File::E_None) in initialize()
|
/trunk/main/desktop/source/app/ |
H A D | userinstall.cxx | 160 return E_None; in finalize() 186 err = osl::FileBase::E_None; in copy_recursive() 189 if (err == osl::FileBase::E_None) in copy_recursive() 194 while (err == osl::FileBase::E_None && in copy_recursive() 195 (next = aDir.getNextItem( aDirItem )) == osl::FileBase::E_None) in copy_recursive() 211 if ( err != osl::FileBase::E_None ) 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() 292 return UserInstall::E_None; in create_user_install()
|
H A D | app.cxx | 224 if (aFile.close() != ::osl::File::E_None) in writeLastModified() 543 else if (err1 != ::osl::File::E_None) in needsSynchronization() 557 else if (err2 != ::osl::File::E_None) in needsSynchronization() 691 if ( err != osl::FileBase::E_None ) in copy_prereg_bundled_recursive() 696 if( err == osl::FileBase::E_None || in copy_prereg_bundled_recursive() 699 err = osl::FileBase::E_None; in copy_prereg_bundled_recursive() 705 …while( err == osl::FileBase::E_None && ( next = aDir.getNextItem( aDirItem ) ) == osl::FileBase::E… in copy_prereg_bundled_recursive() 865 if (aDirectory.open() != osl::File::E_None) in needsInstallBundledExtensionBlobs() 898 if (eResult == ::osl::File::E_None) in needsInstallBundledExtensionBlobs() 938 while( rc == osl::File::E_None) in installBundledExtensionBlobs() [all …]
|
/trunk/main/desktop/source/migration/services/ |
H A D | oo3extensionmigration.cxx | 144 if ( nRetCode == osl::Directory::E_None ) in scanUserExtensions() 148 while ( aScanRootDir.getNextItem( aItem, nHint ) == osl::Directory::E_None ) in scanUserExtensions() 150 if (( aItem.getFileStatus(fs) == osl::FileBase::E_None ) && in scanUserExtensions() 160 if (( nRetCode == osl::Directory::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 D | basicmigration.cxx | 103 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() 170 if ( aResult != ::osl::FileBase::E_None ) in copyFiles()
|
/trunk/main/xmlhelp/source/cxxhelp/provider/ |
H A D | inputstream.cxx | 40 m_bIsOpen = ( osl::FileBase::E_None == m_aFile.open( OpenFlag_Read ) ); in XInputStream_impl() 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() 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()
|
/trunk/main/desktop/source/pkgchk/unopkg/ |
H A D | unopkg_misc.cxx | 457 if (::osl::File::E_None == ::osl::File::getAbsoluteFileURL( in getLockFilePath() 460 if (::osl::File::E_None == in getLockFilePath() 538 if (rc == osl::File::E_None) in hasNoFolder() 542 osl::File::RC rcNext = osl::File::E_None; in hasNoFolder() 543 while ( (rcNext = dir.getNextItem(i)) == osl::File::E_None) in hasNoFolder() 546 if (i.getFileStatus(stat) == osl::File::E_None) in hasNoFolder() 564 rcNext == osl::File::E_None) in hasNoFolder() 591 if (rc == osl::File::E_None) in removeFolder() 594 ::osl::File::RC rcNext = ::osl::File::E_None; in removeFolder() 595 while ( (rcNext = dir.getNextItem(i)) == ::osl::File::E_None) in removeFolder() [all …]
|
/trunk/main/filter/source/placeware/ |
H A D | exporter.cxx | 125 if( osl::File::E_None == nRC ) in encodeFile() 128 if( osl::File::E_None == nRC ) in encodeFile() 136 if( osl::File::E_None != nRC ) in encodeFile() 149 if( (nRC != osl::File::E_None) || (0 == nTemp) ) in encodeFile() 277 if( osl::File::E_None == nRC ) in createSlideFile() 280 if( osl::File::E_None == nRC ) in createSlideFile() 283 if( osl::File::E_None == nRC ) in createSlideFile() 290 …if( (osl::File::E_None != nRC) || !rZipFile.addFile( aInfoFile, OString( RTL_CONSTASCII_STRINGPARA… in createSlideFile() 330 if( osl::File::E_None != nRC ) in doExport() 380 …if( (osl::File::E_None != nRC) || !aZipFile.addFile( aFile, OString( aTemp.getStr(), aTemp.getLeng… in doExport()
|
/trunk/main/comphelper/source/streaming/ |
H A D | oslfile2streamwrap.cxx | 71 if (eError != FileBase::E_None) in readBytes() 113 if (eError != FileBase::E_None) in skipBytes() 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() 174 if (eError != FileBase::E_None in writeBytes()
|
/trunk/main/tools/source/fsys/ |
H A D | tempfile.cxx | 83 … if ( DirectoryItem::get( ::rtl::OUString( aRet.getStr(), i ), aItem ) == FileBase::E_None ) in ConstructTempDir_Impl() 126 if ( err == FileBase::E_None ) in CreateTempName_Impl() 129 if ( bKeep || Directory::remove( aTmp ) == FileBase::E_None ) in CreateTempName_Impl() 144 if ( err == FileBase::E_None ) in CreateTempName_Impl() 209 if ( err == FileBase::E_None ) in TempFile() 222 if ( err == FileBase::E_None ) in TempFile() 272 if ( err == FileBase::E_None || err == FileBase::E_EXIST ) in SetTempNameBaseDirectory()
|
/trunk/main/desktop/source/deployment/ |
H A D | dp_persmap.cxx | 161 m_bIsOpen = (rcOpen == osl::File::E_None); in open() 199 if( m_MapFile.readLine( aKeyLine) != osl::File::E_None) in readAll() 203 if( m_MapFile.readLine( aValLine) != osl::File::E_None) in readAll() 212 if( m_MapFile.isEndOfFile( &bIsEOF) != osl::File::E_None) in readAll() 232 m_bIsOpen = (rcOpen == osl::File::E_None); in flush() 264 if( m_MapFile.getPos( nNewFileSize) == osl::File::E_None) in flush()
|
/trunk/main/tools/source/generic/ |
H A D | config.cxx | 96 else if( ::osl::FileBase::getFileURLFromSystemPath( rPath, aFileURL ) != ::osl::FileBase::E_None ) in toUncPath() 109 if( ( nError = ::osl::DirectoryItem::get( rFileName, aItem ) ) == ::osl::FileBase::E_None && in ImplSysGetConfigTimeStamp() 110 aItem.getFileStatus( aStatus ) == ::osl::FileBase::E_None ) in ImplSysGetConfigTimeStamp() 126 if( aFile.open( osl_File_OpenFlag_Read ) == ::osl::FileBase::E_None ) in ImplSysReadConfig() 129 if( aFile.getSize( nPos ) == ::osl::FileBase::E_None ) in ImplSysReadConfig() 136 if( aFile.read( pBuf, nPos, nRead ) == ::osl::FileBase::E_None && nRead == nPos ) in ImplSysReadConfig() 173 if( eError != ::osl::FileBase::E_None ) in ImplSysWriteConfig() 175 if( eError == ::osl::FileBase::E_None ) in ImplSysWriteConfig() 186 if( aFile.write( BOM, 3, nUTF8BOMWritten ) == ::osl::FileBase::E_None && 3 == nUTF8BOMWritten ) in ImplSysWriteConfig() 192 if( aFile.write( pBuf, nBufLen, nWritten ) == ::osl::FileBase::E_None && nWritten == nBufLen ) in ImplSysWriteConfig()
|
/trunk/main/sal/qa/osl/module/ |
H A D | osl_Module.cxx | 113 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( nError == ::osl::FileBase::E_EXIST )) << "I… in createTestDirectory() 132 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( nError == ::osl::FileBase::E_NOENT )) << "I… in deleteTestDirectory() 165 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( ::osl::FileBase::E_NOENT == nError )) << "I… in deleteTestFile() 168 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( nError == ::osl::FileBase::E_NOENT )) << "I… in deleteTestFile() 297 …ASSERT_TRUE(nError == ::osl::FileBase::E_None) << "#copy failed. please manually clean-up director… in TEST_F() 306 …ASSERT_TRUE(nError == ::osl::FileBase::E_None) << "#create failed. please manually clean-up direct… in TEST_F()
|
/trunk/main/sal/rtl/source/ |
H A D | bootstrap.cxx | 78 osl::FileBase::E_None)) in resolvePathnameUrl() 291 return (DirectoryItem::E_None == DirectoryItem::get( path, dirItem )); in path_exists() 352 if (DirectoryItem::E_None == DirectoryItem::get( base_ini, dirItem ) && in Bootstrap_Impl() 353 DirectoryItem::E_None == dirItem.getFileStatus( status )) in Bootstrap_Impl() 644 if (DirectoryItem::E_None != DirectoryItem::get( iniName, dirItem ) || in rtl_bootstrap_args_open() 645 DirectoryItem::E_None != dirItem.getFileStatus( status )) in rtl_bootstrap_args_open() 974 if (f.open(OpenFlag_Read) == osl::FileBase::E_None && in expandMacros() 975 f.readLine(seq) == osl::FileBase::E_None && in expandMacros() 985 osl::FileBase::E_None)) in expandMacros()
|
/trunk/main/idlc/source/ |
H A D | idlccompile.cxx | 77 != FileBase::E_None) in convertToAbsoluteSystemPath() 89 != FileBase::E_None) in convertToAbsoluteSystemPath() 94 != FileBase::E_None) in convertToAbsoluteSystemPath() 99 != FileBase::E_None) in convertToAbsoluteSystemPath() 116 != FileBase::E_None) in convertToFileUrl()
|
/trunk/main/sal/osl/unx/ |
H A D | file_url.cxx | 693 if(FileBase::E_None != rc) in osl_getAbsoluteFileURL() 701 if (FileBase::E_None != rc) in osl_getAbsoluteFileURL() 713 if (FileBase::E_None == rc) in osl_getAbsoluteFileURL() 716 OSL_ASSERT(FileBase::E_None == rc); in osl_getAbsoluteFileURL() 791 if ((FileBase::E_None != rc) && (FileBase::E_INVAL == rc)) in osl_searchFileURL() 793 else if (FileBase::E_None != rc) in osl_searchFileURL()
|