Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 705) sorted by relevance

12345678910>>...29

/original-bsd/sys/conf/
H A Dfiles.newconf55 file kern/kern_sig.c
60 file kern/kern_xxx.c
71 file kern/tty.c
77 file kern/tty_tty.c
85 file kern/vfs_bio.c
123 file net/if.c
127 file net/radix.c
128 file net/raw_cb.c
130 file net/route.c
131 file net/rtsock.c
[all …]
/original-bsd/games/sail/
H A Ddr_3.c30 if (sp->file->captain[0] || sp->file->dir == 0) in moveall()
116 sq->file->row = sp->file->row - 1; in moveall()
119 sq->file->col = in moveall()
122 sq->file->col = sp->file->col; in moveall()
123 sq->file->dir = sp->file->dir; in moveall()
199 sp->file->dir = 1;
203 sp->file->dir = 8;
211 sp->file->row -= dr[sp->file->dir] * dist;
212 sp->file->col -= dc[sp->file->dir] * dist;
239 bp = isdefense ? from->file->DBP : from->file->OBP;
[all …]
H A Dmisc.c25 if (!to->file->dir)
59 if (sp->file->dir == 0)
107 Dr = from->file->row - to->file->row;
108 Dc = to->file->col - from->file->col;
116 Dr += dr[to->file->dir];
129 Dr = from->file->row - on->file->row;
130 Dc = on->file->col - from->file->col;
147 if (sp->file->struck)
149 if (sp->file->explode)
151 if (sp->file->sink)
[all …]
H A Dsync.c226 ship->file->nfoul++;
235 ship->file->ngrap++;
245 ship->file->nfoul--;
279 ship->file->captain[sizeof ship->file->captain - 1] = 0;
295 ship->file->dir = 0;
298 ship->file->FS = a;
318 ship->file->movebuf[sizeof ship->file->movebuf - 1] = 0;
350 ship->file->col = a;
353 ship->file->dir = a;
356 ship->file->row = a;
[all …]
H A Ddr_main.c39 if (sp->file == NULL && in dr_main()
40 (sp->file = (struct File *)calloc(1, sizeof (struct File))) == NULL) { in dr_main()
44 sp->file->index = sp - SHIP(0); in dr_main()
45 sp->file->loadL = L_ROUND; in dr_main()
46 sp->file->loadR = L_ROUND; in dr_main()
47 sp->file->readyR = R_LOADED|R_INITIAL; in dr_main()
48 sp->file->readyL = R_LOADED|R_INITIAL; in dr_main()
49 sp->file->stern = nat[sp->nationality]++; in dr_main()
50 sp->file->dir = sp->shipdir; in dr_main()
51 sp->file->row = sp->shiprow; in dr_main()
[all …]
/original-bsd/sys/sparc/conf/
H A Dfiles.sparc13 file sparc/sparc/auxreg.c
17 file sparc/sparc/clock.c
20 file sparc/sparc/cpu.c
23 file sparc/sparc/memreg.c
53 file sparc/dev/cons.c
54 file sparc/dev/event.c
55 file sparc/dev/fb.c
61 file sparc/dev/ms.c
63 file sparc/fpu/fpu.c
84 file sparc/sparc/conf.c
[all …]
/original-bsd/sys/luna68k/stand/
H A Dsys.c42 find(path, file) in find() argument
44 struct iob *file;
345 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
352 if (file->i_offset+count > file->i_ino.di_size)
353 count = file->i_ino.di_size - file->i_offset;
366 file->i_bn = fsbtodb(fs, sbmap(file, lbn)) +
417 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
479 file->i_unit = file->i_unit * 10 + *cp++ - '0';
480 if (file->i_unit < 0 || file->i_unit > 63) {
514 file->i_ma = (char *)(&file->i_fs);
[all …]
/original-bsd/sys/tahoe/stand/
H A Dsys.c44 find(path, file) in find() argument
46 struct iob *file;
351 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
360 if (file->i_offset+count > file->i_ino.i_size)
361 count = file->i_ino.i_size - file->i_offset;
374 file->i_bn = fsbtodb(fs, sbmap(file, lbn)) +
426 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
524 file->i_cc = 0;
528 file->i_ma = (char *)(&file->i_fs);
530 file->i_bn = SBOFF / DEV_BSIZE + file->i_boff;
[all …]
/original-bsd/sys/hp300/stand/
H A Dsys.c41 find(path, file) in find() argument
43 struct iob *file;
347 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
355 if (file->i_offset+count > file->i_ino.di_size)
356 count = file->i_ino.di_size - file->i_offset;
369 file->i_bn = fsbtodb(fs, sbmap(file, lbn)) +
421 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
542 file->i_unit = file->i_unit * 10 + *cp++ - '0';
543 if (file->i_unit < 0 || file->i_unit > 63) {
572 file->i_ma = (char *)(&file->i_fs);
[all …]
/original-bsd/games/mille/
H A Dvarpush.c25 varpush(file, func) in varpush() argument
26 reg int file; in varpush()
31 (*func)(file, (char *) &Debug, sizeof Debug);
33 (*func)(file, (char *) &Order, sizeof Order);
34 (*func)(file, (char *) &End, sizeof End);
37 (*func)(file, (char *) &Numgos, sizeof Numgos);
39 (*func)(file, (char *) &Play, sizeof Play);
40 (*func)(file, (char *) &Window, sizeof Window);
41 (*func)(file, (char *) Deck, sizeof Deck);
45 read(file, (char *) &temp, sizeof temp);
[all …]
/original-bsd/sys/stand.att/
H A Dread.c44 file->i_cc = count;
45 file->i_ma = buf;
46 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
47 i = devread(file);
55 if (file->i_offset+count > file->i_ino.di_size)
56 count = file->i_ino.di_size - file->i_offset;
63 fs = &file->i_fs;
70 file->i_bn = fsbtodb(fs, bmap(file, lbn)) +
71 file->i_boff;
73 file->i_ma = buf;
[all …]
H A Dopen.c65 file->i_adapt = file->i_ctlr = file->i_unit =
126 opendev = MAKEBOOTDEV(file->i_dev, file->i_adapt, file->i_ctlr,
127 file->i_unit, file->i_part);
134 file->i_cc = 0;
145 file->i_ma = (char *)(&file->i_fs);
147 file->i_bn = SBOFF / DEV_BSIZE + file->i_boff;
148 file->i_offset = 0;
163 file->i_cc = 0;
172 file->i_flgs = 0;
231 find(path, file) in find() argument
[all …]
H A Dwrite.c20 register struct iob *file; local
31 ((file = &iob[fdesc])->i_flgs&F_ALLOC) == 0) {
35 if ((file->i_flgs&F_WRITE) == 0) {
39 file->i_cc = count;
40 file->i_ma = buf;
41 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
42 i = devwrite(file);
43 file->i_offset += count;
45 errno = file->i_error;
H A Dioctl.c18 register struct iob *file; local
23 ((file = &iob[fdesc])->i_flgs&F_ALLOC) == 0) {
30 file->i_flgs |= F_HDR;
34 file->i_flgs |= F_CHECK;
38 file->i_flgs |= F_HCHECK;
42 file->i_flgs |= F_NBSF;
46 file->i_flgs &= ~F_NBSF;
50 error = devioctl(file, cmd, arg);
54 errno = file->i_error;
/original-bsd/sys/i386/stand/
H A Dsys.c50 find(path, file) in find() argument
52 struct iob *file;
460 file->i_ma = buf;
461 file->i_bn = file->i_boff + (file->i_offset / DEV_BSIZE);
549 devopen(file);
553 file->i_cc = 0;
557 file->i_ma = file->i_buf;
559 file->i_bn = SBLOCK + file->i_boff;
566 file->i_fs = *(struct fs *)(file->i_buf);
583 file->i_cc = 0;
[all …]
/original-bsd/contrib/perl-4.036/
H A Dmakedepend.SH89 for file in `$cat .clist`; do
91 case "$file" in
95 case "$file" in
100 ( $echo "#line 1 \"$file\""; \
101 $sed -n <$file \
107 -e '}' ) >$file.c
125 for file in `cat .shlist`; do
126 $echo `$expr X$file : 'X\(.*\).SH'`: $file config.sh \; \
127 /bin/sh $file >> .deptmp
157 $echo `$expr X$file : 'X\(.*\).SH'`: $file config.sh \; \
[all …]
/original-bsd/usr.sbin/lpr/common_source/
H A Drmjob.c162 process(file) in process() argument
163 char *file; in process()
167 if (!chk(file))
170 fatal("cannot open %s", file);
183 printf(unlink(file) ? "cannot dequeue %s\n" : "%s dequeued\n", file);
190 chk(file) in chk() argument
191 char *file; in chk()
200 if (strlen(file) < 7 || file[0] != 'c' || file[1] != 'f')
220 return(!strcmp(file, current) && isowner(line+1, file));
245 isowner(owner, file) in isowner() argument
[all …]
/original-bsd/usr.bin/uucp/libuu/
H A Dexpfile.c25 expfile(file) in expfile() argument
26 char *file; in expfile()
33 switch(file[0]) {
37 for (fpart = file + 1, up = user; *fpart != '\0'
46 strcpy(file, full);
49 p = index(file, '/');
52 strcat(full, file);
53 strcpy(file, full);
122 ckexpf(file) in ckexpf() argument
123 register char *file; in ckexpf()
[all …]
H A Danlwrk.c41 anlwrk(file, wvec) in anlwrk() argument
42 register char *file, **wvec; in anlwrk()
52 if (file[0] == '\0') {
67 bnp = rindex(file, '/');
69 xmv(file, rqstr);
71 subfile(file));
72 unlink(subfile(file));
91 unlink(subfile(file));
93 US_RRS(file, Usrf);
95 file[0] = '\0';
[all …]
/original-bsd/usr.bin/uucp/UUAIDS/
H A Dclean.daily16 foreach file ( $files )
17 mv $file o$file
18 cp /dev/null $file
19 chmod 664 $file
24 foreach file ( $files )
28 if ($x == $days) rm $archdir/$file.$x
29 mv -f $archdir/$file.$y $archdir/$file.$x
32 mv o$file $archdir/$file.0
/original-bsd/usr.bin/ar/
H A Dextract.c41 char *file; local
56 file = chdr.name;
57 else if (!(file = files(argv))) {
62 if (options & AR_U && !stat(file, &sb) &&
66 if ((tfd = open(file, O_WRONLY|O_CREAT|O_TRUNC, S_IWUSR)) < 0) {
67 warn("%s", file);
74 (void)printf("x - %s\n", file);
77 cf.wname = file;
81 warn("chmod: %s", file);
86 if (utimes(file, tv)) {
[all …]
/original-bsd/contrib/dungeon/
H A DREADME73 advers.h -header file
74 clock.h -header file
75 curxt.h -header file
76 debug.h -header file
77 exits.h -header file
79 flags.h -header file
81 io.h -header file
83 oflags.h -header file
84 oindex.h -header file
85 parser.h -header file
[all …]
/original-bsd/etc/mtree/
H A D4.4BSD.usr7 /set type=file gname=wheel uname=root mode=0755
11 /set type=file gname=sww uname=sww mode=02775
18 /set type=file gname=wheel uname=root mode=0775
25 /set type=file gname=wheel uname=root mode=0755
32 /set type=file gname=bin uname=bin mode=0555
39 /set type=file gname=wheel uname=root mode=0755
43 /set type=file gname=wheel uname=root mode=0755
50 /set type=file gname=wheel uname=root mode=0755
79 /set type=file gname=wsrc uname=bin mode=0664
86 /set type=file gname=wsrc uname=bin mode=0664
[all …]
H A D4.4BSD.root7 /set type=file gname=wheel uname=root mode=0755
11 /set type=file gname=guest uname=root mode=0755
24 /set type=file gname=wheel uname=root mode=0755
37 /set type=file gname=bin uname=bin mode=0555
44 /set type=file gname=wheel uname=root mode=0750
55 /set type=file gname=bin uname=bin mode=0666
65 /set type=file gname=wheel uname=root mode=0750
72 /set type=file gname=wheel uname=root mode=0644
76 /set type=file gname=wheel uname=root mode=0444
83 /set type=file gname=wheel uname=root mode=0444
[all …]
/original-bsd/local/ditroff/ditroff.old.okeeffe/gremlin.aed/gprint/
H A Dhdb.c57 ELT *DBRead(file, orient, pos) in DBRead() argument
58 register FILE *file; in DBRead()
77 (void) fscanf(file,"%s",string);
82 (void) fscanf(file, "%d%f%f", orient, &x, &y);
88 if (fscanf(file,"%d", &type) == EOF) {
94 (void) fclose(file);
96 (void) fscanf(file, "%f%f", &x, &y);
100 (void) fscanf(file, "%f%f", &x, &y);
102 (void) fscanf(file, "%d%d", &brush, &size);
103 (void) fscanf(file, "%d", &len);
[all …]

12345678910>>...29