| /trunk/main/odk/source/com/sun/star/lib/loader/ |
| H A D | InstallationFinder.java | 82 String path = null; in getPath() local 87 path = getPathFromProperty( SYSPROP_NAME ); in getPath() 88 if ( path == null ) { in getPath() 91 path = getPathFromEnvVar( ENVVAR_NAME ); in getPath() 92 if ( path == null ) { in getPath() 105 path = getPathFromWindowsRegistry(); in getPath() 110 path = getPathFromPathEnvVar(); in getPath() 111 if ( path == null ) { in getPath() 114 path = getPathFromWhich(); in getPath() 115 if ( path == null ) { in getPath() [all …]
|
| /trunk/main/solenv/bin/modules/par2script/ |
| H A D | systemactions.pm | 73 my $path = $par2script::globals::unpackpath; # this path already exists 75 …$path = $path . $par2script::globals::separator . $par2script::globals::build . $par2script::globa… 76 create_directory($path); 78 $path = $path . $par2script::globals::minor . $par2script::globals::separator; 79 create_directory($path); 83 …$path = $path . "common" . $par2script::globals::productextension . $par2script::globals::separato… 84 create_directory($path); 86 $path = $path . $directory . $par2script::globals::separator; 87 create_directory($path); 91 …$path = $path . $par2script::globals::compiler . $par2script::globals::productextension . $par2scr… [all …]
|
| /trunk/main/solenv/bin/modules/pre2par/ |
| H A D | systemactions.pm | 96 my $path = $pre2par::globals::unpackpath; # this path already exists 98 …$path = $path . $pre2par::globals::separator . $pre2par::globals::build . $pre2par::globals::separ… 99 create_directory($path); 101 $path = $path . $pre2par::globals::minor . $pre2par::globals::separator; 102 create_directory($path); 106 … $path = $path . "common" . $pre2par::globals::productextension . $pre2par::globals::separator; 107 create_directory($path); 109 $path = $path . $directory . $pre2par::globals::separator; 110 create_directory($path); 114 …$path = $path . $pre2par::globals::compiler . $pre2par::globals::productextension . $pre2par::glob… [all …]
|
| /trunk/main/scripting/java/org/openoffice/idesupport/ |
| H A D | OfficeInstallation.java | 31 private String path; field in OfficeInstallation 38 public OfficeInstallation(String path) { in OfficeInstallation() argument 39 this(path, path); in OfficeInstallation() 42 public OfficeInstallation(String name, String path) { in OfficeInstallation() argument 46 if (path.startsWith(FILE_URL_PREFIX)) { 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() [all …]
|
| /trunk/main/cppuhelper/source/ |
| H A D | findsofficepath.c | 92 char* path = NULL; in platformSpecific() local 95 path = getPathFromRegistryKey( HKEY_CURRENT_USER, SUBKEYNAME ); in platformSpecific() 97 if ( path == NULL ) in platformSpecific() 100 path = getPathFromRegistryKey( HKEY_CURRENT_USER, SUBKEYNAME64 ); in platformSpecific() 102 if ( path == NULL ) in platformSpecific() 105 path = getPathFromRegistryKey( HKEY_LOCAL_MACHINE, SUBKEYNAME ); in platformSpecific() 107 if ( path == NULL ) in platformSpecific() 110 path = getPathFromRegistryKey( HKEY_LOCAL_MACHINE, SUBKEYNAME64 ); in platformSpecific() 113 return path; in platformSpecific() 132 char* path = NULL; in platformSpecific() local [all …]
|
| /trunk/main/solenv/bin/modules/installer/ |
| H A D | systemactions.pm | 291 my ($path) = @_; 293 opendir my $dir, $path or return -1; 379 my $path = ""; 383 if ( $installer::globals::temppathdefined ) { $path = $installer::globals::temppath; } 384 else { $path = $installer::globals::unpackpath; } 385 … $path =~ s/\Q$installer::globals::separator\E\s*$//; # removing ending slashes and backslashes 386 $path = $path . $installer::globals::separator; 390 if ( $installer::globals::jdstemppathdefined ) { $path = $installer::globals::jdstemppath; } 391 else { $path = $installer::globals::unpackpath; } 392 … $path =~ s/\Q$installer::globals::separator\E\s*$//; # removing ending slashes and backslashes [all …]
|
| /trunk/main/soltools/mkdepend/ |
| H A D | include.c | 53 static char path[ BUFSIZ ]; local 96 strcpy(path, include); 98 strncpy(path, file, (p-file) + 1); 99 path[ (p-file) + 1 ] = '\0'; 100 strcpy(path + (p-file) + 1, include); 102 remove_dotdot(path); 103 … if ((exists_path(incCollection, path)) && stat(path, &st) == 0 && !( st.st_mode & S_IFDIR)) { 104 ip = newinclude(path, include); 108 warning1("\tnot in %s\n", path); 117 sprintf(path, "%s/%s", *pp, include); [all …]
|
| /trunk/main/postprocess/checkxml/ |
| H A D | checkxml.pl | 34 my $path = $ENV{'SOLARVERSION'} . '/' . $ENV{'INPATH'} . '/xml' . "$ENV{'UPDMINOREXT'}/"; 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/") { 67 &RecurseDirs("$path$file/"); 69 &check($path, $file); 78 my $path = shift; [all …]
|
| /trunk/main/l10ntools/scripts/ |
| H A D | fast_merge.pl | 66 my $path ; 90 ( $path , $localize_file ) = make_paths(); 92 write_buffer( $path , $localize_file ); 217 my $path = shift ; 218 $path =~ s/\//\\/g; 219 my @tmp_path = split /\\/ , $path; 221 $path = join '\\' , @tmp_path; 222 return $path; 240 my $path = getDir( $localizeFile ); 241 $path =~ s/\\/\//g; [all …]
|
| /trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/util/ |
| H A D | NativeLibraryLoader.java | 53 File path = getResource(loader, System.mapLibraryName(libname)); in loadLibrary() local 54 if (path == null) { in loadLibrary() 59 path = getResource(loader, syslibname); in loadLibrary() 62 if (path == null) { in loadLibrary() 67 System.load(path.getAbsolutePath()); in loadLibrary() 86 File path = UrlToFileMapper.mapUrlToFile(loader.getResource(name)); in getResource() local 87 if (path != null) { in getResource() 88 return path; in getResource() 101 File path = UrlToFileMapper.mapUrlToFile(urls[i]); in getResource() local 102 if (path != null) { in getResource() [all …]
|
| /trunk/main/ucb/source/ucp/webdav/ |
| H A D | CurlRequest.cxx | 142 void CurlRequest::setURI( CurlUri uri, rtl::OUString path ) throw (DAVException) in setURI() argument 154 if ( CurlUri( path ).GetHost().isEmpty() ) in setURI() 158 …curl_url_set( curlUrl, CURLUPART_PATH, rtl::OUStringToOString( path, RTL_TEXTENCODING_UTF8 ).getSt… in setURI() 163 …curl_url_set( curlUrl, CURLUPART_URL, rtl::OUStringToOString( path, RTL_TEXTENCODING_UTF8 ).getStr… in setURI() 168 CURLcode CurlRequest::copy( CurlUri uri, rtl::OUString path ) throw(DAVException) in copy() argument 170 setURI( uri, path ); in copy() 176 CURLcode CurlRequest::delete_( CurlUri uri, rtl::OUString path ) throw (DAVException) in delete_() argument 178 setURI( uri, path ); in delete_() 184 CURLcode CurlRequest::get( CurlUri uri, rtl::OUString path ) throw(DAVException) in get() argument 186 setURI( uri, path ); in get() [all …]
|
| /trunk/main/setup_native/scripts/source/ |
| H A D | getuid.c | 37 int chown (const char *path, uid_t owner, gid_t group) {return 0;} in chown() argument 38 int lchown (const char *path, uid_t owner, gid_t group) {return 0;} in lchown() argument 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() 96 int fstatat64(int fildes, const char *path, struct stat64 *buf, int flag) in fstatat64() argument 99 static int (*p_fstatat) (int fildes, const char *path, struct stat64 *buf, int flag) = NULL; in fstatat64() [all …]
|
| /trunk/main/desktop/win32/source/rebase/ |
| H A D | rebase.cxx | 101 wchar_t* getBrandPath(wchar_t * path) in getBrandPath() argument 103 DWORD n = GetModuleFileNameW(NULL, path, MAX_PATH); in getBrandPath() 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() 158 rebaseImagesInFolder(path, BASEVIRTUALADDRESS); 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() [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() 162 bool bFast = checkImageVirtualBaseAddress(path, VBA); 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() [all …]
|
| /trunk/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 57 die "Error: Can't read $path\n"; 62 if (-d "$path$file/") { 63 &RecurseDirs("$path$file/"); 65 &check($path, $file); 74 my $path = shift; [all …]
|
| /trunk/main/configmgr/qa/unit/ |
| H A D | test.cxx | 69 rtl::OUString const & path, rtl::OUString const & relative, in normalize() argument 74 *normalizedPath = path; in normalize() 77 rtl::OUStringBuffer buf(path); in normalize() 92 rtl::OUString const & path, rtl::OUString const & relative) const; 95 rtl::OUString const & path, rtl::OUString const & name, 98 bool resetKey(rtl::OUString const & path, rtl::OUString const & name) const; 101 rtl::OUString const & path) const; 104 rtl::OUString const & path) const; 151 osl::Condition & stop, Test const & test, rtl::OUString const & path, 163 osl::Condition & stop, Test const & test, rtl::OUString const & path, in ReaderThread() argument [all …]
|
| /trunk/main/sal/osl/w32/ |
| 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() 77 if (i > -1 && (i == (path.getLength() - 1))) in osl_systemPathRemoveSeparator() [all …]
|
| H A D | file_dirvol.cxx | 143 inline bool is_UNC_path(const sal_Unicode* path) in is_UNC_path() argument 144 …{ return (0 == wcsncmp(UNC_PREFIX, reinterpret_cast<LPCWSTR>(path), ELEMENTS_OF_ARRAY(UNC_PREFIX) … in is_UNC_path() 147 inline bool is_UNC_path(const rtl::OUString& path) in is_UNC_path() argument 148 { return is_UNC_path(path.getStr()); } in is_UNC_path() 151 void parse_UNC_path(const sal_Unicode* path, UNCComponents* puncc) in parse_UNC_path() argument 153 OSL_PRECOND(is_UNC_path(path), "Precondition violated: No UNC path"); in parse_UNC_path() 154 OSL_PRECOND(rtl_ustr_indexOfChar(path, SLASH) == -1, "Path must not contain slashes"); in parse_UNC_path() 156 const sal_Unicode* pend = path + rtl_ustr_getLength(path); in parse_UNC_path() 157 const sal_Unicode* ppos = path + 2; in parse_UNC_path() 188 void parse_UNC_path(const rtl::OUString& path, UNCComponents* puncc) in parse_UNC_path() argument [all …]
|
| /trunk/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() 77 if (i > -1 && (i == (path.getLength() - 1))) in osl_systemPathRemoveSeparator() [all …]
|
| /trunk/main/solenv/gbuild/ |
| H A D | processdeps.awk | 41 function mangle_path(path) { 42 gsub("\\\\", "/", path); 43 gsub("\r", "", path); 44 if( path ~ /^[a-zA-Z]:/ ) 45 path = tolower(substr(path,0,1)) substr(path,2); 46 gsub(WORKDIR, "$(WORKDIR)/", path); 47 gsub(OUTDIR, "$(OUTDIR)/", path); 48 gsub(SRCDIR, "$(SRCDIR)/", path); 49 gsub(REPODIR, "$(REPODIR)/", path); 50 if( path ~ /^[a-zA-Z]:/ ) [all …]
|
| /trunk/main/desktop/win32/source/ |
| H A D | unoinfo.cxx | 45 wchar_t * getBrandPath(wchar_t * path) { in getBrandPath() argument 46 DWORD n = GetModuleFileNameW(NULL, path, MAX_PATH); in getBrandPath() 50 return tools::filename(path); in getBrandPath() 63 wchar_t path[MAX_PATH]; in writePath() local 65 path, frontBegin, frontEnd, backBegin, backLength); in writePath() 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"")); [all …]
|
| /trunk/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 73 path(const std::string &in, convert) in path() function in fs::path 83 path(const std::string &FileURL) in path() function in fs::path 111 path operator/(const std::string &in) const in operator /() 113 path ret(*this); in operator /() 133 void create_directory(const fs::path indexDirName); 134 void rename(const fs::path &src, const fs::path &dest); 135 void copy(const fs::path &src, const fs::path &dest); [all …]
|
| H A D | HelpLinker.cxx | 47 fs::path m_fsIndexBaseDir; 48 fs::path m_fsCaptionFilesDirName; 49 fs::path m_fsContentFilesDirName; 55 IndexerPreProcessor( const std::string& aModuleName, const fs::path& fsIndexBaseDir, 56 const fs::path& idxCaptionStylesheet, const fs::path& idxContentStylesheet ); 63 ( const std::string& aModuleName, const fs::path& fsIndexBaseDir, in IndexerPreProcessor() 64 const fs::path& idxCaptionStylesheet, const fs::path& idxContentStylesheet ) in IndexerPreProcessor() 113 … fs::path fsCaptionPureTextFile_docURL = m_fsCaptionFilesDirName / aStdStr_EncodedDocPathURL; in processDocument() 137 … fs::path fsContentPureTextFile_docURL = m_fsContentFilesDirName / aStdStr_EncodedDocPathURL; in processDocument() 212 void dump_DBHelp( const fs::path& rFileName ) in dump_DBHelp() [all …]
|
| /trunk/main/scripting/java/com/sun/star/script/framework/io/ |
| H A D | UCBStreamHandler.java | 95 String path = sUrl.substring(0, sUrl.lastIndexOf(separator) ); in getInputStream() local 98 … LogUtils.DEBUG("getInputStream, load of file from another file eg. " + file + " from " + path ); in getInputStream() 99 return getUCBStream(file, path); in getInputStream() 109 String path = sUrl.substring(0, sUrl.lastIndexOf(separator)); in getOutputStream() local 113 if ( m_xSimpleFileAccess.isReadOnly( path ) ) in getOutputStream() 118 LogUtils.DEBUG("getOutputStream, create o/p stream for file eg. " + path ); in getOutputStream() 121 XOutputStream xos = m_xSimpleFileAccess.openFileWrite( path ); in getOutputStream() 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() [all …]
|
| /trunk/main/configmgr/source/ |
| H A D | data.cxx | 124 rtl::OUString const & path, sal_Int32 index, rtl::OUString * name, in parseSegment() argument 128 index >= 0 && index <= path.getLength() && name != 0 && in parseSegment() 131 while (i < path.getLength() && path[i] != '/' && path[i] != '[') { in parseSegment() 134 if (i == path.getLength() || path[i] == '/') { in parseSegment() 135 *name = path.copy(index, i - index); in parseSegment() 140 if (i - index == 1 && path[index] == '*') { in parseSegment() 143 *templateName = path.copy(index, i - index); 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() [all …]
|