Lines Matching defs:OpenDirs
146 * All previously-read directories are kept in openDirs, which is checked
216 * References from openDirs do not count though.
231 typedef struct OpenDirs {
234 } OpenDirs;
239 static OpenDirs openDirs; /* all cached directories */
270 static void OpenDirs_Remove(OpenDirs *, const char *);
320 OpenDirs_Remove(&openDirs, dir->name);
342 OpenDirs_Init(OpenDirs *odirs)
350 OpenDirs_Done(OpenDirs *odirs)
369 OpenDirs_Find(OpenDirs *odirs, const char *name)
376 OpenDirs_Add(OpenDirs *odirs, CachedDir *cdir)
385 OpenDirs_Remove(OpenDirs *odirs, const char *name)
458 OpenDirs_Init(&openDirs);
523 OpenDirs_Done(&openDirs);
1444 * Read the directory and add it to the cache in openDirs.
1479 OpenDirs_Add(&openDirs, dir);
1489 * in 'openDirs'.
1495 * added, or NULL to only add the directory to openDirs.
1523 /* XXX: Why is OpenDirs only checked if path != NULL? */
1524 CachedDir *dir = OpenDirs_Find(&openDirs, name);
1639 for (ln = openDirs.list.first; ln != NULL; ln = ln->next) {