Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 213) sorted by relevance

123456789

/original-bsd/etc/mtree/
H A D4.4BSD.var8 . type=dir
46 db type=dir
157 spool type=dir
161 ftp type=dir
186 pub type=dir
216 data type=dir
219 OLD type=dir
225 ctlbin type=dir
231 innd type=dir
237 trn type=dir
[all …]
H A D4.4BSD.root8 . type=dir
12 a type=dir gname=wheel
18 altroot type=dir gname=wheel
25 amd type=dir mode=0555
31 b type=dir mode=0775
45 c type=dir mode=0755
73 etc type=dir mode=0755
105 sliphome type=dir
120 mnt type=dir
154 usr type=dir
[all …]
H A D4.4BSD.usr8 . type=dir
26 X11R5 type=dir
40 contrib type=dir
44 bin type=dir
51 lib type=dir
111 jove type=dir
128 man type=dir
194 mh-6.8 type=dir
198 bin type=dir
215 news type=dir
[all …]
H A Dspecial6 . type=dir mode=0755 uname=root gname=wheel
8 dev type=dir mode=0755 uname=root gname=wheel
10 fd type=dir mode=0755 uname=root gname=wheel ignore
16 etc type=dir mode=0755 uname=root gname=wheel
36 mtree type=dir mode=0755 uname=root gname=wheel
54 root type=dir mode=0755 uname=root gname=wheel
65 usr type=dir mode=0755 uname=root gname=wheel
92 new type=dir mode=0755 uname=root gname=wheel
98 old type=dir mode=0755 uname=root gname=wheel
112 var type=dir mode=0755 uname=root gname=wheel
[all …]
/original-bsd/games/sail/
H A Dgame.c29 maxmove(ship, dir, fs) in maxmove() argument
31 int dir, fs;
48 if (dir == winddir)
50 else if (dir == winddir + 2 || dir == winddir - 2 || dir == winddir - 6 || dir == winddir + 6)
52 else if (dir == winddir + 3 || dir == winddir - 3 || dir == winddir - 5 || dir == winddir + 5)
54 else if (dir == winddir + 4 || dir == winddir - 4)
H A Ddr_2.c52 if (sp->file->dir == 0) in checkup()
128 if ((dir = fp->dir) == 0)
147 fp->dir = dir;
155 register char *dir;
165 if (++*dir == 9)
166 *dir = 1;
169 if (--*dir == 0)
170 *dir = 8;
175 if (*dir % 2 == 0)
225 …command, temp, ma-1, ta-1, af, min(ma-1, maxmove(f, (dir == 8 ? 1 : dir+1), 0)), (dir == 8 ? 1 : d…
[all …]
H A Ddr_3.c60 dir[n] = sp->file->dir; in moveall()
78 else if (sp->file->dir) in moveall()
95 if (sq->file->dir == 0) in moveall()
117 if (sp->file->dir == 1 in moveall()
123 sq->file->dir = sp->file->dir; in moveall()
137 if (sp->file->dir != 0) { in moveall()
143 if (dir[n] != sp->file->dir) in moveall()
198 if (++sp->file->dir == 9)
199 sp->file->dir = 1;
202 if (--sp->file->dir == 0)
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/eqn/
H A Dmove.c7 move(dir, amt, p) in move() argument
8 int dir, amt, p; in move()
15 if (dir == FWD || dir == BACK)
16 printf("\\h'%s%gm'\\*(%d\n", (dir==BACK) ? "-" : "", a, p);
17 else if (dir == UP)
19 else if (dir == DOWN)
22 p, dir, a, eht[yyval], ebase[yyval]);
/original-bsd/old/eqn/common_source/
H A Dmove.c15 move(dir, amt, p) int dir, amt, p; { in move() argument
25 if( dir == FWD || dir == BACK ) /* fwd, back */
26 printf("\\h'%s%du'\\*(%d\n", (dir==BACK) ? "-" : "", a, p);
27 else if (dir == UP)
29 else if (dir == DOWN)
32 p, dir, a, eht[yyval], ebase[yyval]);
/original-bsd/usr.bin/uucp/port/LIBNDIR/
H A Dreaddir.c24 static struct direct dir; local
41 dir.d_ino = dp->od_ino;
42 strncpy(dir.d_name, dp->od_name, ODIRSIZ);
43 dir.d_name[ODIRSIZ] = '\0'; /* insure null termination */
44 dir.d_namlen = strlen(dir.d_name);
45 dir.d_reclen = DIRBLKSIZ;
46 return (&dir);
/original-bsd/usr.bin/window/
H A Dwwscroll.c22 register dir; local
27 dir = n < 0 ? -1 : 1;
37 w->ww_buf += dir;
38 w->ww_b.t -= dir;
39 w->ww_b.b -= dir;
54 wwscroll1(w, row1, row2, dir, leaveit) in wwscroll1() argument
56 int row1, row2, dir;
98 xxscroll(dir, row1x, row2x);
107 if (dir > 0) {
134 if (dir > 0) {
[all …]
/original-bsd/usr.sbin/amd/amd/
H A Dinfo_union.c80 char **dir; local
87 for (dir = v; *dir; dir++) {
90 DIR *dirp = opendir(*dir);
92 plog(XLOG_USER, "Cannot read directory %s: %m", *dir);
95 dlen = strlen(*dir);
97 dlog("Reading directory %s...", *dir);
110 sprintf(val, "fs:=%s", *dir);
118 { char *val = xmalloc(strlen(dir[-1]) + 5);
119 sprintf(val, "fs:=%s", dir[-1]);
H A Dinfo_passwd.c57 char *dir = 0; local
80 dir = strdup(pw->pw_dir);
84 user = strrchr(dir, '/');
91 p = strchr(dir+1, '/');
114 if (*rhost == '\0' || *user == '\0' || *dir == '\0')
123 dir, rhost, rhost, user, pw->pw_dir);
131 if (dir)
132 free(dir);
H A Dhost_ops.c112 char *dir;
122 (void) mkdirs(dir, 0555);
145 char *dir;
190 char *dir;
385 char *dir;
388 if (strncmp(pref, dir, len) != 0)
390 if (dir[len] == '/' || dir[len] == '\0')
432 char *dir = ml->mnt->mnt_dir; local
436 dlog("host: unmounts %s", dir);
441 error = UMOUNT_FS(dir);
[all …]
/original-bsd/games/atc/
H A Dgrammar.y172 int dir; variable
185 dir = dir_no($4);
188 sp->exit[sp->num_exits].dir = dir;
205 int dir; variable
218 dir = dir_no($4);
221 sp->airport[sp->num_airports].dir = dir;
304 check_edir(x, y, dir) in check_edir() argument
319 case 01: if (dir < 1 || dir > 3) bad++; break; in check_edir()
321 case 10: if (dir < 3 || dir > 5) bad++; break; in check_edir()
323 case 12: if (dir > 1 && dir < 7) bad++; break; in check_edir()
[all …]
H A Dinput.c375 dir = D_LEFT; in left()
376 p.new_dir = p.dir - 1; in left()
385 dir = D_RIGHT; in right()
386 p.new_dir = p.dir + 1; in right()
423 if (xdiff != displacement[p.dir].dx || ydiff != displacement[p.dir].dy) in delayb()
479 dir = D_UP; in climb()
486 dir = D_DOWN; in descend()
505 switch (dir) { in setrelalt()
567 switch (dir) { in rel_dir()
621 int dir; local
[all …]
/original-bsd/usr.sbin/amd/config/
H A Dmount_stellix.c25 stellix_mount(fsname, dir, flags, type, data) in stellix_mount() argument
27 char *dir;
34 dlog("stellix_mount: fsname %s, dir %s, type %d", fsname, dir, type);
39 return mount(dir, dir, (MS_FSS|MS_NFS|flags),
44 return mount(fsname, dir, (MS_FSS|flags), type);
H A Dmount_irix.c29 irix_mount(fsname, dir, flags, type, data) in irix_mount() argument
31 char *dir;
39 dlog("irix_mount: fsname %s, dir %s, type %d", fsname, dir, type);
46 return mount(dir, dir, (MS_FSS|MS_DATA|flags),
51 return mount(fsname, dir, (MS_FSS|flags), type);
/original-bsd/games/hack/
H A Dhack.main.c67 dir = argv[0]+2;
68 if(*dir == '=' || *dir == ':') dir++;
72 dir = argv[0];
74 if(!*dir)
107 chdirx(dir,0);
136 chdirx(dir,1);
450 chdirx(dir, wr) in chdirx() argument
451 char *dir; in chdirx()
471 if(dir && chdir(dir) < 0) {
472 perror(dir);
[all …]
/original-bsd/usr.bin/ex/
H A Dex_vops3.c95 if (dir > 0) {
116 if (dir > 0) {
150 dir = 1;
178 if (dir < 0 && c == '(' || dir > 0 && c == ')') {
194 if (dir < 0 && c == ')' || dir > 0 && c == '(') {
207 } else if (dir < 0 && c == '(' || dir > 0 && c == ')')
303 dir = -1;
313 dir = 1;
342 dir = -1;
345 dir = 1;
[all …]
/original-bsd/local/sccscmds/sccscmds.2/com/
H A Ddofile.c18 DIR *dir; local
36 if((dir = opendir(p)) == 0)
38 (void) readdir(dir); /* skip . */
39 (void) readdir(dir); /* and .. */
40 while (dp = readdir(dir)) {
48 closedir(dir);
/original-bsd/local/sccscmds/sccscmds.ok/com/
H A Ddofile.c18 DIR *dir; local
36 if((dir = opendir(p)) == 0)
38 (void) readdir(dir); /* skip . */
39 (void) readdir(dir); /* and .. */
40 while (dp = readdir(dir)) {
48 closedir(dir);
/original-bsd/local/sccscmds/sccscmds.2/util/
H A Dcurdir.c15 static struct direct *dir; variable
43 if ((dir = readdir(dirp)) == 0)
45 while (dir->d_ino != d.st_ino);
48 if ((dir = readdir(dirp)) == 0)
50 stat(dir->d_name, &dd);
69 i = dir->d_namlen; in cat()
79 name[i] = dir->d_name[i]; in cat()
/original-bsd/local/sccscmds/sccscmds.ok/util/
H A Dcurdir.c15 static struct direct *dir; variable
43 if ((dir = readdir(dirp)) == 0)
45 while (dir->d_ino != d.st_ino);
48 if ((dir = readdir(dirp)) == 0)
50 stat(dir->d_name, &dd);
69 i = dir->d_namlen; in cat()
79 name[i] = dir->d_name[i]; in cat()
/original-bsd/usr.sbin/mtree/
H A Dmtree.c44 char *dir, *p; local
46 dir = NULL;
75 dir = optarg;
101 if (dir && chdir(dir))
102 err("%s: %s", dir, strerror(errno));

123456789