Lines Matching defs:dir
99 struct search_dir *dir = malloc(sizeof(*dir));100 dir->path = malloc(strlen(path) + 1);101 strcpy(dir->path, path);102 dir->next = dirs;103 dirs = dir;150 struct search_dir *dir;156 for (dir = dirs; dir; dir = dir->next) {157 snprintf(path, PATH_MAX, "%s/%s", dir->path, name);