Searched refs:dir (Results 1 - 25 of 1085) sorted by relevance

1234567891011>>

/openbsd-current/gnu/lib/libreadline/support/
H A Dmkdirs24 for dir
27 test -d "$dir" && continue
29 tomake=$dir
30 while test -n "$dir" ; do
31 # dir=${dir%/*}
32 # dir=`expr "$dir" ':' '\(/.*\)/[^/]*'`
33 if dir=`expr "$dir" '
[all...]
/openbsd-current/gnu/usr.bin/texinfo/util/
H A Dtex3patch12 * ) dir=$arg
16 if [ -z "$dir" ]; then
17 dir='.'
20 if [ 2 -lt $# ] || [ ! -f "$dir/texinfo.tex" ]; then
56 echo "Patching $dir/texinfo.tex"
59 $dir/texinfo.tex >$TMPDIR/texinfo.tex
60 mv $dir/texinfo.tex $dir/texinfo.tex-distrib; mv $TMPDIR/texinfo.tex $dir
63 echo "Patched $dir/texinf
[all...]
/openbsd-current/regress/lib/libfuse/
H A Dfuse-mount.c24 const char *dir = "/mnt"; local
26 fc = fuse_mount(dir, NULL);
30 fuse_unmount(dir, fc);
H A Dfuse-parse-cmdline.c32 test_all_args(char **dir, int *multithreaded, int *foreground) argument
47 if (dir != NULL)
48 *dir = NULL;
56 if (fuse_parse_cmdline(&args, dir, multithreaded, foreground) != 0)
59 if (dir != NULL && strcmp(*dir, "/mnt") != 0)
77 char *dir; local
82 test_all_args(&dir, NULL, NULL);
83 test_all_args(&dir, &multithreaded, NULL);
84 test_all_args(&dir,
[all...]
/openbsd-current/regress/sys/kern/sosplice/error/
H A Dremote.pl32 my $dir = dirname($0);
33 $dir = getcwd() if ! $dir || $dir eq ".";
35 "-I", "$dir/..", "$dir/error.pl", "$dir/".basename($testfile));
/openbsd-current/gnu/usr.bin/cvs/vms/
H A Ddir.h52 typedef struct dir$_name {
53 /* short dir$w_size; /* if you read with RMS, it eats this... */
54 short dir$w_verlimit; /* maximum number of versions */
57 #define dir$b_flags dir__b_flags.dir_b_flags
60 #define dir$v_type dir__b_flags.dir___b_flags.dir_v_type
63 #define dir$v_nextrec dir__b_flags.dir___b_flags.dir_v_nextrec
65 #define dir$v_prevrec dir__b_flags.dir___b_flags.dir_v_prevrec
68 unsigned char dir$b_namecount;
69 char dir$t_name[];
70 } dir
[all...]
/openbsd-current/gnu/llvm/llvm/utils/
H A DUpdateCMakeLists.pl12 my $dir = shift;
13 my $x = $dirFiles{$dir};
16 $dirFiles{$dir} = $x;
23 my $dir = $File::Find::dir;
26 $dirCMake{$dir} = $File::Find::name;
36 $files = GetFiles($dir);
46 my $dir = shift;
47 my $files = $dirFiles{$dir};
62 my $dir
[all...]
/openbsd-current/gnu/usr.bin/perl/lib/
H A Dblib.pm11 perl -Mblib=dir script [args...]
16 I<dir> (or current directory) and working back up to five levels of '..'.
48 my $dir;
55 chomp($dir = `cd`);
58 $dir = getcwd;
60 if ($^O eq 'VMS') { ($dir = VMS::Filespec::unixify($dir)) =~ s-/\z--; }
63 $dir = shift;
64 $dir =~ s/blib\z//;
65 $dir
[all...]
/openbsd-current/regress/sys/kern/unveil-unmount/
H A Dunveil-unlink.c26 char *dir, *file, *path; local
30 errx(2, "usage: unveil-unlink dir file");
32 dir = argv[1];
34 if (asprintf(&path, "%s/%s", dir, file) == -1)
39 err(1, "open %s", dir);
42 if (unveil(dir, "r") == -1)
43 err(1, "unveil %s", dir);
H A Dunveil-chdir.c27 char *cwd, *dir, *file, *path = NULL; local
30 errx(2, "usage: unveil-chdir cwd dir [file]");
33 dir = argv[2];
36 if (asprintf(&path, "%s/%s", dir, file) == -1)
43 if (unveil(dir, "") == -1)
44 err(1, "unveil %s", dir);
H A Dunveil-chroot.c27 char *root, *dir, *file, *path = NULL; local
30 errx(2, "usage: unveil-chroot root dir [file]");
33 dir = argv[2];
36 if (asprintf(&path, "%s/%s", dir, file) == -1)
43 if (unveil(dir, "") == -1)
44 err(1, "unveil %s", dir);
H A Dunveil-perm.c27 char *perm, *dir, *file, *path = NULL; local
30 errx(2, "usage: unveil-perm perm dir [file]");
33 dir = argv[2];
36 if (asprintf(&path, "%s/%s", dir, file) == -1)
40 if (unveil(dir, perm) == -1)
41 err(1, "unveil %s %s", dir, perm);
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/
H A DMakefile.in20 for dir in ${SUBDIRS}; \
22 echo "$$dir:"; \
23 if [ -d $$dir ]; then \
24 (cd $$dir; $(MAKE) clean); \
34 for dir in ${SUBDIRS}; \
36 echo "$$dir:"; \
37 if [ -d $$dir ]; then \
38 (cd $$dir; $(MAKE) distclean); \
/openbsd-current/libexec/tradcpp/
H A Dfiles.h35 void files_addquotepath(const char *dir, bool issystem);
36 void files_addbracketpath(const char *dir, bool issystem);
/openbsd-current/regress/sys/kern/realpath-unmount/
H A Drealpath-chdir.c28 char *cwd, *dir, *path = NULL; local
32 errx(2, "usage: realpath-chdir cwd dir");
35 dir = argv[2];
40 if (realpath(dir, res) == NULL)
41 err(1, "realpath %s", dir);
H A Drealpath-chroot.c28 char *root, *dir, *path = NULL; local
32 errx(2, "usage: realpath-chroot root dir");
35 dir = argv[2];
40 if (realpath(dir, res) == NULL)
41 err(1, "realpath %s", dir);
/openbsd-current/games/sail/
H A Dgame.c50 maxmove(struct ship *ship, int dir, int fs) argument
67 if (dir == winddir)
69 else if (dir == winddir + 2 || dir == winddir - 2 || dir == winddir - 6 || dir == winddir + 6)
71 else if (dir == winddir + 3 || dir == winddir - 3 || dir == winddir - 5 || dir
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/podlators/t/docs/
H A Dsynopsis.t59 my ($volume, $dir, $file) = File::Spec->splitpath($path);
60 my @dir = File::Spec->splitdir($dir);
61 return (scalar(@dir) < 2 || $dir[0] ne 'blib' || $dir[1] ne 'script');
/openbsd-current/regress/usr.bin/mandoc/db/run/
H A DMakefile101 mkdir -p empty.dir
102 makewhatis empty.dir
103 if man -kM empty.dir something > empty.mout 2> empty.merr; \
108 mkdir -p onepage.dir/man1
109 cp ${.CURDIR}/../man/empty.1 onepage.dir/man1/
110 makewhatis onepage.dir
111 man -kM onepage.dir title > onepage.mout
112 cp onepage.dir/mandoc.db onepage.db
116 mkdir -p twopages.dir/man1
117 cp ${.CURDIR}/../man/empty.1 twopages.dir/man
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dmklibgcc.in77 dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
79 out="libgcc/${dir}/${name}${objext}"
110 dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
112 out="libgcc/${dir}/${name}${objext}"
123 dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
125 out="libgcc/${dir}/${name}${objext}"
136 dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
138 out="libgcc/${dir}/${name}${objext}"
150 dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
152 out="libgcc/${dir}/
[all...]
/openbsd-current/gnu/usr.bin/perl/os2/
H A Dperl2cmd.pl7 $dir = shift;
8 $dir =~ s|/|\\|g ;
9 $nowarn = 1, $dir = shift if $dir eq '-n';
11 die <<EOU unless defined $dir and -d $dir;
30 my $new = (-f "$dir/$base.cmd" ? '' : ' (new file)');
31 print "Processing $file => $dir/$base.cmd$new\n";
34 open OUT, '>', "$dir/$base$ext" or warn, next;
42 chmod 0444, "$dir/
[all...]
/openbsd-current/lib/libcrypto/arch/powerpc64/
H A DMakefile.inc19 .for dir src dst in ${SSLASM}
22 ${dst}.S: ${LCRYPTO_SRC}/${dir}/asm/${src}.pl
24 ${LCRYPTO_SRC}/${dir}/asm/${src}.pl linux32 ${.TARGET} > ${.TARGET}
/openbsd-current/lib/libcrypto/arch/aarch64/
H A DMakefile.inc5 .for dir f in ${SSLASM}
8 ${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl
10 ${LCRYPTO_SRC}/${dir}/asm/${f}.pl void ${.TARGET} > ${.TARGET}
/openbsd-current/usr.sbin/amd/amd/
H A Dinfo_union.c85 char **dir; local
93 for (dir = v; *dir; dir++) {
94 DIR *dirp = opendir(*dir);
99 plog(XLOG_USER, "Cannot read directory %s: %m", *dir);
102 dlen = strlen(*dir);
104 dlog("Reading directory %s...", *dir);
118 snprintf(val, dlen + 5, "fs:=%s", *dir);
128 char *val = xmalloc(strlen(dir[
[all...]
/openbsd-current/gnu/llvm/lldb/scripts/lldb-test-qemu/
H A Drootfs.sh80 mkdir $image_name.dir
81 sudo mount -o loop $image_name.img $image_name.dir
83 sudo qemu-debootstrap --arch $rfs_arch $rfs_distro $image_name.dir
85 sudo chroot $image_name.dir locale-gen en_US.UTF-8
87 sudo chroot $image_name.dir sed -i \
90 sudo chroot $image_name.dir sed -i '$ a\nameserver 8.8.8.8' /etc/resolv.conf
92 sudo chroot $image_name.dir apt update
93 sudo chroot $image_name.dir apt -y install ssh bash-completion
94 sudo chroot $image_name.dir adduser --gecos "" $USER
95 sudo chroot $image_name.dir adduse
[all...]

Completed in 186 milliseconds

1234567891011>>