Home
last modified time | relevance | path

Searched refs:aFile (Results 1 – 25 of 263) sorted by relevance

1234567891011

/trunk/main/svtools/source/dialogs/
H A Dfiledlg2.cxx315 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 …]
/trunk/main/store/workben/
H A Dt_store.cxx232 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 …]
/trunk/main/xml2cmp/source/xcd/
H A Dcr_metho.cxx61 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 Dcr_html.cxx51 : 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()
/trunk/main/l10ntools/source/filter/utils/
H A DFileHelper.java357 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 …]
/trunk/main/soltools/giparser/
H A Dgi_parse.cxx83 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 …]
/trunk/main/sd/source/ui/dlg/
H A Dtpaction.cxx445 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 …]
/trunk/main/l10ntools/source/help/
H A DHelpIndexerTool.java340 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 DHelpFileDocument.java41 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()
/trunk/main/extensions/source/update/check/
H A Ddownload.cxx370 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 …]
/trunk/main/odk/examples/java/EmbedDocument/Container1/
H A DEmbedContApp.java297 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 …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/graphical/
H A DMSOfficePostscriptCreator.java101 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 DIniFile.java77 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()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/
H A DIniFile.java57 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 DMSOfficePrint.java305 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 DFileHelper.java61 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()
/trunk/main/vcl/unx/generic/fontmanager/
H A Dfontcache.cxx322 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 …]
/trunk/main/filter/source/xsltdialog/
H A Dxmlfiltertabdialog.cxx229 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()
/trunk/main/toolkit/source/layout/core/
H A Dtranslate.cxx71 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()
/trunk/main/testgraphical/ui/java/ConvwatchGUIProject/src/
H A DIniFile.java99 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()
/trunk/main/autodoc/source/display/toolkit/
H A Dhtmlfile.cxx99 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()
/trunk/main/scripting/examples/java/Newsgroup/
H A DSubscribedNewsgroups.java364 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()
/trunk/main/tools/source/generic/
H A Dconfig.cxx124 ::osl::File aFile( rFileName ); in ImplSysReadConfig()
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()
132 aFile.close(); in ImplSysReadConfig()
136 if( aFile.read( pBuf, nPos, nRead ) == ::osl::FileBase::E_None && nRead == nPos ) in ImplSysReadConfig()
157 aFile.close(); in ImplSysReadConfig()
171 ::osl::File aFile( rFileName ); in ImplSysWriteConfig()
172 ::osl::FileBase::RC eError = aFile.open( osl_File_OpenFlag_Write | osl_File_OpenFlag_Create ); in ImplSysWriteConfig()
174 eError = aFile.open( osl_File_OpenFlag_Write ); in ImplSysWriteConfig()
178 aFile.setSize( 0 ); in ImplSysWriteConfig()
[all …]
/trunk/main/sfx2/inc/
H A Dmsgnodei.hxx33 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()
/trunk/main/desktop/source/app/
H A Dlockfile.cxx103 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()

Completed in 137 milliseconds

1234567891011