Lines Matching defs:path
51 * This ensures that a full path search will not have to be done for them
113 shellexec(char **argv, char **envp, const char *path, int idx)
123 while ((cmdname = padvance(&path, argv[0])) != NULL) {
174 * Do a path search. The variable path (passed by reference) should be
175 * set to the start of the path before the first call; padvance will update
177 * the possible path expansions in sequence. If an option (indicated by
178 * a percent sign) appears in the path entry then the global variable
186 padvance(const char **path, const char *name)
192 if (*path == NULL)
194 start = *path;
212 *path = p + 1;
214 *path = NULL;
279 const char *path;
284 path = pathval();
286 name = padvance(&path, cmdp->cmdname);
319 const char *path)
360 /* We have to search path. */
365 while ((fullname = padvance(&path, name)) != NULL) {
647 typecmd_impl(int argc, char **argv, int cmd, const char *path)
656 if (path != pathval())
691 find_command(argv[i], &entry, 0, path);
697 const char *path2 = path;
752 if (path != pathval())