/aoo41x/main/store/workben/ |
H A D | t_store.cxx | 232 store::OStoreFile aFile; in main() local 333 if (!aFile.isValid()) in main() 335 eErrCode = aFile.createInMemory(); in main() 455 eErrCode = aFile.symlink ( in main() 466 eErrCode = aFile.symlink ( in main() 478 eErrCode = aFile.rename ( in main() 500 eErrCode = aFile.rename ( in main() 508 eErrCode = aFile.rename ( in main() 553 aFile, aEmpty, aEmpty, nOptions, 0); in main() 582 aFile.getSize (nSize); in main() [all …]
|
/aoo41x/main/svtools/source/dialogs/ |
H A D | filedlg2.cxx | 315 if( IsFileOk( aFile ) ) in IMPL_LINK() 318 aPath = aFile; in IMPL_LINK() 325 aCheck += aFile; in IMPL_LINK() 349 aFile.ToAbs(); in IMPL_LINK() 358 if( ! aFile.Exists() && ! FileStat( aFile ).IsKind( FSYS_KIND_WILD ) ) in IMPL_LINK() 359 aFile.MakeDir(); in IMPL_LINK() 363 aFile.ToAbs(); in IMPL_LINK() 669 aFile.CutName(); in SetPath() 690 aFile.ToAbs(); in GetPath() 872 if( !FileStat(aFile).IsKind(FSYS_KIND_DIR) && IsFileOk( aFile ) ) in IMPL_LINK() [all …]
|
/aoo41x/main/xml2cmp/source/xcd/ |
H A D | cr_metho.cxx | 61 std::ofstream aFile(i_pOutputFileName, std::ios::out in Create_AccessMethod() local 68 if ( !aFile ) in Create_AccessMethod() 74 aFile.write( C_sFileHeader1, (int) strlen(C_sFileHeader1) ); in Create_AccessMethod() 77 aFile.write( C_sFuncBegin, (int) strlen(C_sFuncBegin) ); in Create_AccessMethod() 83 case '"': aFile.write( "\\\"", 2); in Create_AccessMethod() 85 case '\n': aFile.write( "\\n", 2); in Create_AccessMethod() 86 aFile.write( sDescrLineChange, sDescrLen); in Create_AccessMethod() 88 case '\r': aFile.write( "\\r", 2); in Create_AccessMethod() 92 default: aFile.write( pTrans, 1); in Create_AccessMethod() 96 aFile.write( C_sFuncEnd, (int) strlen(C_sFuncEnd) ); in Create_AccessMethod() [all …]
|
H A D | cr_html.cxx | 51 : aFile(i_pOutputFileName, std::ios::out in HtmlCreator() 59 if ( !aFile ) in HtmlCreator() 68 aFile.close(); in ~HtmlCreator() 134 aFile.write( i_rElement.Data(), (int) nLen ); in Write_SglTextElement() 138 WriteName( aFile, sIdl_BaseDirectory, i_rElement.Data(), in Write_SglTextElement() 161 WriteName( aFile, sIdl_BaseDirectory, i_rElement.Data(i), i_rElement.LinkType() ); in Write_MultiTextElement()
|
/aoo41x/main/l10ntools/source/filter/utils/ |
H A D | FileHelper.java | 357 java.io.File aFile = null; in createUniqueFile() local 359 while (aFile == null && nr < java.lang.Long.MAX_VALUE) in createUniqueFile() 362 aFile = new java.io.File(sFileName); in createUniqueFile() 363 if (aFile.exists()) in createUniqueFile() 364 aFile=null; in createUniqueFile() 367 return aFile; in createUniqueFile() 399 FileHelper.readAndCheckUTF8File(aFile,sBuffer); in readEncodedBufferFromFile() 466 public static void readAndCheckUTF8File(java.io.File aFile , in readAndCheckUTF8File() argument 704 java.io.File aDir = new java.io.File(aFile.getParent()); in readAndCheckUTF8File() 705 java.lang.String sDump = aFile.getName(); in readAndCheckUTF8File() [all …]
|
/aoo41x/main/soltools/giparser/ |
H A D | gi_parse.cxx | 83 ifstream aFile( i_sSourceFileName.str() ); in LoadList() local 84 if ( aFile.fail() ) in LoadList() 90 aFile.seekg(0, ios::end); in LoadList() 91 UINT32 nTextSize = aFile.tellg(); in LoadList() 96 aFile.seekg(0); in LoadList() 97 aFile.read( dpBuffer, nTextSize ); in LoadList() 98 aFile.close(); in LoadList() 150 ofstream aFile( i_rOutputFile.str() ); in SaveList() local 151 if ( aFile.fail() ) in SaveList() 159 WriteList(aFile); in SaveList() [all …]
|
/aoo41x/main/soldep/bootstrp/ |
H A D | minormk.cxx | 67 DirEntry aFile( aPath ); in MinorMk() local 68 aFile += DirEntry( String( sFile, RTL_TEXTENCODING_ASCII_US )); in MinorMk() 69 if ( !aFile.Exists()) { in MinorMk() 71 aFile = aPath; in MinorMk() 72 aFile += DirEntry( String( sFile, RTL_TEXTENCODING_ASCII_US )); in MinorMk() 74 ReadMinorMk( aFile.GetFull()); in MinorMk() 97 DirEntry aFile( aPath ); in MinorMk() local 98 aFile += DirEntry( String( sFile, RTL_TEXTENCODING_ASCII_US )); in MinorMk() 100 ReadMinorMk( aFile.GetFull()); in MinorMk()
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | tpaction.cxx | 445 String aFile( GetEditText() ); in OpenFileDialog() local 451 if( !aFile.Len() ) in OpenFileDialog() 454 aFileDialog.SetPath( aFile ); in OpenFileDialog() 458 aFile = aFileDialog.GetPath(); in OpenFileDialog() 459 SetEditText( aFile ); in OpenFileDialog() 481 if (bDocument && !aFile.Len()) in OpenFileDialog() 498 SetEditText( aFile ); in OpenFileDialog() 704 String aFile( GetEditText() ); in IMPL_LINK() local 706 if( aFile != aLastFile ) in IMPL_LINK() 709 SfxMedium aMedium( aFile, in IMPL_LINK() [all …]
|
/aoo41x/main/l10ntools/source/help/ |
H A D | HelpIndexerTool.java | 340 if( aFile.isDirectory() ) in addToZipRecursively() 342 String aDirName = aFile.getName(); in addToZipRecursively() 346 File[] aChildrenFiles = aFile.listFiles(); in addToZipRecursively() 361 int fileLength = (int) aFile.length(); in addToZipRecursively() 362 FileInputStream fis = new FileInputStream( aFile ); in addToZipRecursively() 367 String aFileName = aFile.getName(); in addToZipRecursively() 373 aZipEntry.setTime( aFile.lastModified() ); in addToZipRecursively() 390 static public boolean deleteRecursively( File aFile ) in deleteRecursively() argument 392 if( aFile.isDirectory() ) in deleteRecursively() 394 File[] aChildrenFiles = aFile.listFiles(); in deleteRecursively() [all …]
|
H A D | HelpFileDocument.java | 41 private static Reader getReaderForFile( File aFile ) in getReaderForFile() argument 44 if( aFile != null ) { in getReaderForFile() 45 FileInputStream fis = new FileInputStream( aFile ); in getReaderForFile() 62 File aFile = aCaptionFile != null ? aCaptionFile : aContentFile; in Document() local 63 if( aFile != null ) in Document() 65 String aPath = "#HLP#" + aModule + "/" + aFile.getName(); in Document()
|
/aoo41x/main/extensions/source/update/check/ |
H A D | download.cxx | 370 rtl::OUString aFile( rFile ); in start() local 374 if ( !aFile.getLength() ) in start() 385 aFile = rDestinationDir + aURL.copy( nIndex ); in start() 396 osl_removeFile( aFile.pData ); in start() 397 aFile = rtl::OUString(); in start() 400 m_aHandler->downloadStarted( aFile, 0 ); in start() 404 osl_removeFile( aFile.pData ); in start() 405 aFile = rtl::OUString(); in start() 409 out.File = aFile; in start() 413 if( aFile.getLength() > 0 ) in start() [all …]
|
/aoo41x/main/odk/examples/java/EmbedDocument/Container1/ |
H A D | EmbedContApp.java | 297 File aFile = new File( aFileName ); in actionPerformed() local 298 if ( aFile != null ) in actionPerformed() 344 File aFile = new File( aFileName ); in actionPerformed() local 345 if ( aFile != null ) in actionPerformed() 348 String aFileURI = aFile.toURI().toASCIIString(); in actionPerformed() 425 File aFile = new File( aFileName ); in actionPerformed() local 426 if ( aFile != null ) in actionPerformed() 531 File aFile = new File( aFileName ); in actionPerformed() local 532 if ( aFile != null ) in actionPerformed() 583 File aFile = new File( aFileName ); in actionPerformed() local [all …]
|
/aoo41x/main/qadevOOo/runner/convwatch/ |
H A D | IniFile.java | 57 File aFile = new File(m_sFilename); in loadLines() local 59 if (! aFile.exists()) in loadLines() 69 aReader = new RandomAccessFile(aFile,"r"); in loadLines() 292 File aFile = new File(m_sFilename); in store() local 293 if (aFile.exists()) in store() 296 aFile.delete(); in store() 297 if (aFile.exists()) in store() 311 RandomAccessFile aWriter = new RandomAccessFile(aFile, "rw"); in store()
|
H A D | MSOfficePrint.java | 305 File aFile = new File(sName); in createWordPrintHelper() local 306 FileWriter out = new FileWriter(aFile.toString()); in createWordPrintHelper() 445 File aFile = new File(sName); in createWordStoreHelper() local 446 FileWriter out = new FileWriter(aFile.toString()); in createWordStoreHelper() 526 File aFile = new File(sName); in createExcelPrintHelper() local 527 FileWriter out = new FileWriter(aFile.toString()); in createExcelPrintHelper() 624 File aFile = new File(sName); in createExcelStoreHelper() local 714 File aFile = new File(sName); in createPowerPointPrintHelper() local 802 File aFile = new File(_sFilename); in getOfficeType() local 803 if (! aFile.exists()) in getOfficeType() [all …]
|
H A D | FileHelper.java | 61 File aFile = new File(_sFile); in exists() 62 if (aFile.exists()) in exists() 90 File aFile = new File(_sDir); in isDir() local 91 if (aFile.exists() && aFile.isDirectory()) in isDir() 324 File aFile = new File(sName); in isDebugEnabled() local 325 if (aFile.exists()) in isDebugEnabled()
|
/aoo41x/main/qadevOOo/runner/graphical/ |
H A D | MSOfficePostscriptCreator.java | 101 File aFile = new File(sDocumentName); in storeAsPostscript() local 102 if (aFile.exists()) in storeAsPostscript() 393 File aFile = new File(sFileName); in createWordPrintHelper() local 394 FileWriter out = new FileWriter(aFile); in createWordPrintHelper() 532 File aFile = new File(sName); in createWordStoreHelper() local 533 FileWriter out = new FileWriter(aFile); in createWordStoreHelper() 612 File aFile = new File(sName); in createExcelPrintHelper() local 715 File aFile = new File(sName); in createExcelStoreHelper() local 804 File aFile = new File(sName); in createPowerPointPrintHelper() local 892 File aFile = new File(_sFilename); in getOfficeType() local [all …]
|
H A D | IniFile.java | 77 File aFile = new File(m_sFilename); in loadLines() local 79 if (!aFile.exists()) in loadLines() 90 aReader = new RandomAccessFile(aFile, "r"); in loadLines() 404 File aFile = new File(m_sFilename); in store() local 405 if (aFile.exists()) in store() 409 aFile.delete(); in store() 410 if (aFile.exists()) in store() 424 RandomAccessFile aWriter = new RandomAccessFile(aFile, "rw"); in store()
|
/aoo41x/main/filter/source/xsltdialog/ |
H A D | xmlfiltertabdialog.cxx | 229 osl::File aFile( mpNewInfo->maDTD ); in onOk() local 230 osl::File::RC aRC = aFile.open( OpenFlag_Read ); in onOk() 245 osl::File aFile( mpNewInfo->maExportXSLT ); in onOk() local 246 osl::File::RC aRC = aFile.open( OpenFlag_Read ); in onOk() 261 osl::File aFile( mpNewInfo->maImportXSLT ); in onOk() local 262 osl::File::RC aRC = aFile.open( OpenFlag_Read ); in onOk() 285 osl::File aFile( mpNewInfo->maImportTemplate ); in onOk() local 286 osl::File::RC aRC = aFile.open( OpenFlag_Read ); in onOk()
|
/aoo41x/main/toolkit/source/layout/core/ |
H A D | translate.cxx | 71 fileExists( String const& aFile ) in fileExists() argument 74 LocalFileHelper::ConvertPhysicalNameToURL( aFile, aUrl ); in fileExists() 87 String aFile = aDir + aSlash + *i + aSlash + aXMLName; in getFirstExisting() local 88 OSL_TRACE( "testing: %s", OUSTRING_CSTR( aFile ) ); in getFirstExisting() 89 if ( fileExists( aFile ) ) in getFirstExisting() 90 return aFile; in getFirstExisting()
|
/aoo41x/main/vcl/unx/generic/fontmanager/ |
H A D | fontcache.cxx | 322 OString aFile( aLine.Copy( 5 ) ); in read() local 460 aFilePath.Append( ByteString(aFile) ); in read() 481 fprintf( stderr, "removing obsolete font %s\n", aFile.getStr() ); in read() 487 FontCacheEntry& rEntry = (*pDir)[aFile].m_aEntry; in read() 683 OString aFile; in updateFontCacheEntry() local 689 aFile = static_cast<const PrintFontManager::TrueTypeFontFile*>(pFont)->m_aFontFile; in updateFontCacheEntry() 693 aFile = static_cast<const PrintFontManager::Type1FontFile*>(pFont)->m_aFontFile; in updateFontCacheEntry() 697 aFile = static_cast<const PrintFontManager::BuiltinFont*>(pFont)->m_aMetricFile; in updateFontCacheEntry() 709 entry = dir->second.m_aEntries.find( aFile ); in updateFontCacheEntry() 738 m_aCache[nDirID].m_aEntries[aFile].m_aEntry.push_back( pCacheFont ); in updateFontCacheEntry() [all …]
|
/aoo41x/main/autodoc/source/display/toolkit/ |
H A D | htmlfile.cxx | 99 csv::File aFile(sFilePath, csv::CFM_CREATE); in CreateFile() local 100 if (NOT aFile.open()) in CreateFile() 106 WriteHeader(aFile); in CreateFile() 107 WriteBody(aFile); in CreateFile() 111 aFile.write( sCompletion ); in CreateFile() 113 aFile.close(); in CreateFile()
|
/aoo41x/main/testgraphical/ui/java/ConvwatchGUIProject/src/ |
H A D | IniFile.java | 99 File aFile = new File(m_sFilename); in loadLines() local 100 if (!aFile.exists()) in loadLines() 111 aReader = new RandomAccessFile(aFile, "r"); in loadLines() 429 File aFile = new File(m_sFilename); in store() local 430 if (aFile.exists()) in store() 434 aFile.delete(); in store() 435 if (aFile.exists()) in store() 449 RandomAccessFile aWriter = new RandomAccessFile(aFile, "rw"); in store()
|
/aoo41x/main/scripting/examples/java/Newsgroup/ |
H A D | SubscribedNewsgroups.java | 364 public boolean accept(File aFile) in accept() argument 366 return aFile.isDirectory(); in accept() 373 public boolean accept(File aFile) in accept() argument 377 if (aFile.getName().compareToIgnoreCase("News") == 0 || in accept() 378 aFile.getName().indexOf(".rc") != -1 ) in accept() 385 if (aFile.getName().compareToIgnoreCase("News") == 0 || in accept() 386 aFile.getName().indexOf("newsrc") != -1 ) in accept()
|
/aoo41x/main/desktop/source/app/ |
H A D | lockfile.cxx | 103 File aFile(m_aLockname); in Lockfile() local 104 if (aFile.open( OpenFlag_Create ) == File::E_EXIST) { in Lockfile() 108 aFile.close( ); in Lockfile() 123 File aFile(m_aLockname); in check() local 124 aFile.open( OpenFlag_Create ); in check() 125 aFile.close( ); in check()
|
/aoo41x/main/sfx2/inc/ |
H A D | msgnodei.hxx | 33 String aFile; member 38 if( aName == rRec.aName && aFile == rRec.aFile ) in operator ==() 44 : aName( rName ), aFile( rFile ) {} in SfxMsgAttachFile() 47 : aName( rRec.aName), aFile( rRec.aFile ) {} in SfxMsgAttachFile()
|