| /netbsd-src/bin/ksh/ |
| H A D | shf.c | 36 shf_open(name, oflags, mode, sflags) in shf_open() argument 40 int sflags; 43 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; 59 if ((sflags & SHF_MAPHI) && fd < FDBASE) { 70 sflags &= ~SHF_ACCMODE; 71 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD 75 return shf_reopen(fd, sflags, shf); 80 shf_fdopen(fd, sflags, shf) in shf_fdopen() argument 82 int sflags; 85 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; [all …]
|
| H A D | shf.h | 64 int sflags)); 65 struct shf *shf_fdopen ARGS((int fd, int sflags, struct shf *shf)); 66 struct shf *shf_reopen ARGS((int fd, int sflags, struct shf *shf)); 67 struct shf *shf_sopen ARGS((char *buf, int bsize, int sflags,
|
| /netbsd-src/sys/rump/kern/lib/libsys_sunos/ |
| H A D | rump_sunos_compat.c | 193 int sflags, flags; in rump_sunos_sys_open() local 195 sflags = SCARG(uap, flags); in rump_sunos_sys_open() 196 flags = (sflags & (0x8 | 0x4 | 0x3)); /* nonblock/append/rw */ in rump_sunos_sys_open() 197 flags |= (sflags & 0x10) ? O_SYNC : 0; in rump_sunos_sys_open() 198 flags |= (sflags & 0x40) ? O_DSYNC : 0; in rump_sunos_sys_open() 199 flags |= (sflags & 0x8000) ? O_RSYNC : 0; in rump_sunos_sys_open() 200 flags |= (sflags & 0x80) ? O_NONBLOCK : 0; in rump_sunos_sys_open() 201 flags |= (sflags & 0x100) ? O_CREAT : 0; in rump_sunos_sys_open() 202 flags |= (sflags & 0x200) ? O_TRUNC : 0; in rump_sunos_sys_open() 203 flags |= (sflags & 0x400) ? O_EXCL : 0; in rump_sunos_sys_open() [all …]
|
| /netbsd-src/bin/ed/ |
| H A D | main.c | 474 int sflags = 0; in exec_command() local 702 sflags |=SGF; in exec_command() 705 sflags |= SGG; in exec_command() 709 sflags |= SGP; in exec_command() 713 sflags |= SGR; in exec_command() 719 sflags |= SGF; in exec_command() 723 if (sflags) { in exec_command() 728 } while (sflags && *ibufp != '\n'); in exec_command() 729 if (sflags && !pat) { in exec_command() 732 } else if (sflags & SGG) in exec_command() [all …]
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/bindings/lua/ |
| H A D | optparse.lua | 90 local sflags = {} 101 sflags[#sflags+1] = flag .. sflagend 103 return table.concat(sflags, ', ')
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/hkpclient/ |
| H A D | optparse.lua | 90 local sflags = {} 101 sflags[#sflags+1] = flag .. sflagend 103 return table.concat(sflags, ', ')
|
| /netbsd-src/libexec/httpd/lua/ |
| H A D | optparse.lua | 90 local sflags = {} 101 sflags[#sflags+1] = flag .. sflagend 103 return table.concat(sflags, ', ')
|
| /netbsd-src/external/gpl3/gdb/dist/readline/readline/ |
| H A D | search.c | 116 int ret, old, sflags; in noninc_search_from_pos() local 132 sflags = 0; /* Non-anchored search */ in noninc_search_from_pos() 135 sflags |= ANCHORED_SEARCH; in noninc_search_from_pos() 138 ret = _hs_history_patsearch (s, dir, sflags); in noninc_search_from_pos() 221 cxt->sflags |= SF_REVERSE; /* not strictly needed */ in _rl_nsearch_init() 224 cxt->sflags |= SF_PATTERN; in _rl_nsearch_init() 392 return (noninc_dosearch (noninc_search_string, cxt->direction, cxt->sflags&SF_PATTERN)); in _rl_nsearch_dosearch()
|
| /netbsd-src/lib/libc/regex/ |
| H A D | engine.c | 117 …es step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states aft, int sflags); 889 int sflags; in walk() local 897 sflags = 0; in walk() 902 st = step(m->g, startst, stopst, st, NOTHING, st, sflags); in walk() 919 sflags = 0; in walk() 944 sflags |= SBOS; in walk() 949 sflags |= SEOS; in walk() 956 sflags); in walk() 970 st = step(m->g, startst, stopst, st, flagch, st, sflags); in walk() 981 st = step(m->g, startst, stopst, st, flagch, st, sflags); in walk() [all …]
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/i386/ |
| H A D | local.c | 122 sp->sflags = sp->slevel = 0; in picsymtab() 185 p->n_sp->sflags |= SSTDCALL; in picext() 187 sp->sflags = p->n_sp->sflags & SSTDCALL; in picext() 250 if ((p->n_sp->sflags & SMASK) == SSTRING) in picstatic() 251 p->n_sp->sflags |= SASG; in picstatic() 433 if (q->sflags & STLS) { 462 if (q->sflags & STLS) { 469 if (q->sflags & SDLLINDIRECT) 858 sp->sflags = 0; 1166 sp->sflags |= STLS; [all …]
|
| /netbsd-src/sys/kern/ |
| H A D | vfs_lookup.c | 2266 namei_simple_convert_flags(namei_simple_flags_t sflags) in namei_simple_convert_flags() 2269 if (sflags == NSM_NOFOLLOW_NOEMULROOT) in namei_simple_kernel() argument 2271 if (sflags == NSM_NOFOLLOW_TRYEMULROOT) in namei_simple_kernel() 2273 if (sflags == NSM_FOLLOW_NOEMULROOT) in namei_simple_kernel() 2275 if (sflags == NSM_FOLLOW_TRYEMULROOT) 2277 panic("namei_simple_convert_flags: bogus sflags\n"); in nameiat_simple() argument 2282 namei_simple_kernel(const char *path, namei_simple_flags_t sflags, in nameiat_simple() 2286 return nameiat_simple_kernel(NULL, path, sflags, vp_ret); in nameiat_simple() 2291 namei_simple_flags_t sflags, struct vnode **vp_ret) in nameiat_simple() 2296 NDINIT(&nd, LOOKUP, namei_simple_convert_flags(sflags), p 2254 namei_simple_convert_flags(namei_simple_flags_t sflags) namei_simple_convert_flags() argument 2297 nameiat_simple_kernel(struct vnode * dvp,const char * path,namei_simple_flags_t sflags,struct vnode ** vp_ret) nameiat_simple_kernel() argument 2313 namei_simple_user(const char * path,namei_simple_flags_t sflags,struct vnode ** vp_ret) namei_simple_user() argument 2321 nameiat_simple_user(struct vnode * dvp,const char * path,namei_simple_flags_t sflags,struct vnode ** vp_ret) nameiat_simple_user() argument [all...] |
| /netbsd-src/sys/miscfs/fifofs/ |
| H A D | fifo_vnops.c | 258 int error, sflags; in fifo_read() local 271 sflags = (ap->a_ioflag & IO_NDELAY) ? MSG_NBIO : 0; in fifo_read() 272 error = (*rso->so_receive)(rso, NULL, uio, NULL, NULL, &sflags); in fifo_read() 301 int error, sflags; in fifo_write() local 309 sflags = (ap->a_ioflag & IO_NDELAY) ? MSG_NBIO : 0; in fifo_write() 310 error = (*wso->so_send)(wso, NULL, ap->a_uio, 0, NULL, sflags, curlwp); in fifo_write()
|
| /netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| H A D | call-rt-st.c | 558 struct bit_flags_short_t *sflags; in main() local 585 sflags = (struct bit_flags_short_t *)malloc(sizeof(struct bit_flags_short_t)); in main() 601 init_bit_flags_short(sflags, (unsigned)1, (unsigned)0, (unsigned)1, in main() 619 print_bit_flags_short(*sflags); in main()
|
| /netbsd-src/sys/rump/kern/lib/libsys_cygwin/ |
| H A D | rump_cygwin_compat.c | 151 int sflags, flags; in rump_cygwin_sys_open() local 153 sflags = SCARG(uap, flags); in rump_cygwin_sys_open() 154 flags = sflags & (3 | O_APPEND | O_ASYNC | O_CREAT | O_TRUNC | O_EXCL); in rump_cygwin_sys_open()
|
| /netbsd-src/usr.sbin/mtree/ |
| H A D | create.c | 338 u_long sflags = 0; in statd() 385 sflags = FLAGS2INDEX(p->fts_statp->st_flags); in statd() 386 if (sflags < MTREE_MAXFLAGS && ++f[sflags] > maxflags) { in statd() 388 maxflags = f[sflags]; in statd() 345 u_long sflags = 0; statd() local
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/amd64/ |
| H A D | local.c | 101 sp->sflags = sp->slevel = 0; in picsymtab() 120 if (p->n_sp->sflags & SBEENHERE) in picext() 131 sp->sflags |= SBEENHERE; in picext() 332 if (q->sflags & STLS) { in clocal() 347 if (q->sflags & STLS) { in clocal() 575 sps.sflags = sps.sclass = 0; in myp2tree() 625 sp->sflags = 0; in myp2tree() 891 sp->sflags |= STLS; in fixdef()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/pdp10/ |
| H A D | code.c | 97 sp[i]->sflags |= STNODE; in bfcode() 107 sp[i]->sflags |= STNODE; in bfcode()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/arm/ |
| H A D | code.c | 103 sym->sflags |= STNODE; in putintemp() 144 sym->sflags |= STNODE; in param_64bit() 164 sym->sflags |= STNODE; in param_64bit() 185 sym->sflags |= STNODE; in param_32bit() 216 sym->sflags |= STNODE; in param_double() 248 sym->sflags |= STNODE; in param_float()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/mips/ |
| H A D | code.c | 168 sym->sflags |= STNODE; in putintemp() 249 sym->sflags |= STNODE; in param_64bit() 270 sym->sflags |= STNODE; in param_32bit() 316 sym->sflags |= STNODE; in param_double() 346 sym->sflags |= STNODE; in param_float()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/m68k/ |
| H A D | local.c | 67 sp->sflags = sp->slevel = 0; in picsymtab() 129 if ((p->n_sp->sflags & SMASK) == SSTRING) in picstatic() 130 p->n_sp->sflags |= SASG; in picstatic() 319 sp->sflags = 0; in myp2tree()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/hppa/ |
| H A D | code.c | 165 sp->sflags |= STNODE; in bfcode() 174 sp->sflags |= STNODE; in bfcode()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/i86/ |
| H A D | code.c | 139 cftnsp->sflags |= SSTDCALL; in bfcode() 233 sp2->sflags |= STNODE; in bfcode() 240 if (cftnsp->sflags & SSTDCALL) { in bfcode()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/sparc64/ |
| H A D | code.c | 96 sym->sflags |= STNODE; in bfcode() 110 sym->sflags |= STNODE; in bfcode()
|
| /netbsd-src/sbin/amrctl/ |
| H A D | amrctl.c | 587 int bflags = 0, fflags = 0, sflags = 0; in main() local 628 sflags++; in main() 658 if (sflags) { in main()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/ |
| H A D | init.c | 271 if ((sp->sflags & SMASK) == SSTRING) in inval() 272 sp->sflags |= SASG; in inval() 732 ((q->n_sp->sflags & SMASK) == SSTRING)) in scalinit() 733 q->n_sp->sflags |= SASG; in scalinit() 1250 (p->n_sp->sflags & SMASK) == SSTRING) in simpleinit() 1251 p->n_sp->sflags |= SASG; in simpleinit()
|