Home
last modified time | relevance | path

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

1234

/netbsd/bin/ksh/
H A Dshf.c40 int sflags;
43 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE;
82 int sflags;
85 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE;
93 sflags |= SHF_RDWR;
123 shf->flags = sflags;
135 int sflags;
138 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE;
146 sflags |= SHF_RDWR;
186 int sflags;
[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/external/gpl3/gdb/dist/readline/readline/
H A Disearch.c88 cxt->sflags = flags; in _rl_scxt_alloc()
210 cxt->sflags |= SF_REVERSE; in _rl_isearch_init()
340 cxt->sflags |= SF_FAILED; in _rl_isearch_dispatch()
364 cxt->sflags |= SF_CHGKMAP; in _rl_isearch_dispatch()
410 if (cxt->sflags & SF_CHGKMAP) in _rl_isearch_dispatch()
536 cxt->sflags |= SF_REVERSE; in _rl_isearch_dispatch()
538 cxt->sflags &= ~SF_REVERSE; in _rl_isearch_dispatch()
679 cxt->sflags |= SF_FAILED; in _rl_isearch_dispatch()
690 cxt->sflags |= SF_FOUND; in _rl_isearch_dispatch()
739 if (cxt->sflags & SF_FAILED) in _rl_isearch_dispatch()
[all …]
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()
210 cxt->sflags |= SF_REVERSE; /* not strictly needed */ in _rl_nsearch_init()
213 cxt->sflags |= SF_PATTERN; in _rl_nsearch_init()
355 return (noninc_dosearch (noninc_search_string, cxt->direction, cxt->sflags&SF_PATTERN)); in _rl_nsearch_dosearch()
/netbsd/external/gpl3/gdb.old/dist/readline/readline/
H A Disearch.c88 cxt->sflags = flags; in _rl_scxt_alloc()
210 cxt->sflags |= SF_REVERSE; in _rl_isearch_init()
340 cxt->sflags |= SF_FAILED; in _rl_isearch_dispatch()
364 cxt->sflags |= SF_CHGKMAP; in _rl_isearch_dispatch()
410 if (cxt->sflags & SF_CHGKMAP) in _rl_isearch_dispatch()
536 cxt->sflags |= SF_REVERSE; in _rl_isearch_dispatch()
538 cxt->sflags &= ~SF_REVERSE; in _rl_isearch_dispatch()
679 cxt->sflags |= SF_FAILED; in _rl_isearch_dispatch()
690 cxt->sflags |= SF_FOUND; in _rl_isearch_dispatch()
739 if (cxt->sflags & SF_FAILED) in _rl_isearch_dispatch()
[all …]
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()
210 cxt->sflags |= SF_REVERSE; /* not strictly needed */ in _rl_nsearch_init()
213 cxt->sflags |= SF_PATTERN; in _rl_nsearch_init()
355 return (noninc_dosearch (noninc_search_string, cxt->direction, cxt->sflags&SF_PATTERN)); in _rl_nsearch_dosearch()
/netbsd/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/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()
729 if (sflags && !pat) { in exec_command()
740 if ((!sflags || (sflags & SGR)) && in exec_command()
759 if (sflags & SGG) in exec_command()
[all …]
/netbsd/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/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/libexec/httpd/lua/
H A Doptparse.lua90 local sflags = {}
101 sflags[#sflags+1] = flag .. sflagend
103 return table.concat(sflags, ', ')
/netbsd/lib/libc/regex/
H A Dengine.c889 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()
1002 st = step(m->g, startst, stopst, tmp, c, st, sflags); in walk()
1041 int sflags) /* state flags */ in step() argument
1065 if ((ch == BOL || ch == BOLEOL) && (sflags & SBOS) != 0) in step()
[all …]
/netbsd/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()
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;
1238 sp->sflags |= SDLLINDIRECT;
[all …]
/netbsd/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/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/external/gpl3/gdb/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/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/sys/kern/
H A Dvfs_lookup.c2254 namei_simple_convert_flags(namei_simple_flags_t sflags) in namei_simple_convert_flags() argument
2256 if (sflags == NSM_NOFOLLOW_NOEMULROOT) in namei_simple_convert_flags()
2258 if (sflags == NSM_NOFOLLOW_TRYEMULROOT) in namei_simple_convert_flags()
2260 if (sflags == NSM_FOLLOW_NOEMULROOT) in namei_simple_convert_flags()
2262 if (sflags == NSM_FOLLOW_TRYEMULROOT) in namei_simple_convert_flags()
2272 return nameiat_simple_kernel(NULL, path, sflags, vp_ret); in namei_simple_kernel()
2277 namei_simple_flags_t sflags, struct vnode **vp_ret) in nameiat_simple_kernel() argument
2290 namei_simple_convert_flags(sflags), in nameiat_simple_kernel()
2310 return nameiat_simple_user(NULL, path, sflags, vp_ret); in namei_simple_user()
2315 namei_simple_flags_t sflags, struct vnode **vp_ret) in nameiat_simple_user() argument
[all …]
/netbsd/usr.sbin/mtree/
H A Dcreate.c343 u_long sflags = 0; in statd() local
390 sflags = FLAGS2INDEX(p->fts_statp->st_flags); in statd()
391 if (sflags < MTREE_MAXFLAGS && ++f[sflags] > maxflags) { in statd()
393 maxflags = f[sflags]; in statd()
/netbsd/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/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/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/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/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/external/bsd/pcc/dist/pcc/arch/hppa/
H A Dcode.c165 sp->sflags |= STNODE; in bfcode()
174 sp->sflags |= STNODE; in bfcode()

1234