Lines Matching defs:dir
276 filetype(const Char *dir, const Char *file)
282 path = Strspl(dir, file);
312 print_by_column(const Char *dir, Char *items[], size_t count)
334 xputchar(dir ? filetype(dir, items[i]) : ' ');
461 * Should leave final slash (/) at end of dir.
464 extract_dir_and_name(const Char *path, Char **dir, const Char **name)
474 *dir = Strnsave(path, p - path);
506 Char *tilded_dir = NULL, *dir = NULL;
520 cleanup_push(dir, xfree);
523 extract_dir_and_name(word, &dir, &name);
524 cleanup_push(dir, xfree);
525 tilded_dir = tilde(dir);
577 /* put back dir part */
578 copyn(word, dir, max_word_length);/*FIXBUF*/
589 cleanup_until(dir);