/original-bsd/games/hack/ |
H A D | hack.options.c | 13 flags.time = flags.nonews = flags.notombstone = flags.end_own = in initoptions() 14 flags.standout = flags.nonull = FALSE; in initoptions() 17 flags.end_top = 5; in initoptions() 18 flags.end_around = 4; in initoptions() 55 flags.nonull = negated; 65 flags.nonews = negated; 70 flags.time = !negated; 71 flags.botl = 1; 127 flags.end_top = num; 190 if(flags.end_top != 5 || flags.end_around != 4 || flags.end_own){ in doset() [all …]
|
H A D | hack.cmd.c | 101 flags.nopick = 0; 107 flags.move = 0; 117 flags.run = 1; 123 flags.mv = 1; 135 flags.run = 2; 139 flags.run = 3; 143 flags.run = 0; 144 flags.nopick = 1; 148 flags.run = 1; 149 flags.nopick = 1; [all …]
|
H A D | hack.main.c | 251 flags.move = 0; 258 flags.ident = 1; 268 flags.botlx = 1; 285 flags.move = 1; 313 if(flags.time) flags.botl = 1; 335 flags.botl = 1; 364 if(flags.botl || flags.botlx) bot(); 366 flags.move = 1; 382 flags.move = 0; 385 if(flags.mv) { [all …]
|
/original-bsd/lib/libc/stdio/ |
H A D | vfscanf.c | 115 flags = 0; 136 flags |= LONG; 142 flags |= SHORT; 158 flags |= LONG; 173 flags |= LONG; 188 flags |= LONG; 200 flags |= LONG; 213 flags |= NOSKIP; 218 flags |= NOSKIP; 248 flags |= LONG; [all …]
|
H A D | vfprintf.c | 372 flags = 0; 390 flags |= ALT; 404 flags |= LADJUST; 428 flags |= ZEROPAD; 441 flags |= LONGDBL; 448 flags |= LONGINT; 451 flags |= QUADINT; 459 flags |= LONGINT; 487 flags |= ALT; 506 flags |= FPT; [all …]
|
H A D | setvbuf.c | 29 register int ret, flags; local 53 flags = fp->_flags; 54 if (flags & __SMBF) 67 flags |= __swhatbuf(fp, &iosize, &ttyflag); 89 fp->_flags = flags | __SNBF; 95 flags |= __SMBF; 105 flags |= __SNPT; 112 flags |= __SLBF; 113 fp->_flags = flags; 117 if (flags & __SWR) { [all …]
|
/original-bsd/lib/libc/gen/ |
H A D | fnmatch.c | 28 fnmatch(pattern, string, flags) in fnmatch() argument 30 int flags; 42 if (*string == '/' && (flags & FNM_PATHNAME)) 44 if (*string == '.' && (flags & FNM_PERIOD) && 63 if (flags & FNM_PATHNAME) 78 if (test == '/' && flags & FNM_PATHNAME) 86 if (*string == '/' && flags & FNM_PATHNAME) 94 if (!(flags & FNM_NOESCAPE)) { 110 rangematch(pattern, test, flags) in rangematch() argument 112 int test, flags; [all …]
|
/original-bsd/sys/kern/ |
H A D | tty_compat.c | 209 flags |= TANDEM; 211 flags |= CRMOD; 215 flags |= ODDP; 224 flags |= PASS8; 232 flags |= RAW; 235 flags |= MDMBUF; 237 flags |= NOHANG; 239 flags |= XTABS; 245 flags |= PRTERA; 253 return (flags); [all …]
|
H A D | subr_prf.c | 172 int flags = TOLOG; local 177 flags |= TOTTY; 335 kprintf(fmt, flags, tp, ap) in kprintf() argument 337 int flags; 353 putchar(ch, flags, tp); 376 putchar(ch, flags, tp); 438 putchar(ch, flags, tp); 449 putchar(c, flags, tp) in putchar() argument 451 int flags; 461 flags |= TOTTY; [all …]
|
/original-bsd/sys/luna68k/stand/ |
H A D | subr_prf.c | 80 prf(fmt, adx, flags, ttyp) in prf() argument 93 putchar(c, flags, ttyp); 121 putchar(c, flags, ttyp); 125 putchar(c, flags, ttyp); 139 putchar(c, flags, ttyp); 145 putchar('>', flags, ttyp); 152 putchar(c, flags, ttyp); 161 putchar('%', flags, ttyp); 175 printn(n, b, flags, ttyp) in printn() argument 184 putchar('-', flags, ttyp); [all …]
|
/original-bsd/usr.bin/uname/ |
H A D | uname.c | 38 u_int flags; local 43 flags = 0; 50 flags |= MFLAG; 53 flags |= NFLAG; 56 flags |= RFLAG; 59 flags |= SFLAG; 62 flags |= VFLAG; 75 if (!flags) 76 flags |= SFLAG; 80 if (flags & SFLAG) { [all …]
|
/original-bsd/bin/sh/ |
H A D | var.c | 45 int flags; member 131 vp->flags = ip->flags; in initvar() 152 setvar(name, val, flags) in setvar() argument 154 int flags; 179 flags |= VUNSET; 204 setvareq(s, flags) in setvareq() argument 206 int flags; 223 vp->flags |= flags; 237 vp->flags = flags; 513 lvp->flags = vp->flags; [all …]
|
/original-bsd/usr.bin/rs/ |
H A D | rs.c | 28 long flags; variable 83 if (flags & SHAPEONLY) { 104 if (flags & SKIPPRINT) in getfile() 109 flags |= ONEPERLINE; in getfile() 110 if (flags & ONEPERLINE) in getfile() 164 if (flags & TRANSPOSE) in putfile() 245 if (flags & RECYCLE) { in prepfile() 252 if (flags & SQUEEZE) { in prepfile() 423 flags |= NULLPAD; 426 flags |= RECYCLE; [all …]
|
/original-bsd/old/tp/ |
H A D | tp1.c | 34 flags |= flm; 38 flags |= flc; continue; 42 flags |= fli; continue; 45 flags |= flm; 50 flags |= fls; continue; 56 flags |= flv; continue; 58 flags |= flw; continue; 115 if (flags & (flm|flc)) useerr(); in cmd() 136 if (flags & (flc|flw)) useerr(); in cmt() 138 if (flags & flv) in cmt() [all …]
|
/original-bsd/lib/libc/db/db/ |
H A D | db.c | 22 dbopen(fname, flags, mode, type, openinfo) in dbopen() argument 24 int flags, mode; 34 if ((flags & ~(USE_OPEN_FLAGS | DB_FLAGS)) == 0) 37 return (__bt_open(fname, flags & USE_OPEN_FLAGS, 38 mode, openinfo, flags & DB_FLAGS)); 40 return (__hash_open(fname, flags & USE_OPEN_FLAGS, 41 mode, openinfo, flags & DB_FLAGS)); 43 return (__rec_open(fname, flags & USE_OPEN_FLAGS, 44 mode, openinfo, flags & DB_FLAGS));
|
/original-bsd/sys/sparc/dev/ |
H A D | fb.c | 54 fbopen(dev, flags, mode, p) in fbopen() argument 56 int flags, mode; 62 return (cdevsw[devfb->fb_major].d_open(dev, flags, mode, p)); 66 fbclose(dev, flags, mode, p) in fbclose() argument 68 int flags, mode; 72 return (cdevsw[devfb->fb_major].d_close(dev, flags, mode, p)); 76 fbioctl(dev, cmd, data, flags, p) in fbioctl() argument 80 int flags; 84 return (cdevsw[devfb->fb_major].d_ioctl(dev, cmd, data, flags, p));
|
/original-bsd/sys/vm/ |
H A D | vm_page.c | 233 m->flags = 0; 317 mem->flags |= PG_TABLED; 373 mem->flags &= ~PG_TABLED; 578 mem->flags |= PG_ACTIVE; 607 m->flags &= ~PG_ACTIVE; 608 m->flags |= PG_INACTIVE; 612 m->flags &= ~PG_CLEAN; 613 if (m->flags & PG_CLEAN) 616 m->flags |= PG_LAUNDRY; 644 m->flags |= PG_ACTIVE; [all …]
|
/original-bsd/lib/libc/db/btree/ |
H A D | bt_conv.c | 42 u_char flags; local 56 M_32_SWAP(h->flags); 61 if ((h->flags & P_TYPE) == P_BINTERNAL) 84 flags = *(u_char *)p; 87 if (flags & P_BIGKEY) { 92 if (flags & P_BIGDATA) { 110 u_char flags; local 144 flags = *(u_char *)p; 147 if (flags & P_BIGKEY) { 152 if (flags & P_BIGDATA) { [all …]
|
/original-bsd/bin/ls/ |
H A D | stat_flags.c | 31 flags_to_string(flags, def) in flags_to_string() argument 32 u_long flags; in flags_to_string() 40 if (flags & UF_APPEND) 42 if (flags & UF_IMMUTABLE) 44 if (flags & UF_NODUMP) 46 if (flags & UF_OPAQUE) 48 if (flags & SF_APPEND) 50 if (flags & SF_ARCHIVED) 52 if (flags & SF_IMMUTABLE)
|
/original-bsd/usr.sbin/amd/amd/ |
H A D | mount_fs.c | 70 int flags; local 72 flags = M_NEWTYPE; 74 flags = 0; 81 flags |= hasmntopt(mnt, opt->opt) ? opt->flag : 0; 83 return flags; 86 int mount_fs P((struct mntent *mnt, int flags, caddr_t mnt_data, int retry, MTYPE_TYPE type)); 87 int mount_fs(mnt, flags, mnt_data, retry, type) in mount_fs() argument 89 int flags; 103 mnt->mnt_dir, type, mnt->mnt_type, flags, mnt->mnt_opts); 106 mnt->mnt_dir, type, mnt->mnt_type, flags, mnt->mnt_opts); [all …]
|
/original-bsd/old/sh/ |
H A D | main.c | 56 IF dolc<2 THEN flags |= stdflg FI 57 IF (flags&stdflg)==0 82 THEN exfile(rflag); flags &= ~ttyflg; 84 IF rflag==0 THEN flags |= rshflg FI 89 ELSE input=((flags&stdflg) ? 0 : chkopen(cmdadr)); 123 IF (flags&intflg) ORF ((flags&oneflg)==0 ANDF gtty(output,&statb)==0 ANDF gtty(input,&statb)==0) 126 flags |= ttyflg|prompt; ignsig(KILL); 135 ELSE flags |= prof; flags &= ~prompt; 150 IF (flags&prompt) ANDF standin->fstak==0 ANDF !eof 166 eof |= (flags&oneflg); [all …]
|
/original-bsd/bin/csh/ |
H A D | parse.c | 205 int flags; 222 syn0(p1, p2, flags) in syn0() argument 224 int flags; 290 syn1(p1, p2, flags) in syn1() argument 292 int flags; 333 int flags; 374 int flags; 412 syn2(p1, p2, flags) in syn2() argument 414 int flags; 465 int flags; [all …]
|
/original-bsd/sbin/XNSrouted/ |
H A D | output.c | 31 register int flags; variable 40 flags = ifp->int_flags & IFF_INTERFACE ? MSG_DONTROUTE : 0; 41 (*f)(dst, flags, ifp); 49 sndmsg(dst, flags, ifp) 51 int flags; variable 56 (flags, dst, sizeof (struct rip)); 64 supply(dst, flags, ifp) 66 int flags; variable 85 (*output)(flags, dst, size); 118 (*output)(flags, dst, size);
|
/original-bsd/old/refer/OTHERS/ |
H A D | roffbib.sh | 10 flags= 19 flags="$flags $1" 45 (echo .ds TL $headr; refer -a1 -B$abstr $*) | $xroff $flags $macro 47 (echo .ds TL $headr; refer -a1 -B$abstr) | $xroff $flags $macro
|
/original-bsd/usr.bin/chflags/ |
H A D | chflags.c | 42 char *flags, *ep; local 82 flags = *argv; 83 if (*flags >= '0' && *flags <= '7') { 85 val = strtol(flags, &ep, 8); 89 err(1, "invalid flags: %s", flags); 91 errx(1, "invalid flags: %s", flags); 95 if (string_to_flags(&flags, &set, &clear)) 96 errx(1, "invalid flag: %s", flags);
|