Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 1117) sorted by relevance

12345678910>>...45

/trunk/test/odf-validate/
H A Dgate.py37 D = os.path.dirname(os.path.abspath(__file__))
67 def read_jobs(path): argument
68 return [tuple(l.rstrip("\n").split("\t")) for l in open(path) if l.strip()]
73 return [(src, os.path.join(outdir, os.path.basename(out))) for src, out in jobs]
76 def read_volatile(path=os.path.join(D, "gate-volatile.tsv")): argument
77 …return {l.split("\t")[0]: l.rstrip("\n").split("\t")[1] for l in open(path) if l.strip() and not l…
108 def bridge_dead(path): argument
111 d = json.load(open(path))
122 files = sorted(os.path.join(src, f) for f in os.listdir(src) if not f.startswith("."))
129 if run([os.path.join(D, "start.sh"), profile, str(port)], log) != 0:
[all …]
H A Dselftest.py24 D = os.path.dirname(os.path.abspath(__file__))
25 val = os.path.join(D, "runs", "control", "val.json")
26 os.makedirs(os.path.dirname(val), exist_ok=True)
27 subprocess.run([sys.executable, "-I", os.path.join(D, "make-controls.py")], check=True)
28 subprocess.run([sys.executable, "-I", os.path.join(D, "validate.py"), os.path.join(D, "fixtures", "…
61 ids = os.path.join(D, "runs", "control", "ids.json")
62 subprocess.run([sys.executable, "-I", os.path.join(D, "idcheck.py"), os.path.join(D, "fixtures", "c…
73 subprocess.run([sys.executable, "-I", os.path.join(D, "make-pkg-controls.py")], check=True)
74 pk = os.path.join(D, "runs", "control", "pkg.json")
75 pdir = os.path.join(D, "fixtures", "control-pkg")
[all …]
H A Dsmoke13.py31 D = os.path.dirname(os.path.abspath(__file__))
62 …subprocess.run([sys.executable, "-I", os.path.join(D, "diff7.py"), old, new, out], capture_output=…
69 ap.add_argument("--root", default=os.path.join(D, "runs", "phase3", "foreign"))
75 run = os.path.join(D, "runs", "phase3", "smoke-" + a.tag)
76 if os.path.exists(run) and not a.resume:
79 log = os.path.join(run, "dump.log")
86 src = os.path.join(a.root, mode)
87 if not os.path.isdir(src):
89 stats[mode] = dumps(src, os.path.join(run, "dump", mode), "smoke13", a.port, a.stall, log)
92 for f in os.listdir(os.path.join(run, "dump", mode)):
[all …]
H A Dcov_source.py51 def read(path): argument
52 with open(path, errors="replace") as f:
153 def parse_tokens(path): argument
156 for line in read(path).splitlines():
249 self.toks = parse_tokens(os.path.join(main, "xmloff/source/core/xmltoken.cxx"))
262 rel = os.path.relpath(d, self.main).replace(os.sep, "/") + "/"
268 out.append(os.path.join(d, f))
272 def eligible(path): argument
273 base = os.path.basename(path)
276 def uri(self, key, path): argument
[all …]
H A Dconsumer_smoke.py29 D = os.path.dirname(os.path.abspath(__file__))
40 ap.add_argument("--dir", default=os.path.join(D, "fixtures", "t14", "consumer"))
43 root = os.path.join(D, "runs", "consumer-" + a.tag)
46 dest = os.path.join(root, "dump")
47 log = os.path.join(root, "dump.log")
53 d = json.load(open(os.path.join(dest, n + ".json")))
55 base = {n[:-5]: n for n in names if os.path.splitext(n)[0].endswith("-base")}
57 stem, ext = os.path.splitext(n)
61 pa, pb = os.path.join(root, "pairA"), os.path.join(root, "pairB")
64 shutil.copy(os.path.join(dest, n + ".json"), os.path.join(pa, n + ".json"))
[all …]
/trunk/main/odk/source/com/sun/star/lib/loader/
H A DInstallationFinder.java82 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/test/odf-validate/tools13/
H A Dmake-foreign-corpus.py32 HERE = os.path.dirname(os.path.abspath(__file__))
33 TEST = os.path.dirname(HERE) # test/odf-validate
34 JOBS = os.path.join(TEST, "runs", "gate-t16f", "jobs.tsv")
35 DEFAULT_ROOT = os.path.join(TEST, "runs", "phase3", "foreign")
81 if not p or p in seen or not os.path.isfile(p):
85 sz = os.path.getsize(p)
92 dirs.setdefault(os.path.dirname(p), []).append((-sz, p))
100 key = (os.path.splitext(os.path.basename(p))[0], OUT_EXT[ext])
109 def read_list(path): argument
111 with open(path, encoding="utf8") as fh:
[all …]
/trunk/test/odf-validate/fixtures/leak/
H A Dmake.py29 port, out = int(sys.argv[1]), os.path.abspath(sys.argv[2])
30 base = os.path.dirname(out)
31 other, oldfmt, work = (os.path.join(base, d) for d in ("other", "oldfmt", "work"))
47 def save(doc, path, filt): argument
48 doc.storeToURL(URL(path), (pv("FilterName", filt),))
49 print("saved", os.path.basename(path), filt)
61 def make_png(path): argument
68 with open(path, "wb") as f:
107 save(doc, os.path.join(out, "writer-fields.odt"), "writer8")
113 png = os.path.join(work, "red.png")
[all …]
/trunk/test/aoo-test/src/aootest_worker/fixtures/
H A Dleak.py29 port, out = int(sys.argv[1]), os.path.abspath(sys.argv[2])
30 base = os.path.dirname(out)
31 other, oldfmt, work = (os.path.join(base, d) for d in ("other", "oldfmt", "work"))
47 def save(doc, path, filt): argument
48 doc.storeToURL(URL(path), (pv("FilterName", filt),))
49 print("saved", os.path.basename(path), filt)
61 def make_png(path): argument
68 with open(path, "wb") as f:
107 save(doc, os.path.join(out, "writer-fields.odt"), "writer8")
113 png = os.path.join(work, "red.png")
[all …]
/trunk/main/solenv/bin/modules/par2script/
H A Dsystemactions.pm73 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 Dsystemactions.pm96 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 DOfficeInstallation.java31 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/solenv/bin/modules/installer/
H A Dsystemactions.pm291 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/cppuhelper/source/
H A Dfindsofficepath.c92 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/soltools/mkdepend/
H A Dinclude.c53 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 Dcheckxml.pl34 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 Dfast_merge.pl66 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/ucb/source/ucp/webdav/
H A DCurlRequest.cxx142 void CurlRequest::setURI( CurlUri uri, rtl::OUString path ) 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 ) in copy() argument
170 setURI( uri, path ); in copy()
176 CURLcode CurlRequest::delete_( CurlUri uri, rtl::OUString path ) in delete_() argument
178 setURI( uri, path ); in delete_()
184 CURLcode CurlRequest::get( CurlUri uri, rtl::OUString path ) in get() argument
186 setURI( uri, path ); in get()
[all …]
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/util/
H A DNativeLibraryLoader.java53 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/setup_native/scripts/source/
H A Dgetuid.c37 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 Drebase.cxx101 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 …]
/trunk/main/sysui/util/
H A Dchecksize.pl33 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 Dtest.cxx69 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 Dfile_dirvol.cxx143 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 …]
H A Dpath_helper.cxx52 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 …]

12345678910>>...45