Home
last modified time | relevance | path

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

/external/valgrind/coregrind/m_initimg/
Dinitimg-darwin.c133 Int envc, i; in setup_client_env() local
164 envc = 0; in setup_client_env()
166 envc++; in setup_client_env()
170 sizeof(HChar *) * (envc+2+1)); /* 2 new entries + NULL */ in setup_client_env()
177 vg_assert(envc == (cpp - ret)); in setup_client_env()
211 ret[envc++] = cp; in setup_client_env()
219 ret[envc++] = cp; in setup_client_env()
225 for (i = 0; i < envc; i++) in setup_client_env()
229 if (i < envc) { in setup_client_env()
230 for (; i < envc-1; i++) in setup_client_env()
[all …]
Dinitimg-solaris.c145 SizeT envc, i; in setup_client_env() local
191 envc = 0; in setup_client_env()
193 envc++; in setup_client_env()
196 ret = VG_(malloc)("initimg-solaris.sce.3", sizeof(HChar*) * (envc + 1 + 1)); in setup_client_env()
203 vg_assert(envc == cpp - ret); in setup_client_env()
228 ret[envc++] = cp; in setup_client_env()
238 for (i = 0; i < envc; i++) in setup_client_env()
244 if (i < envc) { in setup_client_env()
246 for (; i < envc - 1; i++) in setup_client_env()
248 envc--; in setup_client_env()
[all …]
Dinitimg-linux.c143 Int envc, i; in setup_client_env() local
175 envc = 0; in setup_client_env()
177 envc++; in setup_client_env()
183 sizeof(HChar *) * (envc+1+1)); /* 1 new entry + NULL */ in setup_client_env()
192 vg_assert(envc == (cpp - ret)); in setup_client_env()
217 ret[envc++] = cp; in setup_client_env()
223 for (i = 0; i < envc; i++) in setup_client_env()
227 if (i < envc) { in setup_client_env()
228 for (; i < envc-1; i++) in setup_client_env()
230 envc--; in setup_client_env()
[all …]
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c1870 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 …]
Dprivsep.c380 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()
Disakmp.c3051 int envc = 1; local
3061 (void)isakmp_cfg_setenv(iph1, &envp, &envc);
3069 if (script_env_append(&envp, &envc, "LOCAL_ADDR", addrstr) != 0) {
3074 if (script_env_append(&envp, &envc, "LOCAL_PORT", portstr) != 0) {
3085 if (script_env_append(&envp, &envc,
3092 if (script_env_append(&envp, &envc,
3115 script_env_append(envp, envc, name, value) in script_env_append() argument
3117 int *envc;
3137 newenvc = (*envc) + 1;
3150 *envc = newenvc;