Home
last modified time | relevance | path

Searched refs:flagp (Results 1 – 24 of 24) sorted by relevance

/netbsd/src/external/bsd/less/dist/
Dregexp.c302 reg(paren, flagp) in reg() argument
304 int *flagp;
312 *flagp = HASWIDTH; /* Tentatively. */
333 *flagp &= ~HASWIDTH;
334 *flagp |= flags&SPSTART;
342 *flagp &= ~HASWIDTH;
343 *flagp |= flags&SPSTART;
374 regbranch(flagp) in regbranch() argument
375 int *flagp; in regbranch()
382 *flagp = WORST; /* Tentatively. */
[all …]
/netbsd/src/lib/libcompat/regexp/
Dregexp.c303 reg(paren, flagp) in reg() argument
305 int *flagp;
313 *flagp = HASWIDTH; /* Tentatively. */
334 *flagp &= ~HASWIDTH;
335 *flagp |= flags&SPSTART;
343 *flagp &= ~HASWIDTH;
344 *flagp |= flags&SPSTART;
375 regbranch(flagp) in regbranch() argument
376 int *flagp; in regbranch()
383 *flagp = WORST; /* Tentatively. */
[all …]
/netbsd/src/lib/libm/arch/sparc/
Dfenv.c87 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
92 _DIAGASSERT(flagp != NULL); in fegetexceptflag()
98 *flagp = r & ex; in fegetexceptflag()
111 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
116 _DIAGASSERT(flagp != NULL); in fesetexceptflag()
123 r |= *flagp & ex; in fesetexceptflag()
/netbsd/src/lib/libm/arch/sparc64/
Dfenv.c101 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
106 _DIAGASSERT(flagp != NULL); in fegetexceptflag()
112 *flagp = r & ex; in fegetexceptflag()
125 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
130 _DIAGASSERT(flagp != NULL); in fesetexceptflag()
137 r |= *flagp & ex; in fesetexceptflag()
/netbsd/src/lib/libm/arch/i387/
Dfenv.c192 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
198 _DIAGASSERT(flagp != NULL); in fegetexceptflag()
209 *flagp = (mxcsr | status) & ex; in fegetexceptflag()
246 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
252 _DIAGASSERT(flagp != NULL); in fesetexceptflag()
259 env.x87.status |= *flagp & ex; in fesetexceptflag()
265 mxcsr |= *flagp & ex; in fesetexceptflag()
355 _DIAGASSERT(flagp != NULL); in fegetenv()
/netbsd/src/lib/libm/arch/x86_64/
Dfenv.c171 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
177 _DIAGASSERT(flagp != NULL); in fegetexceptflag()
189 *flagp = (x87_status | mxcsr) & ex; in fegetexceptflag()
226 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
231 _DIAGASSERT(flagp != NULL); in fesetexceptflag()
240 fenv.x87.status |= *flagp & ex; in fesetexceptflag()
247 fenv.mxcsr |= *flagp & ex; in fesetexceptflag()
/netbsd/src/lib/libm/arch/aarch64/
Dfenv.c91 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
94 *flagp = __SHIFTOUT(reg_fpsr_read(), FPSR_CSUM) & excepts; in fegetexceptflag()
126 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
133 fpsr |= __SHIFTIN((*flagp & excepts), FPSR_CSUM); in fesetexceptflag()
/netbsd/src/lib/libm/arch/arm/
Dfenv.c90 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
94 *flagp = __SHIFTOUT(armreg_fpscr_read(), VFP_FPSCR_CSUM) & excepts; in fegetexceptflag()
125 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
132 fpscr |= __SHIFTIN((*flagp & excepts), VFP_FPSCR_CSUM); in fesetexceptflag()
/netbsd/src/bin/ed/
Dsub.c49 extract_subst_tail(int *flagp, long *np) in extract_subst_tail() argument
53 *flagp = *np = 0; in extract_subst_tail()
56 *flagp = GPR; in extract_subst_tail()
61 *flagp = GPR; in extract_subst_tail()
70 *flagp = GSG; in extract_subst_tail()
/netbsd/src/sys/arch/powerpc/powerpc/
Dsig_machdep.c174 cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flagp) in cpu_getmcontext() argument
199 *flagp |= _UC_CPU; in cpu_getmcontext()
200 *flagp |= _UC_TLSBASE; in cpu_getmcontext()
204 if (!fpu_save_to_mcontext(l, mcp, flagp)) in cpu_getmcontext()
210 if (!vec_save_to_mcontext(l, mcp, flagp)) in cpu_getmcontext()
Dfpu.c216 fpu_save_to_mcontext(lwp_t *l, mcontext_t *mcp, unsigned int *flagp) in fpu_save_to_mcontext() argument
234 *flagp |= _UC_FPU; in fpu_save_to_mcontext()
/netbsd/src/sys/arch/mvmeppc/stand/libsa/
Dparse_args.c40 parse_args(char *astart, const char *aend, const char **filep, int *flagp, int *partp) in parse_args() argument
78 *flagp = howto; in parse_args()
/netbsd/src/sys/arch/mvme68k/stand/libsa/
Dparse_args.c41 parse_args(char **filep, int *flagp, int *partp) in parse_args() argument
78 *flagp = howto; in parse_args()
/netbsd/src/sys/arch/prep/pnpbus/
Dif_we_pnpbus.c257 …ict, bus_space_handle_t asich, u_int8_t *typep, bus_size_t *memsizep, u_int8_t *flagp, int *is790p) in we_params() argument
396 if (flagp != NULL && is16bit) in we_params()
397 *flagp |= WE_16BIT_ENABLE; in we_params()
/netbsd/src/lib/libutil/
Dgetmntopts.c123 getmntopts(const char *options, const struct mntopt *m0, int *flagp, in getmntopts() argument
179 thisflagp = m->m_altloc ? altflagp : flagp; in getmntopts()
/netbsd/src/sys/dev/isa/
Dif_we_isa.c347 bus_size_t *memsizep, uint8_t *flagp, int *is790p) in we_params() argument
485 if (flagp != NULL && is16bit) in we_params()
486 *flagp |= WE_16BIT_ENABLE; in we_params()
/netbsd/src/sys/arch/powerpc/oea/
Daltivec.c183 vec_save_to_mcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flagp) in vec_save_to_mcontext() argument
204 *flagp |= _UC_POWERPC_VEC; in vec_save_to_mcontext()
/netbsd/src/sys/arch/powerpc/booke/
Dspe.c174 vec_save_to_mcontext(lwp_t *l, mcontext_t *mcp, unsigned int *flagp) in vec_save_to_mcontext() argument
212 *flagp |= _UC_POWERPC_SPE; in vec_save_to_mcontext()
/netbsd/src/sys/external/bsd/common/include/linux/
Dkernel.h276 static_branch_likely(const bool *flagp) in static_branch_likely() argument
278 return __predict_true(*flagp); in static_branch_likely()
/netbsd/src/sys/nfs/
Dnfs_clntsubs.c474 nfs_cookieheuristic(struct vnode *vp, int *flagp, struct lwp *l, kauth_cred_t cred) in nfs_cookieheuristic() argument
513 *flagp |= NFSMNT_SWAPCOOKIE; in nfs_cookieheuristic()
Dnfs_socket.c910 int *flagp = &nmp->nm_iflag; in nfs_rcvlock() local
936 if (*flagp & NFSMNT_DISMNT) { in nfs_rcvlock()
956 if ((*flagp & NFSMNT_RCVLOCK) == 0) { in nfs_rcvlock()
957 *flagp |= NFSMNT_RCVLOCK; in nfs_rcvlock()
/netbsd/src/sys/fs/nfs/common/
Dnfs_commonsubs.c3911 newnfs_sndlock(int *flagp) in newnfs_sndlock() argument
3916 while (*flagp & NFSR_SNDLOCK) { in newnfs_sndlock()
3917 *flagp |= NFSR_WANTSND; in newnfs_sndlock()
3920 (void) nfsmsleep((caddr_t)flagp, NFSSOCKMUTEXPTR, in newnfs_sndlock()
3923 *flagp |= NFSR_SNDLOCK; in newnfs_sndlock()
3932 newnfs_sndunlock(int *flagp) in newnfs_sndunlock() argument
3936 if ((*flagp & NFSR_SNDLOCK) == 0) in newnfs_sndunlock()
3938 *flagp &= ~NFSR_SNDLOCK; in newnfs_sndunlock()
3939 if (*flagp & NFSR_WANTSND) { in newnfs_sndunlock()
3940 *flagp &= ~NFSR_WANTSND; in newnfs_sndunlock()
[all …]
/netbsd/src/sys/fs/nfs/client/
Dnfs_clport.c729 struct nfsvattr *nap, int *flagp, int *wccflagp, void *stuff) in nfscl_wcc_data() argument
739 *flagp = 0; in nfscl_wcc_data()
752 error = nfscl_postop_attr(nd, nap, flagp, stuff); in nfscl_wcc_data()
/netbsd/src/sys/dev/pci/
Dpccbb.c344 cb_chipset(uint32_t pci_id, int *flagp) in cb_chipset() argument
354 if (flagp != NULL) in cb_chipset()
355 *flagp = yc->yc_flags; in cb_chipset()