Searched refs:envsize (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | session.c | 803 u_int envsize; in child_set_env() local 836 envsize = *envsizep; in child_set_env() 837 if (i >= envsize - 1) { in child_set_env() 838 if (envsize >= 1000) in child_set_env() 840 envsize += 50; in child_set_env() 841 env = (*envp) = xreallocarray(env, envsize, sizeof(char *)); in child_set_env() 842 *envsizep = envsize; in child_set_env() 860 read_environment_file(char ***env, u_int *envsize, in read_environment_file() argument 894 child_set_env(env, envsize, cp, value); in read_environment_file() 921 read_etc_default_login(char ***env, u_int *envsize, uid_t uid) in read_etc_default_login() argument [all …]
|
D | auth2-pubkey.c | 403 u_int envsize; in subprocess() local 454 envsize = 5; in subprocess() 455 child_env = xcalloc(sizeof(*child_env), envsize); in subprocess() 456 child_set_env(&child_env, &envsize, "PATH", _PATH_STDPATH); in subprocess() 457 child_set_env(&child_env, &envsize, "USER", pw->pw_name); in subprocess() 458 child_set_env(&child_env, &envsize, "LOGNAME", pw->pw_name); in subprocess() 459 child_set_env(&child_env, &envsize, "HOME", pw->pw_dir); in subprocess() 461 child_set_env(&child_env, &envsize, "LANG", cp); in subprocess()
|
/external/python/cpython2/PC/ |
D | _subprocess.c | 328 int i, envsize; in getenvironment() local 341 envsize = PyMapping_Length(environment); in getenvironment() 354 for (i = 0; i < envsize; i++) { in getenvironment()
|