/external/toybox/lib/ |
D | env.c | 25 if (toys.envc) { in xclearenv() 28 for (i = 0; environ[i]; i++) if (i>=toys.envc) free(environ[i]); in xclearenv() 30 toys.envc = 1; in xclearenv() 37 void xsetmyenv(int *envc, char ***env, char *name, char *val) in xsetmyenv() argument 43 if (!*envc) { in xsetmyenv() 45 while ((*env)[(*envc)++]); in xsetmyenv() 46 memcpy(new = xmalloc(((*envc|0xff)+1)*sizeof(char *)), *env, in xsetmyenv() 47 *envc*sizeof(char *)); in xsetmyenv() 61 ec = (*envc)-1; // compensate for size +1 above in xsetmyenv() 68 *envc = ec--; in xsetmyenv() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_cfg.c | 1870 isakmp_cfg_setenv(iph1, envp, envc) in isakmp_cfg_setenv() argument 1873 int *envc; 1904 if (script_env_append(envp, envc, "INTERNAL_ADDR4", addrstr) != 0) { 1910 if (script_env_append(envp, envc, "XAUTH_USER", 1930 if (script_env_append(envp, envc, "INTERNAL_MASK4", addrstr) != 0) { 1935 if (script_env_append(envp, envc, "INTERNAL_NETMASK4", addrstr) != 0) { 1946 if (script_env_append(envp, envc, "INTERNAL_CIDR4", cidrstr) != 0) { 1965 if (script_env_append(envp, envc, "INTERNAL_DNS4", addrstr) != 0) { 1969 if (script_env_append(envp, envc, "INTERNAL_DNS4_LIST", addrlist) != 0) { 1992 if (script_env_append(envp, envc, "INTERNAL_WINS4", addrstr) != 0) { [all …]
|
D | privsep.c | 380 int envc = 0; in privsep_init() local 402 envc++; in privsep_init() 417 envp = racoon_malloc((envc + 1) * sizeof(char *)); in privsep_init() 424 bzero(envp, (envc + 1) * sizeof(char *)); in privsep_init()
|
D | isakmp.c | 3058 int envc = 1; local 3068 (void)isakmp_cfg_setenv(iph1, &envp, &envc); 3076 if (script_env_append(&envp, &envc, "LOCAL_ADDR", addrstr) != 0) { 3081 if (script_env_append(&envp, &envc, "LOCAL_PORT", portstr) != 0) { 3092 if (script_env_append(&envp, &envc, 3099 if (script_env_append(&envp, &envc, 3122 script_env_append(envp, envc, name, value) in script_env_append() argument 3124 int *envc; 3144 newenvc = (*envc) + 1; 3157 *envc = newenvc;
|
/external/toybox/ |
D | toys.h | 104 int envc; // Count of original environ entries member
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 3236 Py_ssize_t i, pos, argc, envc; in posix_execve() local 3293 envc = 0; in posix_execve() 3342 envlist[envc++] = p; in posix_execve() 3347 envlist[envc] = 0; in posix_execve() 3356 while (--envc >= 0) in posix_execve() 3357 PyMem_DEL(envlist[envc]); in posix_execve() 3475 int mode, pos, envc; in posix_spawnve() local 3534 envc = 0; in posix_spawnve() 3578 envlist[envc++] = p; in posix_spawnve() 3580 envlist[envc] = 0; in posix_spawnve() [all …]
|
/external/libcups/cups/ |
D | tls-boringssl.c | 84 int envc, /* Number of environment variables */ in cupsMakeServerCredentials() local
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 4990 Py_ssize_t i, pos, envc; in parse_envlist() local 5003 envc = 0; in parse_envlist() 5063 if (!fsconvert_strdup(keyval, &envlist[envc++])) { in parse_envlist() 5073 envlist[envc] = 0; in parse_envlist() 5074 *envc_ptr = envc; in parse_envlist() 5080 free_string_array(envlist, envc); in parse_envlist() 5193 Py_ssize_t argc, envc; in os_execve_impl() local 5226 envlist = parse_envlist(env, &envc); in os_execve_impl() 5247 free_string_array(envlist, envc); in os_execve_impl() 5511 Py_ssize_t argc, envc; in py_posix_spawn() local [all …]
|
/external/toybox/toys/pending/ |
D | sh.c | 192 if (uu>=toys.envc) free(environ[uu]); in setvar()
|