Lines Matching refs:envp
212 char *envp; in varexpand() local
218 envp = strstr(line, "{{"); in varexpand()
219 if((envp > line) && envp[-1] == '\\') { in varexpand()
223 result = curlx_dyn_addn(out, line, envp - line - 1); in varexpand()
231 line = &envp[2]; in varexpand()
233 else if(envp) { in varexpand()
238 char *clp = strstr(envp, "}}"); in varexpand()
248 envp += 2; /* move over the {{ */ in varexpand()
251 funcp = memchr(envp, ':', clp - envp); in varexpand()
253 nlen = funcp - envp; in varexpand()
255 nlen = clp - envp; in varexpand()
265 result = curlx_dyn_addn(out, line, envp - prefix - line); in varexpand()
270 memcpy(name, envp, nlen); in varexpand()
279 result = curlx_dyn_addn(out, envp - prefix, in varexpand()
280 clp - envp + prefix + 2); in varexpand()
329 } while(envp); in varexpand()