/trunk/main/codemaker/source/codemaker/ |
H A D | global.cxx | 124 OString fileName(nameBuffer); in createFileNameFromType() local 128 fileName = fileName.replace('\\', '/'); in createFileNameFromType() 131 fileName = fileName.replace('/', '\\'); in createFileNameFromType() 169 sal_Bool fileExists(const OString& fileName) in fileExists() argument 171 FILE *f= fopen(fileName.getStr(), "r"); in fileExists() 238 sal_Bool removeTypeFile(const OString& fileName) in removeTypeFile() argument 240 if ( !unlink(fileName.getStr()) ) in removeTypeFile() 248 if (fileName.indexOf("file://") == 0 ) in isFileUrl() 255 if ( isFileUrl(fileName) ) in convertToFileUrl() 261 OUString uFileName(fileName.getStr(), fileName.getLength(), osl_getThreadTextEncoding()); in convertToFileUrl() [all …]
|
/trunk/main/idlc/source/ |
H A D | idlccompile.cxx | 63 sal_Bool isFileUrl(const OString& fileName) in isFileUrl() argument 65 if (fileName.indexOf("file://") == 0 ) in isFileUrl() 73 OUString uFileName(fileName.getStr(), fileName.getLength(), osl_getThreadTextEncoding()); in convertToAbsoluteSystemPath() 74 if ( isFileUrl(fileName) ) in convertToAbsoluteSystemPath() 110 if ( !isFileUrl(fileName) ) in convertToFileUrl() 123 return fileName; in convertToFileUrl() 229 OString fileName; in compileFile() local 231 fileName = "stdin"; in compileFile() 233 fileName = *pathname; in compileFile() 245 idlc()->setFileName(fileName); in compileFile() [all …]
|
/trunk/main/migrationanalysis/src/driver_docs/ |
H A D | DocAnalysisRunMacro.vbs | 311 Sub DAExportFile(fileName, projectFile, app_name) 317 Set myProject = DAgetProject(fileName, projectFile, app_name) 328 myProject.VBComponents(projectFile).Export fileName 342 Sub DAImportFile(fileName, projectFile, app_name) 348 Set myProject = DAgetProject(fileName, projectFile, app_name) 363 If Not daFso.FileExists(fileName) Then 364 DAErrMsg "Missing File " & fileName, CERR_STD_DELAY 370 Call myProject.VBComponents.Import(fileName) 385 Sub DARemoveModule(fileName, projectFile, app_name) 391 Set myProject = DAgetProject(fileName, projectFile, app_name) [all …]
|
/trunk/main/desktop/source/deployment/manager/ |
H A D | dp_activepackages.cxx | 60 ::rtl::OString oldKey(::rtl::OUString const & fileName) { in oldKey() argument 61 return ::rtl::OUStringToOString(fileName, RTL_TEXTENCODING_UTF8); in oldKey() 72 ::rtl::OUString const & fileName, ::rtl::OString const & value) in decodeOldData() argument 78 d.fileName = fileName; in decodeOldData() 93 d.fileName = ::rtl::OUString( in decodeNewData() 131 ::rtl::OUString const & id, ::rtl::OUString const & fileName) const in has() 133 return get(NULL, id, fileName); in has() 146 } else if (m_map.get(&v, oldKey(fileName))) { in get() 148 *data = decodeOldData(fileName, v); in get() 197 ::rtl::OUString const & id, ::rtl::OUString const & fileName) in erase() argument [all …]
|
H A D | dp_extensionmanager.cxx | 307 OUString const & identifier, OUString const & fileName, in getExtensionsWithSameId() argument 376 OUString const & fileName, in getExtensionsWithSameIdentifier() argument 388 identifier, fileName, xCmdEnv); in getExtensionsWithSameIdentifier() 429 OUString const & identifier, OUString const & fileName) in isUserDisabled() argument 481 OUString const & identifier, OUString const & fileName, in activateExtension() argument 554 OUString const & identifier, OUString const & fileName, in backupExtension() argument 563 identifier, fileName, tmpCmdEnv); in backupExtension() 887 OUString const & identifier, OUString const & fileName, in removeExtension() argument 917 identifier, fileName, xPackageManager, xCmdEnv); in removeExtension() 922 identifier, fileName, xCmdEnv); in removeExtension() [all …]
|
/trunk/main/sal/rtl/source/ |
H A D | bootstrap.cxx | 234 OUString fileName; in getExecutableDirectory_Impl() local 235 getExecutableFile_Impl (&(fileName.pData)); in getExecutableDirectory_Impl() 250 OUString fileName; in getIniFileName_Impl() local 255 resolvePathnameUrl(&fileName); in getIniFileName_Impl() 259 getExecutableFile_Impl (&(fileName.pData)); in getIniFileName_Impl() 264 && fileName.copy(fileName.getLength() - progExt.getLength()).equalsIgnoreAsciiCase(progExt)) in getIniFileName_Impl() 265 fileName = fileName.copy(0, fileName.getLength() - progExt.getLength()); in getIniFileName_Impl() 269 && fileName.copy(fileName.getLength() - progExt.getLength()).equalsIgnoreAsciiCase(progExt)) in getIniFileName_Impl() 270 fileName = fileName.copy(0, fileName.getLength() - progExt.getLength()); in getIniFileName_Impl() 277 if(fileName.getLength()) in getIniFileName_Impl() [all …]
|
/trunk/main/javainstaller2/src/JavaSetup/org/openoffice/setup/ |
H A D | ResourceManager.java | 51 String fileName = (String)(fileNameResourceBundle.getObject(key)); in checkFileExistence() local 53 if ( ! fileName.endsWith("html") ) { in checkFileExistence() 55 setupFiles.put(key, fileName); in checkFileExistence() 59 if ( fileName.endsWith("html") ) { in checkFileExistence() 62 File file = new File(htmlDirectory, fileName); in checkFileExistence() 66 setupFiles.put(key, fileName); in checkFileExistence() 71 int pos1 = fileName.lastIndexOf("_"); in checkFileExistence() 74 int pos2 = fileName.lastIndexOf("."); in checkFileExistence() 75 … String newFileName = fileName.substring(0, pos1) + fileName.substring(pos2, fileName.length()); in checkFileExistence()
|
H A D | InstallData.java | 408 public void setAdminFileNameReloc(String fileName) { in setAdminFileNameReloc() argument 409 adminFileNameReloc = fileName; in setAdminFileNameReloc() 416 public void setAdminFileNameRelocNoDepends(String fileName) { in setAdminFileNameRelocNoDepends() argument 417 adminFileNameRelocNoDepends = fileName; in setAdminFileNameRelocNoDepends() 424 public void setAdminFileNameNoReloc(String fileName) { in setAdminFileNameNoReloc() argument 425 adminFileNameNoReloc = fileName; in setAdminFileNameNoReloc() 432 public void setAdminFileNameNoRelocNoDepends(String fileName) { in setAdminFileNameNoRelocNoDepends() argument 433 adminFileNameNoRelocNoDepends = fileName; in setAdminFileNameNoRelocNoDepends()
|
/trunk/main/migrationanalysis/src/wizard/ |
H A D | Wizard.bas | 389 Dim fileName As String variable 419 If fso.FileExists(fileName) Then 420 GetResourceDataFileName = fileName 422 fileName = fso.GetAbsolutePathName(RES_PREFIX & isoLangStr & ".dll") 423 If fso.FileExists(fileName) Then 424 GetResourceDataFileName = fileName 430 If fso.FileExists(fileName) Then 431 GetResourceDataFileName = fileName 433 fileName = fso.GetAbsolutePathName(RES_PREFIX & isoLangStr & ".dll") 434 If fso.FileExists(fileName) Then [all …]
|
/trunk/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ |
H A D | InfoDir.java | 36 static private String copySourceFile(String fileName) { in copySourceFile() argument 105 String fileName = "getuid.so"; in copyGetUidSoFile() local 106 File destFile = new File(dir, fileName); in copyGetUidSoFile() 147 String fileName = sourceFile.getName(); in moveAdminFiles() local 148 File destFile = new File(dir, fileName); in moveAdminFiles() 156 String fileName = sourceFile.getName(); in moveAdminFiles() local 157 File destFile = new File(dir, fileName); in moveAdminFiles() 165 String fileName = sourceFile.getName(); in moveAdminFiles() local 166 File destFile = new File(dir, fileName); in moveAdminFiles() 174 String fileName = sourceFile.getName(); in moveAdminFiles() local [all …]
|
H A D | SystemManager.java | 147 static public boolean find_file(String fileName) { in find_file() argument 149 File file = new File(fileName); in find_file() 267 static public Vector readCharFileVector(String fileName) { in readCharFileVector() argument 270 File file = new File(fileName); in readCharFileVector() 284 System.out.println( "Error: File not found: " + fileName); in readCharFileVector() 295 fw = new FileWriter(fileName); in saveCharFileVector() 304 System.out.println( "Could not create file: " + fileName); in saveCharFileVector() 338 String fileName = sourceFile.getName(); in copy() local 339 File destFile = new File(dest, fileName); in copy() 417 static public void setUnixPrivileges(String fileName, String unixRights) { in setUnixPrivileges() argument [all …]
|
/trunk/main/rdbmaker/source/codemaker/ |
H A D | global.cxx | 65 static sal_Bool isFileUrl(const OString& fileName) in isFileUrl() argument 67 if (fileName.indexOf("file://") == 0 ) in isFileUrl() 72 OUString convertToFileUrl(const OString& fileName) in convertToFileUrl() argument 74 if ( isFileUrl(fileName) ) in convertToFileUrl() 76 return OStringToOUString(fileName, osl_getThreadTextEncoding()); in convertToFileUrl() 80 OUString uFileName(fileName.getStr(), fileName.getLength(), osl_getThreadTextEncoding()); in convertToFileUrl() 81 if ( fileName.indexOf('.') == 0 || fileName.indexOf(SEPARATOR) < 0 ) in convertToFileUrl()
|
/trunk/main/rdbmaker/source/rdbmaker/ |
H A D | rdbmaker.cxx | 196 OString fileName(path); in createFileName() local 200 fileName = fileName.replace('\\', '/'); in createFileName() 203 fileName = fileName.replace('/', '\\'); in createFileName() 212 nameBuffer.append(fileName.getToken( 0, token, nIndex ).getStr()); in createFileName() 238 return fileName; in createFileName() 373 OString fileName = createFileName( options.getOption("-O") ); in main() local 374 listFile.open(fileName); in main() 386 …OUString fileName( OStringToOUString(createFileName( options.getOption("-O") ), RTL_TEXTENCODING_U… in main() local 387 if ( regFile.create(fileName) ) in main()
|
/trunk/main/registry/tools/ |
H A D | rdbedit.cxx | 48 sal_Bool isFileUrl(const OString& fileName) in isFileUrl() argument 50 if (fileName.indexOf("file://") == 0 ) in isFileUrl() 55 OUString convertToFileUrl(const OString& fileName) in convertToFileUrl() argument 57 if ( isFileUrl(fileName) ) in convertToFileUrl() 59 return OStringToOUString(fileName, osl_getThreadTextEncoding()); in convertToFileUrl() 63 OUString uFileName(fileName.getStr(), fileName.getLength(), osl_getThreadTextEncoding()); in convertToFileUrl() 64 if ( fileName.indexOf('.') == 0 || fileName.indexOf(SEPARATOR) < 0 ) in convertToFileUrl()
|
/trunk/main/l10ntools/source/help/ |
H A D | HelpCompiler.cxx | 229 std::string fileName; member in myparser 238 const std::string &intitle) : documentId(indocumentId), fileName(infileName), in myparser() 292 if (fileName.empty() && !strcmp((const char*)test->name, "filename")) in traverse() 298 fileName = std::string((const char*)pContent); in traverse() 425 std::string fileName; in compile() local 445 myparser aparser(documentId, fileName, title); in compile() 449 fileName = aparser.fileName; in compile() 484 streamTable.document_path = fileName; in compile() 487 if ( !bExtensionMode && !fileName.empty()) in compile() 489 if (fileName.find("/text/") == 0) in compile() [all …]
|
/trunk/test/testuno/source/fvt/uno/sc/chart/ |
H A D | ChartTitle.java | 134 String fileName = "testCreateMainTitle"; in testCreateMainTitle() local 166 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateMainTitle() 167 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateMainTitle() 191 String fileName = "testCreateSubTitle"; in testCreateSubTitle() local 222 SCUtil.saveFileAs(scComponent, fileName, fileType); in testCreateSubTitle() 223 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testCreateSubTitle() 253 String fileName = "testInputTitles"; in testInputTitles() local 282 SCUtil.saveFileAs(scComponent, fileName, fileType); in testInputTitles() 283 scDocument = SCUtil.reloadFile(unoApp, scDocument, fileName + "." + fileType); in testInputTitles()
|
/trunk/main/l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/ |
H A D | FileMaker.java | 52 public final static File newFile(String fileName, boolean overwrite) in newFile() argument 54 File file = new File(fileName); in newFile() 59 System.out.print("Warning: File " + fileName in newFile() 65 OutputHandler.out("...overwriting " + fileName); in newFile() 72 OutputHandler.out("...overwriting " + fileName); in newFile() 75 OutputHandler.out("...creating new target file " + fileName); in newFile()
|
H A D | Convert.java | 312 private static String fileName; field in Convert.ParameterChecker 356 … fileName = source.getName().substring(0,source.getName().lastIndexOf(extensionSeperator)); in checkClParameters() 477 new File(new String(filePath + fileName + ".dbg")))); in createContentOfClParameters() 483 logString = new String(filePath + fileName + ".log"); in createContentOfClParameters() 502 Convert.secondSourceName=filePath+fileName+".sdf"; in createContentOfClParameters() 509 sourceName = filePath + fileName + "." + sourceType; in createContentOfClParameters() 522 targetName = filePath + fileName + "." + targetType; in createContentOfClParameters()
|
/trunk/main/migrationanalysis/src/driver_docs/sources/ |
H A D | AnalysisDriver.bas | 599 Dim fileName As String variable 607 fileName = fileContent.ReadLine 608 fileName = Trim(fileName) 609 If (fileName <> "") Then 610 myFiles.Add (fileName) 697 Dim fileName As String variable 708 fileExt = "." & fso.GetExtensionName(fileName) 890 Dim fileName As String variable 896 fileName = fso.GetFileName(aAnalysis.name) 907 ProcessIssuesForDAW logWb, aAnalysis, fileName [all …]
|
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/palm/ |
H A D | PalmDocument.java | 57 private String fileName; field in PalmDocument 90 fileName = pdb.getPDBNameString(); in PalmDocument() 112 fileName = pdb.getPDBNameString(); in read() 149 fileName = name; in setPdb() 160 return fileName + ".pdb"; in getFileName() 170 return fileName; in getName()
|
/trunk/main/writerfilter/source/resourcemodel/ |
H A D | TagLogger.cxx | 430 string fileName; in dump() local 434 fileName += temp; in dump() 436 fileName += "/tmp"; in dump() 447 fileName += "/"; in dump() 448 fileName += sPrefix; in dump() 449 fileName +="."; in dump() 450 fileName += name; in dump() 451 fileName += ".xml"; in dump() 453 ofstream dumpStream(fileName.c_str()); in dump()
|
/trunk/main/sc/source/ui/vba/testvba/ |
H A D | testvba.cxx | 132 …rtl::OUString getLogLocationWithName( OUString fileName ) throw ( beans::UnknownPropertyException… in getLogLocationWithName() argument 135 printf("file name %s\n", rtl::OUStringToOString( fileName, RTL_TEXTENCODING_UTF8 ).getStr() ); in getLogLocationWithName() 140 …cation.concat( rtl::OUString::createFromAscii( "/" ) ).concat( fileName.copy ( 0, fileName.lastInd… in getLogLocationWithName() 202 OUString fileName = sUrl.copy ( sUrl.lastIndexOf( '/' ) ); in proccessDocument() local 203 …OUString newLocation = msOutDirPath + fileName.copy ( 0, fileName.lastIndexOf( EXTN ) ) + rtl::OU… in proccessDocument() 213 logFileURL = convertToURL( getLogLocationWithName( fileName ) ); in proccessDocument()
|
/trunk/main/sw/qa/complex/writer/ |
H A D | LoadSaveTest.java | 133 for (String fileName : dirsFiles.Second) in testLoadStore() 136 testDoc(fileName); in testLoadStore() 143 public void testDoc(String fileName) throws Exception in testDoc() argument 150 System.out.println("Loading document: " + fileName + " ..."); in testDoc() 157 String sourceFile = m_fileURL + m_SourceDir + fileName; in testDoc() 176 System.out.println("Storing document: " + fileName + " ..."); in testDoc() 181 String targetFile = m_fileURL + m_TargetDir + fileName; in testDoc()
|
/trunk/main/cpputools/source/registercomponent/ |
H A D | registercomponent.cxx | 79 sal_Bool isFileUrl(const OUString& fileName) in isFileUrl() argument 81 if (fileName.indexOf(OUString::createFromAscii("file://")) == 0 ) in isFileUrl() 86 OUString convertToFileUrl(const OUString& fileName) in convertToFileUrl() argument 88 if ( isFileUrl(fileName) ) in convertToFileUrl() 90 return fileName; in convertToFileUrl() 94 if ( fileName.indexOf('.') == 0 || fileName.indexOf(SEPARATOR) < 0 ) in convertToFileUrl() 100 if (FileBase::getAbsoluteFileURL(uWorkingDir, fileName, uUrlFileName) in convertToFileUrl() 107 if (FileBase::getFileURLFromSystemPath(fileName, uUrlFileName) in convertToFileUrl()
|
/trunk/main/registry/source/ |
H A D | reflwrit.cxx | 378 const OString& fileName, 406 const OString& fileName, in setData() argument 421 m_fileName = fileName; in setData() 695 rtl::OString const & fileName, 713 rtl::OString const & fileName, in TypeWriter() argument 730 , m_fileName(fileName) in TypeWriter() 1256 toByteString(documentation), toByteString(fileName), flags, in typereg_writer_setFieldData() 1269 rtl_uString* fileName, in setFieldData() argument 1275 hEntry, index, doku, fileName, access, name, typeName, valueType, in setFieldData() 1412 rtl_uString const * fileName, RTTypeClass typeClass, sal_Bool published, in typereg_writer_create() argument [all …]
|