Lines Matching refs:dir
40 char dir[1]; /* directory path */
50 * append dir to pathfind() include list
54 pathinclude(const char* dir)
59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st))
62 if (streq(dir, dp->dir))
64 if (!(dp = oldof(0, Dir_t, 1, strlen(dir))))
66 strcpy(dp->dir, dir);
133 * check the include dir list
138 sfsprintf(tmp, sizeof(tmp), "%s/%s", dp->dir, name);
143 sfsprintf(tmp, sizeof(tmp), "%s/%s.%s", dp->dir, name, type);