Searched refs:envp (Results 1 - 25 of 272) sorted by relevance

1234567891011

/netbsd-current/external/gpl3/gcc/dist/fixincludes/tests/base/
H A Dspawn.h14 char *const *_RESTRICT_KYWD envp); variable
/netbsd-current/external/gpl3/gcc.old/dist/fixincludes/tests/base/
H A Dspawn.h14 char *const *_RESTRICT_KYWD envp); variable
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dsepsymtab.c17 main (int argc, char **argv, char **envp) argument
H A Dtestenv.c27 int main (int argc, char **argv, char **envp) argument
33 for (i = 0; envp[i]; i++)
35 if (strncmp ("TEST_GDB", envp[i], 8) == 0)
37 printf ("%s\n", envp[i]);
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dsepsymtab.c17 main (int argc, char **argv, char **envp) argument
H A Dtestenv.c27 int main (int argc, char **argv, char **envp) argument
33 for (i = 0; envp[i]; i++)
35 if (strncmp ("TEST_GDB", envp[i], 8) == 0)
37 printf ("%s\n", envp[i]);
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Denviron.c41 char **envp; local
43 for (envp = environ; envp && *envp; envp++)
44 if (strncmp(name, *envp, len) == 0 && (*envp)[len] == '=')
45 return (envp);
56 char **envp = findenv(name, len);
58 return (envp
89 char **envp; local
133 char **envp; local
[all...]
/netbsd-current/lib/libm/softfloat/
H A Dfegetenv.c45 fegetenv(fenv_t *envp)
48 __FENV_SET_FLAGS(envp, fpgetsticky());
49 __FENV_SET_MASK(envp, fpgetmask());
50 __FENV_SET_ROUND(envp, fpgetround());
H A Dfeholdexcept.c45 feholdexcept(fenv_t *envp)
48 __FENV_SET_FLAGS(envp, fpgetsticky());
49 __FENV_SET_MASK(envp, fpgetmask());
50 __FENV_SET_ROUND(envp, fpgetround());
H A Dfesetenv.c45 fesetenv(const fenv_t *envp)
48 fpsetsticky(__FENV_GET_FLAGS(envp));
49 fpsetmask(__FENV_GET_MASK(envp));
50 fpsetround(__FENV_GET_ROUND(envp));
H A Dfeupdateenv.c45 feupdateenv(const fenv_t *envp)
51 fpsetround(__FENV_GET_ROUND(envp));
52 fpsetmask(__FENV_GET_MASK(envp));
53 fpsetsticky(__FENV_GET_MASK(envp));
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/lib/
H A Dmy-syscalls.h23 int my_execve (const char *file, char *argv[], char *envp[]);
/netbsd-current/sys/arch/algor/algor/
H A Dpmon.c52 pmon_init(char *envp[]) argument
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;
/netbsd-current/lib/libc/gen/
H A Dexect.c40 exect(const char *path, char *const argv[], char *const envp[]) argument
42 return execve(path, argv, envp);
H A Dexecle.c54 char **argv, **envp; local
68 envp = va_arg(ap, char **);
71 return execve(name, argv, envp);
/netbsd-current/external/bsd/cron/dist/
H A Denv.c44 env_free(char **envp) { argument
47 for (p = envp; *p != NULL; p++)
49 free(envp);
53 env_copy(char **envp) { argument
58 for (count = 0; envp[count] != NULL; count++)
64 if ((p[i] = strdup(envp[i])) == NULL) {
78 env_set(char **envp, char *envstr) { argument
87 for (count = 0; envp[count] != NULL; count++) {
88 if (!strcmp_until(envp[count], envstr, '='))
100 free(envp[foun
246 env_get(const char *name, char **envp) argument
[all...]
/netbsd-current/games/hunt/hunt/
H A Dhunt.c657 char *envp, *envname, *s; local
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, "fl
[all...]
/netbsd-current/lib/libm/arch/riscv/
H A Dfenv.c194 * environment in the object pointed to by envp.
197 fegetenv(fenv_t *envp) argument
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) argument
216 _DIAGASSERT(envp != NULL);
218 *envp = fcsr_read();
228 * represented by the object pointed to by envp. The argument `envp' point
235 fesetenv(const fenv_t *envp) argument
262 feupdateenv(const fenv_t *envp) argument
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/vms/
H A Dvms-ucrt0.c74 int envp; local
80 /* The argv and envp arrays are 32 bits pointers to 32 bits pointers. */
82 linkflag, cliflag, &argc, &argv, &envp);
88 /* Reallocate argv and envp with 64 bit pointers. */
96 for (i = 0; ((int *) (__int64) envp)[i]; i++)
100 for (i = 0; ((int *) (__int64) envp)[i]; i++)
101 envp64[i] = (char *)(__int64)(((int *) (__int64) envp)[i]);
108 envp64 = (char **)(__int64)envp;
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/vms/
H A Dvms-ucrt0.c74 int envp; local
80 /* The argv and envp arrays are 32 bits pointers to 32 bits pointers. */
82 linkflag, cliflag, &argc, &argv, &envp);
88 /* Reallocate argv and envp with 64 bit pointers. */
96 for (i = 0; ((int *) (__int64) envp)[i]; i++)
100 for (i = 0; ((int *) (__int64) envp)[i]; i++)
101 envp64[i] = (char *)(__int64)(((int *) (__int64) envp)[i]);
108 envp64 = (char **)(__int64)envp;
/netbsd-current/lib/libm/arch/alpha/
H A Dfenv.c56 fegetenv(fenv_t *envp) argument
68 *envp = r.__bits | p.mask;
74 feholdexcept(fenv_t *envp) argument
81 *envp = r.__bits | p.mask;
93 fesetenv(const fenv_t *envp) argument
98 p.mask = *envp & FE_ALL_EXCEPT;
100 r.__bits = *envp & ~FE_ALL_EXCEPT;
107 feupdateenv(const fenv_t *envp) argument
112 p.mask = *envp & FE_ALL_EXCEPT;
115 newr.__bits = *envp
[all...]
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A Denvmgmt.c327 __collector_env_printall (char *label, char *envp[]) argument
330 TprintfT (DBG_LT2, "__collector_env_printall(%s): environment @ 0x%p\n", label, envp);
331 for (int i = 0; envp[i]; i++)
332 Tprintf (DBG_LT2, "\tenv[%d]@0x%p == %s\n", i, envp[i], envp[i]);
338 env_match (char *envp[], const char *envvar) argument
341 if (envp == NULL)
342 TprintfT (DBG_LT1, "env_match(%s): NULL envp!\n", envvar);
346 while ((envp[i] != NULL) && (__collector_strStartWith (envp[
502 __collector_env_unset(char *envp[]) argument
579 __collector_env_update(char *envp[]) argument
716 char * envp[] = {string, NULL}; local
748 char * envp[] = {ev, NULL}; local
796 char * envp[] = {ev, NULL}; local
[all...]
/netbsd-current/lib/libm/arch/aarch64/
H A Dfenv.c178 * environment in the object pointed to by envp.
181 fegetenv(fenv_t *envp) argument
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) argument
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
211 fesetenv(const fenv_t *envp) argument
225 feupdateenv(const fenv_t *envp) argument
[all...]
/netbsd-current/lib/libm/arch/sparc/
H A Dfenv.c233 * environment in the object pointed to by envp.
236 fegetenv(fenv_t *envp) argument
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) argument
258 _DIAGASSERT(envp != NULL);
261 *envp = r;
271 * represented by the object pointed to by envp. The argument `envp' point
278 fesetenv(const fenv_t *envp) argument
298 feupdateenv(const fenv_t *envp) argument
[all...]
/netbsd-current/lib/libm/arch/hppa/
H A Dfenv.c254 * environment in the object pointed to by envp.
257 fegetenv(fenv_t *envp) argument
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) argument
279 _DIAGASSERT(envp != NULL);
282 *envp = r;
292 * represented by the object pointed to by envp. The argument `envp' point
299 fesetenv(const fenv_t *envp) argument
319 feupdateenv(const fenv_t *envp) argument
[all...]

Completed in 312 milliseconds

1234567891011