/aoo41x/main/odk/source/com/sun/star/lib/loader/ |
H A D | InstallationFinder.java | 82 String path = null; in getPath() local 88 if ( path == null ) { in getPath() 127 return path; in getPath() 143 String path = null; in getPathFromProperty() local 167 String path = null; in getPathFromEnvVar() local 178 return path; in getPathFromEnvVar() 194 String path = null; in getPathFromWindowsRegistry() local 247 String path = null; in getPathFromPathEnvVar() local 288 return path; in getPathFromPathEnvVar() 384 return path; in getPathFromWhich() [all …]
|
/aoo41x/main/solenv/bin/modules/par2script/ |
H A D | systemactions.pm | 76 create_directory($path); 78 $path = $path . $par2script::globals::minor . $par2script::globals::separator; 79 create_directory($path); 84 create_directory($path); 86 $path = $path . $directory . $par2script::globals::separator; 87 create_directory($path); 92 create_directory($path); 94 $path = $path . $par2script::globals::product . $par2script::globals::separator; 97 $path = $path . $directory . $par2script::globals::separator; 102 $path = $path . $$languagesref . $par2script::globals::separator; [all …]
|
/aoo41x/main/solenv/bin/modules/pre2par/ |
H A D | systemactions.pm | 99 create_directory($path); 101 $path = $path . $pre2par::globals::minor . $pre2par::globals::separator; 102 create_directory($path); 107 create_directory($path); 109 $path = $path . $directory . $pre2par::globals::separator; 110 create_directory($path); 115 create_directory($path); 117 $path = $path . $pre2par::globals::product . $pre2par::globals::separator; 120 $path = $path . $directory . $pre2par::globals::separator; 125 $path = $path . $$languagesref . $pre2par::globals::separator; [all …]
|
/aoo41x/main/scripting/java/org/openoffice/idesupport/ |
H A D | OfficeInstallation.java | 31 private String path; field in OfficeInstallation 39 this(path, path); in OfficeInstallation() 47 this.url = path; in OfficeInstallation() 48 path = URLDecoder.decode(path); in OfficeInstallation() 49 path = path.substring(FILE_URL_PREFIX.length()); in OfficeInstallation() 52 path = path.replace('/', File.separatorChar); in OfficeInstallation() 54 this.path = path; in OfficeInstallation() 57 this.path = path; in OfficeInstallation() 60 path = path.replace(File.separatorChar, '/'); in OfficeInstallation() 71 return path; in getPath() [all …]
|
/aoo41x/main/cppuhelper/source/ |
H A D | findsofficepath.c | 92 char* path = NULL; in platformSpecific() local 97 if ( path == NULL ) in platformSpecific() 102 if ( path == NULL ) in platformSpecific() 107 if ( path == NULL ) in platformSpecific() 113 return path; in platformSpecific() 132 char* path = NULL; in platformSpecific() local 146 return path; in platformSpecific() 207 return path; in platformSpecific() 217 char* path = NULL; in cppuhelper_detail_findSofficePath() local 222 if ( path == NULL || strlen( path ) == 0 ) in cppuhelper_detail_findSofficePath() [all …]
|
/aoo41x/main/postprocess/checkxml/ |
H A D | checkxml.pl | 39 print "Checking:$path\n"; 41 &RecurseDirs($path); 57 my ($path) = @_; 60 opendir (DIRECTORY, $path) or 61 die "Can't read $path\n"; 66 if (-d "$path$file/") { 69 &check($path, $file); 78 my $path = shift; 80 print "$path$file\n" if ((-e "$path$file") && $is_debug); 82 if ( -z "$path$file" ) { [all …]
|
/aoo41x/main/soltools/mkdepend/ |
H A D | include.c | 53 static char path[ BUFSIZ ]; local 96 strcpy(path, include); 99 path[ (p-file) + 1 ] = '\0'; 102 remove_dotdot(path); 118 remove_dotdot(path); 135 char* path; 137 convert_slashes(path); 146 void remove_dotdot(path) in remove_dotdot() argument 147 char *path; in remove_dotdot() 158 if (*path == '/') [all …]
|
/aoo41x/main/solenv/bin/modules/installer/ |
H A D | systemactions.pm | 291 my ($path) = @_; 379 my $path = ""; 386 $path = $path . $installer::globals::separator; 393 $path = $path . $installer::globals::separator; 416 $path = $path . $newdirectory . $installer::globals::separator; 432 else { $path = $path . $localproductname . $installer::globals::separator; } 438 $path = $path . $localproductsubdir . $installer::globals::separator; 445 $path = $path . $newdirectory . $installer::globals::separator; 456 $path = $path . $languagestring . $installer::globals::separator; 463 $path = installer::converter::make_path_conform($path); [all …]
|
/aoo41x/main/jurt/com/sun/star/lib/util/ |
H A D | NativeLibraryLoader.java | 54 if (path == null) { in loadLibrary() 62 if (path == null) { in loadLibrary() 67 System.load(path.getAbsolutePath()); in loadLibrary() 87 if (path != null) { in getResource() 88 return path; in getResource() 102 if (path != null) { in getResource() 103 File dir = path.isDirectory() ? path : path.getParentFile(); in getResource() 106 if (path.exists()) { in getResource() 107 return path; in getResource() 112 if (path.exists()) { in getResource() [all …]
|
/aoo41x/main/l10ntools/scripts/ |
H A D | fast_merge.pl | 66 my $path ; 217 my $path = shift ; 218 $path =~ s/\//\\/g; 222 return $path; 241 $path =~ s/\\/\//g; 252 $last_path = $path; 254 mkpath $path; 262 if( $path eq $last_path ) 268 mkpath $path; 271 $last_path = $path; [all …]
|
/aoo41x/main/setup_native/scripts/source/ |
H A D | getuid.c | 42 int stat(const char *path, struct stat *buf); 71 int chmod(const char *path, mode_t mode) in chmod() argument 74 static int (*p_chmod) (const char *path, mode_t mode) = NULL; in chmod() 76 p_chmod = (int (*)(const char *path, mode_t mode)) in chmod() 82 if (stat(path, &statbuf) == 0) in chmod() 89 ret = (*p_chmod)(path, mode); in chmod() 103 ret = (*p_fstatat)(fildes, path, buf, flag); in fstatat64() 120 int __lxstat(int n, const char *path, struct stat *buf) 127 ret = (*p_lstat)(n, path, buf); 136 int __lxstat64(int n, const char *path, struct stat64 *buf) [all …]
|
/aoo41x/main/sysui/util/ |
H A D | checksize.pl | 33 my $path = "../" . $ENV{'INPATH'} . "/"; 36 print "Checking:$path\n"; 38 &RecurseDirs($path); 53 my ($path) = @_; 56 opendir (DIRECTORY, $path) or 62 if (-d "$path$file/") { 65 &check($path, $file); 74 my $path = shift; 76 print "$path$file\n" if ((-e "$path$file") && $is_debug); 78 … || ($file =~ /.+\.obj/ && $ENV{GUI} eq 'UNX') || ($path =~ /.+etc/) || ($path =~ /.+logs/) || ($p… [all …]
|
/aoo41x/main/desktop/win32/source/rebase/ |
H A D | rebase.cxx | 101 wchar_t* getBrandPath(wchar_t * path) in getBrandPath() argument 107 return tools::filename(path); in getBrandPath() 152 wchar_t path[MAX_PATH]; in WinMain() local 154 wchar_t * pathEnd = getBrandPath(path); in WinMain() 156 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"")) == NULL) in WinMain() 160 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"..\\basis-link")) == NULL) in WinMain() 162 pathEnd = tools::resolveLink(path); in WinMain() 167 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\program\\")) == NULL) in WinMain() 171 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\ure-link")) == NULL) in WinMain() 173 pathEnd = tools::resolveLink(path); in WinMain() [all …]
|
H A D | rebasegui.cxx | 156 wchar_t path[MAX_PATH]; in WinMain() local 158 wchar_t * pathEnd = getBrandPath(path); in WinMain() 160 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"libxml2.dll")) == NULL) in WinMain() 164 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"..\\basis-link")) == NULL) in WinMain() 166 pathEnd = tools::resolveLink(path); in WinMain() 171 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\program\\vclmi.dll")) == NULL) in WinMain() 173 bFast &= checkImageVirtualBaseAddress(path, VBA); in WinMain() 175 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\ure-link")) == NULL) in WinMain() 177 pathEnd = tools::resolveLink(path); in WinMain() 182 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\bin\\sal3.dll")) == NULL) in WinMain() [all …]
|
/aoo41x/main/sal/osl/w32/ |
H A D | path_helper.cxx | 54 rtl::OUString path(*ppustrPath); in osl_systemPathEnsureSeparator() local 55 sal_Int32 i = std::max<sal_Int32>(path.lastIndexOf(BACKSLASH), path.lastIndexOf(SLASH)); in osl_systemPathEnsureSeparator() 57 if (i < (path.getLength()-1)) in osl_systemPathEnsureSeparator() 59 path += BACKSLASH; in osl_systemPathEnsureSeparator() 60 rtl_uString_assign(ppustrPath, path.pData); in osl_systemPathEnsureSeparator() 63 OSL_POSTCOND(path.lastIndexOf(BACKSLASH) == (path.getLength() - 1), \ in osl_systemPathEnsureSeparator() 73 rtl::OUString path(*ppustrPath); in osl_systemPathRemoveSeparator() local 75 if (!osl::systemPathIsLogicalDrivePattern(path)) in osl_systemPathRemoveSeparator() 77 sal_Int32 i = std::max<sal_Int32>(path.lastIndexOf(BACKSLASH), path.lastIndexOf(SLASH)); in osl_systemPathRemoveSeparator() 81 path = rtl::OUString(path.getStr(), path.getLength() - 1); in osl_systemPathRemoveSeparator() [all …]
|
H A D | file_dirvol.cxx | 156 const sal_Unicode* pend = path + rtl_ustr_getLength(path); in parse_UNC_path() 199 if (is_UNC_path(path)) in has_path_parent() 695 sal_Unicode* pos_last_backslash = path + rtl_ustr_lastIndexOfChar(path, BACKSLASH); in path_make_parent() 1246 rtl::OUString p(path); in is_floppy_volume_mount_point() 1284 rtl::OUString p(path); in is_volume_mount_point() 1315 if (0 == path.getLength()) in get_volume_mount_point_drive_type() 1318 rtl::OUString p(path); in get_volume_mount_point_drive_type() 1341 if (is_volume_mount_point(path)) in osl_get_drive_type() 1358 if (is_floppy_drive(path)) in osl_get_drive_type() 1478 if (!has_path_parent(path)) in path_get_parent() [all …]
|
/aoo41x/main/sal/osl/os2/ |
H A D | path_helper.cxx | 52 rtl::OUString path(*ppustrPath); in osl_systemPathEnsureSeparator() local 53 sal_Int32 i = std::max<sal_Int32>(path.lastIndexOf(BACKSLASH), path.lastIndexOf(SLASH)); in osl_systemPathEnsureSeparator() 55 if (i < (path.getLength()-1)) in osl_systemPathEnsureSeparator() 57 path += BACKSLASH; in osl_systemPathEnsureSeparator() 58 rtl_uString_assign(ppustrPath, path.pData); in osl_systemPathEnsureSeparator() 61 OSL_POSTCOND(path.lastIndexOf(BACKSLASH) == (path.getLength() - 1), \ in osl_systemPathEnsureSeparator() 71 rtl::OUString path(*ppustrPath); in osl_systemPathRemoveSeparator() local 73 if (!osl::systemPathIsLogicalDrivePattern(path)) in osl_systemPathRemoveSeparator() 75 sal_Int32 i = std::max<sal_Int32>(path.lastIndexOf(BACKSLASH), path.lastIndexOf(SLASH)); in osl_systemPathRemoveSeparator() 79 path = rtl::OUString(path.getStr(), path.getLength() - 1); in osl_systemPathRemoveSeparator() [all …]
|
/aoo41x/main/desktop/win32/source/ |
H A D | unoinfo.cxx | 45 wchar_t * getBrandPath(wchar_t * path) { in getBrandPath() argument 50 return tools::filename(path); in getBrandPath() 63 wchar_t path[MAX_PATH]; in writePath() local 69 size_t nWideLen = wcslen(path); in writePath() 70 fwrite( path, sizeof(wchar_t), nWideLen, stdout); in writePath() 82 wchar_t path[MAX_PATH]; local 83 wchar_t * pathEnd = getBrandPath(path); 89 writePath(path, pathEnd, MY_STRING(L"")); 98 wchar_t path[MAX_PATH]; local 99 wchar_t * pathEnd = getBrandPath(path); [all …]
|
/aoo41x/main/configmgr/qa/unit/ |
H A D | test.cxx | 72 *normalizedPath = path; in normalize() 75 rtl::OUStringBuffer buf(path); in normalize() 115 rtl::OUString const & path) const; 118 rtl::OUString const & path) const; 562 rtl::OUString path; in testThreads() local 564 normalize(list[j].path, list[j].relative, &path, &name); in testThreads() 565 resetKey(path, name); in testThreads() 641 rtl::OUString const & path) const in createViewAccess() 647 css::uno::makeAny(path)))); in createViewAccess() 656 rtl::OUString const & path) const in createUpdateAccess() [all …]
|
/aoo41x/main/l10ntools/source/help/ |
H A D | HelpCompiler.hxx | 66 class path class 71 path() {} in path() function in fs::path 72 path(const path &rOther) : data(rOther.data) {} in path() function in fs::path 83 path(const std::string &FileURL) in path() function in fs::path 113 path ret(*this); in operator /() 134 void rename(const fs::path &src, const fs::path &dest); 135 void copy(const fs::path &src, const fs::path &dest); 136 bool exists(const fs::path &in); 138 void remove(const fs::path &in); 308 const fs::path inputFile, src; [all …]
|
H A D | HelpLinker.cxx | 56 const fs::path& idxCaptionStylesheet, const fs::path& idxContentStylesheet ); 64 const fs::path& idxCaptionStylesheet, const fs::path& idxContentStylesheet ) in IndexerPreProcessor() 251 fs::path sourceRoot; 252 fs::path embeddStylesheet; 253 fs::path idxCaptionStylesheet; 254 fs::path idxContentStylesheet; 255 fs::path zipdir; 256 fs::path outputFile; 264 fs::path indexDirName; 265 fs::path indexDirParentName; [all …]
|
/aoo41x/main/solenv/gbuild/ |
H A D | processdeps.awk | 41 function mangle_path(path) { 42 gsub("\\\\", "/", path); 43 if( path ~ /^[a-zA-Z]:/ ) 44 path = tolower(substr(path,0,1)) substr(path,2); 45 gsub(WORKDIR, "$(WORKDIR)/", path); 46 gsub(OUTDIR, "$(OUTDIR)/", path); 47 gsub(SRCDIR, "$(SRCDIR)/", path); 48 gsub(REPODIR, "$(REPODIR)/", path); 49 if( path ~ /^[a-zA-Z]:/ ) 50 path = "/cygdrive/" tolower(substr(path,0,1)) substr(path,3); [all …]
|
/aoo41x/main/scripting/java/com/sun/star/script/framework/io/ |
H A D | UCBStreamHandler.java | 99 return getUCBStream(file, path); in getInputStream() 149 private InputStream getUCBStream(String file, String path) in getUCBStream() argument 156 if (path.endsWith(".jar")) { in getUCBStream() 157 is = (InputStream)m_jarStreamMap.get(path); in getUCBStream() 160 is = getFileStreamFromUCB(path); in getUCBStream() 161 m_jarStreamMap.put(path, is); in getUCBStream() 169 is = getFileStreamFromUCB(path); in getUCBStream() 170 m_jarStreamMap.put(path, is); in getUCBStream() 214 private InputStream getFileStreamFromUCB(String path) in getFileStreamFromUCB() argument 221 LogUtils.DEBUG("Trying to read from " + path ); in getFileStreamFromUCB() [all …]
|
/aoo41x/main/configmgr/source/ |
H A D | data.cxx | 131 while (i < path.getLength() && path[i] != '/' && path[i] != '[') { in parseSegment() 134 if (i == path.getLength() || path[i] == '/') { in parseSegment() 146 if (++i == path.getLength()) { in parseSegment() 149 sal_Unicode del = path[i++]; in parseSegment() 153 sal_Int32 j = path.indexOf(del, i); in parseSegment() 154 if (j == -1 || j + 1 == path.getLength() || path[j + 1] != ']' || in parseSegment() 155 !decode(path, i, j, name)) in parseSegment() 229 if (path != 0) { in resolvePathRepresentation() 230 path->clear(); in resolvePathRepresentation() 242 if (path != 0) { in resolvePathRepresentation() [all …]
|
/aoo41x/test/testcommon/source/org/openoffice/test/vcl/widgets/ |
H A D | VclMenuItem.java | 37 private String[] path = null; field in VclMenuItem 57 public VclMenuItem(VclApp app, String path) { in VclMenuItem() argument 59 this.path = path.split("->"); in VclMenuItem() 83 this.path = path.split("->"); in VclMenuItem() 91 throw new RuntimeException("Menu item '" + path[path.length - 1] + "' can be found!"); in invoke() 101 if (path != null) { in getId() 107 String itemText = path[path.length - 1]; in getId() 128 for (int i = 0; i < path.length; i++) { in select() 129 new VclMenuItem(app, path[i]).pick(); in select() 145 for (int i = 0; i < path.length - 1; i++) in selectParent() [all …]
|