Lines Matching refs:envlist
4866 EXECV_CHAR **envlist; in parse_envlist() local
4871 envlist = PyMem_NEW(EXECV_CHAR *, i + 1); in parse_envlist()
4872 if (envlist == NULL) { in parse_envlist()
4936 if (!fsconvert_strdup(keyval, &envlist[envc++])) { in parse_envlist()
4946 envlist[envc] = 0; in parse_envlist()
4948 return envlist; in parse_envlist()
4953 free_string_array(envlist, envc); in parse_envlist()
5065 EXECV_CHAR **envlist; in os_execve_impl() local
5099 envlist = parse_envlist(env, &envc); in os_execve_impl()
5100 if (envlist == NULL) in os_execve_impl()
5106 fexecve(path->fd, argvlist, envlist); in os_execve_impl()
5110 _wexecve(path->wide, argvlist, envlist); in os_execve_impl()
5112 execve(path->narrow, argvlist, envlist); in os_execve_impl()
5120 free_string_array(envlist, envc); in os_execve_impl()
5242 EXECV_CHAR **envlist; in os_spawnve_impl() local
5300 envlist = parse_envlist(env, &envc); in os_spawnve_impl()
5301 if (envlist == NULL) in os_spawnve_impl()
5310 spawnval = _wspawnve(mode, path->wide, argvlist, envlist); in os_spawnve_impl()
5312 spawnval = _spawnve(mode, path->narrow, argvlist, envlist); in os_spawnve_impl()
5323 PyMem_DEL(envlist[envc]); in os_spawnve_impl()
5324 PyMem_DEL(envlist); in os_spawnve_impl()