Home
last modified time | relevance | path

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

12

/netbsd-src/external/bsd/less/dist/
H A 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/
H A 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/riscv/
H A Dfenv.c99 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
101 _DIAGASSERT(flagp != NULL); in fegetexceptflag()
104 *flagp = fcsr_fflags_read() & excepts; in fegetexceptflag()
137 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
139 _DIAGASSERT(flagp != NULL); in fesetexceptflag()
146 fflags = (fflags & ~excepts) | (*flagp & excepts); in fesetexceptflag()
/netbsd-src/lib/libm/arch/sparc/
H A 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/
H A 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/hppa/
H A Dfenv.c108 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
113 _DIAGASSERT(flagp != NULL); in fegetexceptflag()
119 *flagp = (r & ex) >> FE_FLAGS_SHIFT; in fegetexceptflag()
132 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
137 _DIAGASSERT(flagp != NULL); in fesetexceptflag()
144 r |= (*flagp << FE_FLAGS_SHIFT) & ex; in fesetexceptflag()
/netbsd-src/lib/libm/arch/i387/
H A 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/
H A 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/arm/
H A 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/lib/libm/arch/aarch64/
H A 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/bin/ed/
H A 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/
H A 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()
H A 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/lib/libm/softfloat/
H A Dfegetexceptflag.c45 fegetexceptflag(fexcept_t *flagp, int excepts) in __weak_alias()
48 *flagp = __FEE(fpgetsticky()) & excepts; in __weak_alias()
H A Dfesetexceptflag.c45 fesetexceptflag(const fexcept_t *flagp, int excepts) in __weak_alias()
49 fpsetsticky((fpgetsticky() & ~mask) | (__FPE(*flagp) & mask)); in __weak_alias()
/netbsd-src/sys/arch/mvmeppc/stand/libsa/
H A 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/
H A Dparse_args.c41 parse_args(char **filep, int *flagp, int *partp) in parse_args() argument
78 *flagp = howto; in parse_args()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dcfenv41 int fegetexceptflag(fexcept_t* flagp, int excepts);
43 int fesetexceptflag(const fexcept_t* flagp, int excepts);
/netbsd-src/sys/arch/prep/pnpbus/
H A 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/
H A 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/
H A 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/booke/
H A 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/arch/powerpc/oea/
H A 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/external/mpl/bind/dist/lib/isccfg/
H A Dparser.c3107 const unsigned int *flagp = type->of; in cfg_parse_netprefix()
3109 if (*flagp != CFG_ADDR_V4OK && *flagp != CFG_ADDR_V6OK) { in cfg_parse_netprefix()
3112 if ((*flagp & CFG_ADDR_V4OK) != 0) { in cfg_parse_netprefix()
3116 if ((*flagp & CFG_ADDR_V6OK) != 0) { in cfg_parse_netprefix()
3123 if ((*flagp & CFG_ADDR_WILDOK) != 0) { in cfg_parse_netprefix()
3131 if (*flagp != CFG_ADDR_V4OK && *flagp != CFG_ADDR_V6OK) { in cfg_parse_netprefix()
3346 const unsigned int *flagp; in cfg_doc_sockaddr()
3352 flagp in cfg_doc_sockaddr()
3052 const unsigned int *flagp = type->of; cfg_doc_netaddr() local
3291 const unsigned int *flagp; cfg_parse_sockaddr() local
3327 const unsigned int *flagp; cfg_doc_sockaddr() local
[all...]
/netbsd-src/sys/external/bsd/common/include/linux/
H A Dkernel.h276 static_branch_likely(const bool *flagp) in static_branch_likely() argument
278 return __predict_true(*flagp); in static_branch_likely()

12