Home
last modified time | relevance | path

Searched refs:sflags (Results 1 – 25 of 84) sorted by relevance

1234

/netbsd-src/bin/ksh/
H A Dshf.c36 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 Dshf.h64 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 Drump_sunos_compat.c193 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 Dmain.c474 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 Doptparse.lua90 local sflags = {}
101 sflags[#sflags+1] = flag .. sflagend
103 return table.concat(sflags, ', ')
/netbsd-src/crypto/external/bsd/netpgp/dist/src/hkpclient/
H A Doptparse.lua90 local sflags = {}
101 sflags[#sflags+1] = flag .. sflagend
103 return table.concat(sflags, ', ')
/netbsd-src/libexec/httpd/lua/
H A Doptparse.lua90 local sflags = {}
101 sflags[#sflags+1] = flag .. sflagend
103 return table.concat(sflags, ', ')
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dsearch.c116 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 Dengine.c117 …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 Dlocal.c122 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 Dvfs_lookup.c2266 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 Dfifo_vnops.c258 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 Dcall-rt-st.c558 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 Drump_cygwin_compat.c151 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 Dcreate.c338 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 Dlocal.c101 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 Dcode.c97 sp[i]->sflags |= STNODE; in bfcode()
107 sp[i]->sflags |= STNODE; in bfcode()
/netbsd-src/external/bsd/pcc/dist/pcc/arch/arm/
H A Dcode.c103 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 Dcode.c168 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 Dlocal.c67 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 Dcode.c165 sp->sflags |= STNODE; in bfcode()
174 sp->sflags |= STNODE; in bfcode()
/netbsd-src/external/bsd/pcc/dist/pcc/arch/i86/
H A Dcode.c139 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 Dcode.c96 sym->sflags |= STNODE; in bfcode()
110 sym->sflags |= STNODE; in bfcode()
/netbsd-src/sbin/amrctl/
H A Damrctl.c587 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 Dinit.c271 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()

1234