Home
last modified time | relevance | path

Searched refs:basedir (Results 1 – 25 of 26) sorted by relevance

12

/openbsd-src/usr.sbin/pkg_add/OpenBSD/
H A DMtree.pm25 sub parse_fh($mtree, $basedir, $fh, $h = undef)
34 $basedir =~ s|/[^/]*$||o;
37 $basedir = $_;
39 $basedir.="/$_";
41 $_ = $basedir;
51 sub parse($mtree, $basedir, $filename, $h = undef)
54 parse_fh($mtree, $basedir, $file, $h);
H A DMtree.pod20 The basic function C<OpenBSD::Mtree::parse_fh(\%hash, $basedir, $fh, $extra)>
23 relative to C<$basedir> (some canonicalization of directory names will
28 C<OpenBSD::Mtree:parse(\%hash, $basedir, $filename, $extra)> is a convenience
/openbsd-src/usr.sbin/rpki-client/
H A Drepo.c61 char *basedir; member
72 char *basedir;
81 char *basedir;
94 char *basedir;
322 rp->rsync = rsync_get(rp->repouri, rp->basedir); in repo_done()
349 if (asprintf(&nfile, "%s%s", tr->basedir, file) == -1) in ta_filename()
382 rsync_fetch(tr->id, tr->uri[tr->uriidx], tr->basedir, NULL); in ta_fetch()
418 tr->basedir = repo_dir(tal->descr, ".ta", 0); in ta_get()
421 if (mkpath(tr->basedir) == -1) { in ta_get()
422 warn("mkpath %s", tr->basedir); in ta_get()
71 char *basedir; global() member
80 char *basedir; global() member
93 char *basedir; global() member
[all...]
/openbsd-src/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c77 static char *basedir; /* dir holding master.passwd */ variable
120 basedir = optarg; in main()
121 if (strlen(basedir) > PATH_MAX - 40) in main()
122 errx(1, "basedir too long"); in main()
167 if (**argv != '/' && basedir == NULL) in main()
170 if ((pname = strdup(changedir(*argv, basedir))) == NULL) in main()
219 changedir(_PATH_SMP_DB, basedir)); in main()
221 cp(changedir(_PATH_SMP_DB, basedir), buf, PERM_SECURE); in main()
243 changedir(_PATH_MP_DB, basedir)); in main()
245 cp(changedir(_PATH_MP_DB, basedir), bu in main()
[all...]
/openbsd-src/regress/sys/fileops/
H A Dfileops2.pl15 my $basedir = $ARGV[1] or usage();
18 many_files_test($basedir, 500);
20 my $dir = "$basedir/subdir";
25 file_write_test("$basedir/file");
/openbsd-src/usr.bin/rsync/
H A Dcopy.c68 copy_file(int rootfd, const char *basedir, const struct flist *f) in copy_file() argument
72 dfd = openat(rootfd, basedir, O_RDONLY | O_DIRECTORY); in copy_file()
74 err(ERR_FILE_IO, "%s: openat", basedir); in copy_file()
78 err(ERR_FILE_IO, "%s/%s: openat", basedir, f->path); in copy_file()
H A Dfargs.c153 if (sess->opts->basedir[j] == NULL) in fargs_cmdline()
157 sess->opts->basedir[j]); in fargs_cmdline()
H A Dmain.c485 goto basedir; in main()
494 goto basedir; in main()
504 basedir: in main()
509 opts.basedir[basedir_cnt++] = optarg; in main()
H A Duploader.c754 for (i = 0; sess->opts->basedir[i] != NULL; i++) { in pre_file()
755 const char *root = sess->opts->basedir[i]; in pre_file()
784 copy_file(p->rootfd, sess->opts->basedir[match], f); in pre_file()
H A Dextern.h161 char *basedir[MAX_BASEDIR]; member
H A Dreceiver.c209 if (sess->opts->basedir[0]) { in rsync_receiver()
/openbsd-src/gnu/llvm/clang/docs/
H A Dconf.py231 basedir = os.path.dirname(__file__) variable
234 command_guide_path = os.path.join(basedir, command_guide_subpath)
/openbsd-src/usr.bin/mandoc/
H A Dmandocdb.c168 static char basedir[PATH_MAX]; /* current base directory */ variable
584 if (strncmp(buf, basedir, basedir_len) != 0) { in treescan()
792 else if (strncmp(usefile, basedir, basedir_len) == 0) in filescan()
827 if (strncmp(infile, basedir, basedir_len) == 0) { in filescan()
2287 *basedir = '\0'; in set_basedir()
2313 if (realpath(targetdir, basedir) == NULL) { in set_basedir()
2318 *basedir = '\0'; in set_basedir()
2320 } else if (chdir(basedir) == -1) { in set_basedir()
2325 *basedir = '\0'; in set_basedir()
2329 basedir_len = strlen(basedir); in set_basedir()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/builtin_commands/
H A Ddiff.py21 def getDirTree(path, basedir=""): argument
25 for dirname, child_dirs, files in os.walk(os.path.join(basedir, path)):
121 def printOnlyIn(basedir, path, name): argument
122 sys.stdout.write("Only in %s: %s\n" % (os.path.join(basedir, path), name))
/openbsd-src/gnu/usr.bin/binutils-2.17/
H A Dylwrap40 --basedir)
41 basedir=$2
/openbsd-src/gnu/llvm/llvm/docs/
H A Dconf.py235 basedir = os.path.dirname(__file__) variable
238 command_guide_path = os.path.join(basedir, command_guide_subpath)
/openbsd-src/usr.sbin/unbound/smallapp/
H A Dunbound-checkconf.c527 basedir(char* fname) in basedir()
692 char* bd = basedir(ad); in morechecks()
699 char* bd = basedir(ad); in morechecks()
524 basedir(char* fname) basedir() function
/openbsd-src/gnu/gcc/config/
H A Dlib-link.m4336 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
337 additional_includedir="$basedir/include"
/openbsd-src/gnu/usr.bin/texinfo/m4/
H A Dlib-link.m4336 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
337 additional_includedir="$basedir/include"
/openbsd-src/gnu/usr.bin/binutils-2.17/config/
H A Dlib-link.m4336 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
337 additional_includedir="$basedir/include"
/openbsd-src/gnu/llvm/llvm/lib/Support/Unix/
H A DPath.inc1391 // http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
1413 // http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
/openbsd-src/gnu/llvm/llvm/cmake/modules/
H A DAddLLVM.cmake1657 # Paths that are on a different drive than the basedir (on Windows) or that
1660 function(make_paths_relative out_pathlist basedir pathlist)
1678 ${basedir}
/openbsd-src/gnu/gcc/intl/
H A Dconfigure5389 additional_includedir="$basedir/include"
6610 additional_includedir="$basedir/include"
/openbsd-src/gnu/usr.bin/texinfo/
H A Dconfigure11090 additional_includedir="$basedir/include"
12754 additional_includedir="$basedir/include"
/openbsd-src/gnu/gcc/libcpp/
H A Dconfigure7761 additional_includedir="$basedir/include"

12