Lines Matching defs:path
83 const char *path;
121 (path = bltinlookup("CDPATH", 1)) == NULL)
122 path = "";
123 while ((p = padvance(&path, dest)) != NULL) {
179 char *path;
185 * Check each component of the path. If we find a symlink or
190 path = stsavestr(dest);
194 path++;
197 while ((q = getcomponent(&path)) != NULL) {
246 * Get the next component of the path name pointed to by *path.
247 * This routine overwrites *path and the string pointed to by it.
250 getcomponent(char **path)
255 if ((p = *path) == NULL)
257 start = *path;
261 *path = NULL;
264 *path = p;
275 char *path;
284 path = stsavestr(dir);
291 while ((p = getcomponent(&path)) != NULL) {