Lines Matching refs:Path
233 static Path *dot; /* contents of current directory */
234 static Path *cur; /* contents of current directory, if not dot */
235 static Path *dotLast; /* a fake path entry indicating we need to
249 static int DirMatchFiles(const char *, Path *, Lst);
254 static char *DirLookup(Path *, const char *, const char *, Boolean);
255 static char *DirLookupSubdir(Path *, const char *);
257 static char *DirLookupAbs(Path *, const char *, const char *);
280 dotLast = bmake_malloc(sizeof(Path)); in Dir_Init()
293 Path *p; in Dir_InitCur()
393 Path *p; in Dir_SetPATH()
400 p = (Path *)Lst_Datum(ln); in Dir_SetPATH()
415 p = (Path *)Lst_Datum(ln); in Dir_SetPATH()
454 return (strcmp(((const Path *)p)->name, dname)); in DirFindName()
533 DirMatchFiles(const char *pattern, Path *p, Lst expansions) in DirMatchFiles()
702 Path *p; /* Directory in the node */ in DirExpandInt()
706 p = (Path *)Lst_Datum(ln); in DirExpandInt()
864 DirLookup(Path *p, const char *name MAKE_ATTR_UNUSED, const char *cp, in DirLookup()
901 DirLookupSubdir(Path *p, const char *name) in DirLookupSubdir()
956 DirLookupAbs(Path *p, const char *name, const char *cp) in DirLookupAbs()
1059 Path *p; /* current path member */ in Dir_FindFile()
1093 p = (Path *)Lst_Datum(ln); in Dir_FindFile()
1131 p = (Path *)Lst_Datum(ln); in Dir_FindFile()
1194 p = (Path *)Lst_Datum(ln); in Dir_FindFile()
1250 p = (Path *)Lst_Datum(ln); in Dir_FindFile()
1295 p = (Path *)Lst_Datum(ln); in Dir_FindFile()
1545 Path *
1549 Path *p = NULL; /* pointer to new Path structure */ in Dir_AddDir()
1556 return (Path *)Lst_Datum(ln); in Dir_AddDir()
1566 p = (Path *)Lst_Datum(ln); in Dir_AddDir()
1577 p = bmake_malloc(sizeof(Path)); in Dir_AddDir()
1625 ((Path *)p)->refCount += 1; in Dir_CopyDir()
1657 Path *p; /* the structure describing the current directory */ in Dir_MakeFlags()
1663 p = (Path *)Lst_Datum(ln); in Dir_MakeFlags()
1696 Path *p = (Path *)pp; in Dir_Destroy()
1731 Path *p; in Dir_ClearPath()
1733 p = (Path *)Lst_DeQueue(path); in Dir_ClearPath()
1761 Path *p; in Dir_Concat()
1764 p = (Path *)Lst_Datum(ln); in Dir_Concat()
1777 Path *p; in Dir_PrintDirectories()
1787 p = (Path *)Lst_Datum(ln); in Dir_PrintDirectories()
1797 fprintf(debug_file, "%s ", ((Path *)p)->name); in DirPrintDir()