Lines Matching refs:path
119 shellexec(char **argv, char **envp, const char *path, int idx, int vforked) in shellexec() argument
129 while ((cmdname = padvance(&path, argv[0])) != NULL) { in shellexec()
292 padvance(const char **path, const char *name) in padvance() argument
299 if (*path == NULL) in padvance()
301 start = *path; in padvance()
319 *path = p + 1; in padvance()
321 *path = NULL; in padvance()
380 const char *path; in printentry() local
386 path = pathval(); in printentry()
388 name = padvance(&path, cmdp->cmdname); in printentry()
427 find_command(char *name, struct cmdentry *entry, int act, const char *path) in find_command() argument
460 if (path != pathval()) in find_command()
463 if (act & DO_ALTPATH && strstr(path, "%builtin") != NULL) in find_command()
512 while ((fullname = padvance(&path, name)) != NULL) { in find_command()
1008 const char *path = pathval(); in typecmd() local
1012 name = padvance(&path, arg); in typecmd()