/src/lib/libm/softfloat/ |
fegetenv.c | 45 fegetenv(fenv_t *envp) 48 __FENV_SET_FLAGS(envp, fpgetsticky()); 49 __FENV_SET_MASK(envp, fpgetmask()); 50 __FENV_SET_ROUND(envp, fpgetround());
|
feholdexcept.c | 45 feholdexcept(fenv_t *envp) 48 __FENV_SET_FLAGS(envp, fpgetsticky()); 49 __FENV_SET_MASK(envp, fpgetmask()); 50 __FENV_SET_ROUND(envp, fpgetround());
|
fesetenv.c | 45 fesetenv(const fenv_t *envp) 48 fpsetsticky(__FENV_GET_FLAGS(envp)); 49 fpsetmask(__FENV_GET_MASK(envp)); 50 fpsetround(__FENV_GET_ROUND(envp));
|
feupdateenv.c | 45 feupdateenv(const fenv_t *envp) 51 fpsetround(__FENV_GET_ROUND(envp)); 52 fpsetmask(__FENV_GET_MASK(envp)); 53 fpsetsticky(__FENV_GET_MASK(envp));
|
/src/sys/arch/algor/algor/ |
pmon.c | 52 pmon_init(char *envp[]) 55 int32_t *envp32 = (void *) envp; 57 envp = environ; 60 KASSERT(envp - environ < __arraycount(environ)); 61 *envp++ = (char *)(intptr_t)*envp32++; 64 KASSERT(envp - environ < __arraycount(environ)); 65 *envp = NULL; 68 environ = envp;
|
/src/lib/libc/gen/ |
exect.c | 40 exect(const char *path, char *const argv[], char *const envp[]) 42 return execve(path, argv, envp);
|
execle.c | 54 char **argv, **envp; local in function:__weak_alias 68 envp = va_arg(ap, char **); 71 return execve(name, argv, envp);
|
execlp.c | 79 char **argv, **envp; local in function:execlpe 93 envp = va_arg(ap, char **); 96 return execvpe(name, argv, envp);
|
/src/games/hunt/hunt/ |
hunt.c | 657 char *envp, *envname, *s; local in function:env_init 663 if ((envp = getenv("HUNT")) != NULL) { 664 while ((s = strpbrk(envp, "=,")) != NULL) { 665 if (strncmp(envp, "cloak,", s - envp + 1) == 0) { 667 envp = s + 1; 669 else if (strncmp(envp, "scan,", s - envp + 1) == 0) { 671 envp = s + 1; 673 else if (strncmp(envp, "fly,", s - envp + 1) == 0) [all...] |
/src/lib/libm/arch/riscv/ |
fenv.c | 194 * environment in the object pointed to by envp. 197 fegetenv(fenv_t *envp) 199 _DIAGASSERT(envp != NULL); 201 *envp = fcsr_read(); 209 * the object pointed to by envp, clears the floating-point status flags, and 214 feholdexcept(fenv_t *envp) 216 _DIAGASSERT(envp != NULL); 218 *envp = fcsr_read(); 228 * represented by the object pointed to by envp. The argument `envp' point [all...] |
/src/lib/libm/arch/alpha/ |
fenv.c | 56 fegetenv(fenv_t *envp) 68 *envp = r.__bits | p.mask; 74 feholdexcept(fenv_t *envp) 81 *envp = r.__bits | p.mask; 93 fesetenv(const fenv_t *envp) 98 p.mask = *envp & FE_ALL_EXCEPT; 100 r.__bits = *envp & ~FE_ALL_EXCEPT; 107 feupdateenv(const fenv_t *envp) 112 p.mask = *envp & FE_ALL_EXCEPT; 115 newr.__bits = *envp & ~FE_ALL_EXCEPT [all...] |
/src/lib/libm/arch/aarch64/ |
fenv.c | 178 * environment in the object pointed to by envp. 181 fegetenv(fenv_t *envp) 183 envp->__fpcr = reg_fpcr_read(); 184 envp->__fpsr = reg_fpsr_read(); 190 * environment in the object pointed to by envp, clear the floating-point 195 feholdexcept(fenv_t *envp) 197 envp->__fpsr = reg_fpsr_read(); 198 envp->__fpcr = reg_fpcr_read(); 199 reg_fpsr_write(envp->__fpsr & ~FPSR_CSUM); 200 reg_fpcr_write(envp->__fpcr & ~FPCR_ESUM) [all...] |
/src/lib/libm/arch/hppa/ |
fenv.c | 254 * environment in the object pointed to by envp. 257 fegetenv(fenv_t *envp) 259 _DIAGASSERT(envp != NULL); 261 *envp = readfpsr(); 270 * in the object pointed to by envp, clears the floating-point status flags, and 275 feholdexcept(fenv_t *envp) 279 _DIAGASSERT(envp != NULL); 282 *envp = r; 292 * represented by the object pointed to by envp. The argument `envp' point [all...] |
/src/lib/libm/arch/sparc/ |
fenv.c | 233 * environment in the object pointed to by envp. 236 fegetenv(fenv_t *envp) 238 _DIAGASSERT(envp != NULL); 240 __stfsr(envp); 249 * in the object pointed to by envp, clears the floating-point status flags, and 254 feholdexcept(fenv_t *envp) 258 _DIAGASSERT(envp != NULL); 261 *envp = r; 271 * represented by the object pointed to by envp. The argument `envp' point [all...] |
/src/lib/libm/arch/sparc64/ |
fenv.c | 247 * environment in the object pointed to by envp. 250 fegetenv(fenv_t *envp) 252 _DIAGASSERT(envp != NULL); 254 __stxfsr(envp); 263 * in the object pointed to by envp, clears the floating-point status flags, and 268 feholdexcept(fenv_t *envp) 272 _DIAGASSERT(envp != NULL); 275 *envp = r; 285 * represented by the object pointed to by envp. The argument `envp' point [all...] |
/src/usr.bin/crunch/crunchgen/ |
crunched_main.c | 55 main(int argc, char **argv, char **envp) 68 return ep->f(argc, argv, envp); 76 crunched_main(int argc, char **argv, char **envp) 81 return main(--argc, ++argv, envp);
|
/src/tests/kernel/arch/i386/ |
execregs.c | 62 char **envp = environ; local in function:execregschild 77 return execve(path, argv, envp); 92 char **envp = environ; local in function:spawnregschild 121 error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
|
/src/lib/libutil/ |
ttyaction.c | 71 const char *envp[8]; local in function:ttyaction 104 envp[0] = pathenv; 105 envp[1] = env_tty; 106 envp[2] = env_act; 107 envp[3] = env_user; 108 envp[4] = NULL; 139 (char *const *)__UNCONST(envp));
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_openbsd.cc | 73 static void GetArgsAndEnv(char ***argv, char ***envp) { 90 if (internal_sysctl(envmib, 4, &envp, &nenv, NULL, 0) == -1) { 97 char **argv, **envp; local in function:__sanitizer::GetArgv 98 GetArgsAndEnv(&argv, &envp); 103 char **argv, **envp; local in function:__sanitizer::GetEnviron 104 GetArgsAndEnv(&argv, &envp); 105 return envp;
|
/src/lib/libm/arch/arm/ |
fenv.c | 205 * environment in the object pointed to by envp. 208 fegetenv(fenv_t *envp) 211 *envp = armreg_fpscr_read(); 217 * environment in the object pointed to by envp, clear the floating-point 222 feholdexcept(fenv_t *envp) 225 *envp = armreg_fpscr_read(); 226 armreg_fpscr_write((*envp) & ~(VFP_FPSCR_ESUM|VFP_FPSCR_CSUM)); 232 * environment represented by the object pointed to by envp. The fesetenv() 237 fesetenv(const fenv_t *envp) 240 armreg_fpscr_write(*envp); [all...] |
/src/lib/libm/arch/x86_64/ |
fenv.c | 345 * environment in the object pointed to by envp. 348 fegetenv(fenv_t *envp) 350 _DIAGASSERT(envp != NULL); 353 __fnstenv(envp); 356 __stmxcsr(&envp->mxcsr); 367 __fldcw(envp->x87.control); 375 * in the object pointed to by envp, clears the floating-point status flags, and 380 feholdexcept(fenv_t *envp) 384 _DIAGASSERT(envp != NULL); 387 __fnstenv(envp); [all...] |
/src/lib/libc/arch/vax/sys/ |
execle.S | 44 pushl (%ap)[%r0] # Push last arg (envp)
|
/src/tests/kernel/arch/x86_64/ |
execregs.c | 71 char **envp = environ; local in function:execregschild 91 return execve(path, argv, envp); 114 char **envp = environ; local in function:spawnregschild 145 error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
|
/src/sys/arch/arc/stand/boot/ |
start.S | 98 sw a2, 8(sp) # save envp 113 jal _C_LABEL(main) # main(argc, argv, envp) 114 lw a2, 8(sp) # restore envp
|
/src/lib/libm/arch/i387/ |
fenv.c | 348 * environment in the object pointed to by envp. 351 fegetenv(fenv_t *envp) 361 __fnstenv(envp); 362 __fldcw(envp->x87.control); 365 envp->mxcsr = mxcsr; 374 * the object pointed to by envp, clears the floating-point status flags, and 379 feholdexcept(fenv_t *envp) 383 _DIAGASSERT(envp != NULL); 385 __fnstenv(envp); 389 envp->mxcsr = mxcsr [all...] |