Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/openbsd-src/gnu/usr.bin/perl/cpan/Win32/t/
H A DGetLongPathName.t5 my @paths = qw(
21 push @paths, map { my $x = $_; $x =~ s,/,\\,g; $x } @paths;
22 push @paths, qw(
34 for (@paths) {
39 @expect{@paths} = map { my $x = $_;
42 $x } @paths;
44 plan tests => scalar(@paths);
47 for (@paths) {
/openbsd-src/gnu/usr.bin/perl/cpan/File-Path/lib/File/
H A DPath.pm89 my $paths;
93 ( $paths, $verbose, $mode ) = @_;
94 $paths = [$paths] unless UNIVERSAL::isa( $paths, 'ARRAY' );
171 $paths = [@_];
173 return _mkpath( $data, $paths );
178 my $paths = shift;
181 foreach my $path ( @{$paths} ) {
273 my ($arg, $data, $paths);
277 ( $paths, $verbose, $safe ) = @_;
281 if ( defined($paths) and length($paths) ) {
[all …]
/openbsd-src/usr.bin/find/
H A Dmain.c62 char **p, **paths, **paths2; in main() local
71 p = paths = ereallocarray(NULL, argc, sizeof(char *)); in main()
120 if (p == paths) in main()
124 if (!(paths2 = reallocarray(paths, p - paths + 1, sizeof(char *)))) in main()
126 paths = paths2; in main()
130 exit(find_execute(find_formplan(argv), paths)); in main()
/openbsd-src/usr.bin/tmux/
H A Dtmux.c29 #include <paths.h>
146 expand_paths(const char *s, char ***paths, u_int *n, int ignore_errors) in expand_paths() argument
153 *paths = NULL; in expand_paths()
176 if (strcmp(path, (*paths)[i]) == 0) in expand_paths()
184 *paths = xreallocarray(*paths, (*n) + 1, sizeof *paths); in expand_paths()
185 (*paths)[(*n)++] = path; in expand_paths()
193 char **paths, *path, *base; in make_label() local
203 expand_paths(TMUX_SOCK, &paths, in make_label()
[all...]
/openbsd-src/gnu/llvm/clang/utils/analyzer/
H A DSATestUtils.py9 def which(command: str, paths: Optional[str] = None) -> Optional[str]:
13 if paths is None:
14 paths = os.environ.get('PATH', '')
21 if not paths:
22 paths = os.defpath
32 for path in paths.split(os.pathsep):
/openbsd-src/usr.bin/mandoc/
H A Dmain.c450 printf("%s:", conf.manpath.paths[i]); in main()
451 printf("%s\n", conf.manpath.paths[i]); in main()
508 strlen(conf.manpath.paths[resn[i].ipath]); in main()
721 fs_lookup(const struct manpaths *paths, size_t ipath, in fs_lookup() argument
741 paths->paths[ipath], sec, name, sec); in fs_lookup()
747 paths->paths[ipath], sec, name); in fs_lookup()
756 paths->paths[ipath], sec, arch, name, sec); in fs_lookup()
762 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup()
765 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup()
782 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup()
[all …]
H A Dmansearch.c82 const struct manpaths *paths, in mansearch() argument
138 for (i = 0; i < paths->sz; i++) { in mansearch()
139 if (chdir_status && paths->paths[i][0] != '/') { in mansearch()
141 warnx("%s: getcwd: %s", paths->paths[i], buf); in mansearch()
148 if (chdir(paths->paths[i]) == -1) { in mansearch()
149 warn("%s", paths->paths[i]); in mansearch()
156 warn("%s/%s", paths->paths[i], MANDOC_DB); in mansearch()
186 paths->paths[i], page->file + 1); in mansearch()
192 page->file + 1, paths->paths[i]); in mansearch()
H A Dmanpath.c121 if (strcmp(dirs->paths[i], dir) == 0) in manpath_add()
127 dirs->paths = mandoc_reallocarray(dirs->paths, in manpath_add()
128 dirs->sz + 1, sizeof(*dirs->paths)); in manpath_add()
129 dirs->paths[dirs->sz++] = mandoc_strdup(cp); in manpath_add()
144 free(conf->manpath.paths[i]); in manconf_free()
146 free(conf->manpath.paths); in manconf_free()
H A Dcgi.c1006 struct manpaths paths; in pg_search() local
1031 paths.sz = 1; in pg_search()
1032 paths.paths = mandoc_malloc(sizeof(char *)); in pg_search()
1033 paths.paths[0] = mandoc_strdup("."); in pg_search()
1070 else if (mansearch(&search, &paths, argc, argv, &res, &ressz) == 0) in pg_search()
1080 free(paths.paths[0]); in pg_search()
1081 free(paths.paths); in pg_search()
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/llvm/
H A Dconfig.py202 paths = [norm(p) for p in current_paths]
204 paths = []
214 paths.remove(p)
217 paths = [p] + paths
218 value = os.pathsep.join(paths)
506 paths = [getattr(self.config, pp) for pp in exe_dir_props
508 paths = additional_tool_dirs + paths
509 self.with_environment('PATH', paths, append_path=True)
531 search_paths=paths, use_installed=use_installed)
644 paths = [getattr(self.config, pp) for pp in exe_dir_props
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/podlators/
H A DMakefile.PL52 my @paths = map { File::Spec->catfile('scripts', $_) } @scripts;
54 @paths = map { m{ [.] PL \z }xms ? $_ : $_ . '.com' } @paths;
56 return wantarray ? @paths : join(q{ }, @paths);
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dcheck_path.py15 paths = argv[2:]
19 for idx, dir in enumerate(paths):
22 for idx, file in enumerate(paths):
/openbsd-src/gnu/usr.bin/binutils/gprof/
H A Dsearch_list.c28 search_list_append (list, paths) in search_list_append() argument
30 const char *paths;
36 colon = paths - 1;
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/
H A Dutil.py208 def which(command, paths=None): argument
212 if paths is None:
213 paths = os.environ.get('PATH', '')
220 if not paths:
221 paths = os.defpath
231 for path in paths.split(os.pathsep):
247 def whichTools(tools, paths): argument
248 for path in paths.split(os.pathsep):
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DCppModuleConfiguration.cpp37 llvm::SmallVector<std::string, 2> paths; in getTargetIncludePaths() local
39 paths.push_back("/usr/include/" + triple.str()); in getTargetIncludePaths()
42 paths.push_back(("/usr/include/" + triple.getArchName() + "-" + in getTargetIncludePaths()
46 return paths; in getTargetIncludePaths()
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/Inputs/use-llvm-tool/
H A Dlit.cfg23 paths = [os.path.join(this_dir, 'search1'), os.path.join(this_dir, 'search2'), os.path.join(this_di…
24 lit.llvm.llvm_config.use_llvm_tool('case9', search_paths=paths)
25 lit.llvm.llvm_config.use_llvm_tool('case10', search_paths=paths, use_installed=True)
/openbsd-src/gnu/llvm/lldb/docs/use/
H A Dtroubleshooting.rst42 paths.
46 in the gutter of the source view, this path must match the full paths in the
47 debug information. If the paths mismatch, possibly due to passing in a resolved
80 We can also list the full paths to all compile units for a module using python:
95 will set breakpoints by full paths where the path doesn't match the full path
97 use the breakpoint list command with the --verbose option to see the full paths
/openbsd-src/etc/examples/
H A Deigrpd.conf13 maximum-paths 4
36 maximum-paths 2
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/lib/
H A Dg++.exp73 proc g++_include_flags { paths } { argument
90 set gccpath ${paths}
109 proc g++_link_flags { paths } { argument
115 set gccpath ${paths}
/openbsd-src/gnu/usr.bin/binutils-2.17/gprof/
H A Dsearch_list.c28 search_list_append (Search_List *list, const char *paths) in search_list_append() argument
34 colon = paths - 1; in search_list_append()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dgdb_indent.sh8 paths=`echo $PATH | sed \
13 for path in $paths
/openbsd-src/usr.sbin/acme-client/
H A Dnetproc.c642 dodirs(struct conn *c, const char *addr, struct capaths *paths) in dodirs()
656 else if (!json_parse_capaths(j, paths))
657 warnx("%s: bad CA paths", addr);
680 struct capaths paths; in netproc()
685 memset(&paths, 0, sizeof(struct capaths)); in netproc()
750 if (!dodirs(&c, authority->api, &paths)) in netproc()
753 c.newnonce = paths.newnonce; in netproc()
756 if (!dochkacc(&c, &paths, authority->contact)) in netproc()
770 if (!dorevoke(&c, paths.revokecert, cert)) in netproc()
779 if (!doneworder(&c, alts, altsz, &order, &paths)) in netproc()
630 dodirs(struct conn * c,const char * addr,struct capaths * paths) dodirs() argument
668 struct capaths paths; netproc() local
[all...]
/openbsd-src/lib/libc/gen/
H A Dftw.c34 char * const paths[2] = { (char *)path, NULL }; in ftw() local
45 ftsp = fts_open(paths, FTS_LOGICAL | FTS_COMFOLLOW | FTS_NOCHDIR, NULL); in ftw()
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-Install/lib/ExtUtils/
H A DPacklist.pm45 my %paths;
50 $paths{$Config{$exp_key}}++;
54 sort {length $b <=> length $a} keys %paths;
/openbsd-src/gnu/llvm/llvm/cmake/platforms/
H A DClangClCMakeCompileRules.cmake1 # macOS paths usually start with /Users/*. Unfortunately, clang-cl interprets
2 # paths starting with /U as macro undefines, so we need to put a -- before the

12345678910>>...20