Home
last modified time | relevance | path

Searched refs:envc (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libkvm/common/
H A Dkvm_getcmd.c82 int i, argc, envc; in kvm_getcmd32() local
113 for (envc = 0; *(caddr32_t *)stackp; envc++) { in kvm_getcmd32()
136 eptrcount = (envc + 1) + 2 * auxc; in kvm_getcmd32()
177 for (i = 0; i < envc; i++) { in kvm_getcmd32()
181 envp[envc] = 0; in kvm_getcmd32()
184 stackp += (1 + envc) * sizeof (caddr32_t); in kvm_getcmd32()
236 for (i = 0; i < envc; i++) { in kvm_getcmd32()
H A Dtest.c88 int envc, ccnt; in main() local
90 for (envc = 0; *envp++ != NULL; envc++) in main()
95 getpid(), argc, envc, ccnt, in main()
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_to.c762 short envc = 0; in au_to_cmd() local
778 for (envc = 0; envp[envc] != NULL; envc++) { in au_to_cmd()
780 (short)(strlen(envp[envc]) + 1); in au_to_cmd()
799 adr_short(&adr, &envc, 1); in au_to_cmd()
801 for (cnt = 0; cnt < envc; cnt++) { in au_to_cmd()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmain.c135 int envc; /* environment argument count */ in main() local
176 envc = 1; in main()
180 envv = myrealloc(envv, ++envc * sizeof (char *)); in main()
181 envv[envc - 1] = stralloc(s); in main()
185 options(envc, envv); in main()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c1248 generate_envp(struct arrow *arrowp, char ***envp, int *envc, int *envplen) in generate_envp() argument
1257 *envc = 4; in generate_envp()
1263 *envplen = *envc + 1; in generate_envp()
1285 for (i = 0; envnames[i] != NULL && i < *envc; i++) { in generate_envp()
1292 (*envp)[*envc] = NULL; in generate_envp()
1315 int argc, argvlen, envc, envplen; in platform_call() local
1352 envc = 0; in platform_call()
1354 if (generate_envp(arrowp, &envp, &envc, &envplen)) in platform_call()
1364 for (i = 0; i < envc; i++) in platform_call()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_token.c491 au_to_exec_env(const char *kstrp, ssize_t envc) in au_to_exec_env() argument
493 return (au_to_strings(AUT_EXEC_ENV, kstrp, envc)); in au_to_exec_env()
H A Daudit.c1211 ssize_t envc, /* total # environment variables */ in audit_exec() argument
1268 au_uwrite(au_to_exec_env(envstr, envc)); in audit_exec()
/illumos-gate/usr/src/uts/common/os/
H A Dexec.c1806 int envc = args->ne; in stk_copyout() local
1807 int argc = args->na - envc; in stk_copyout()
1852 for (i = 0; i < envc; i++, usp += ptrsize) in stk_copyout()