Home | History | Annotate | Download | only in make-3.81

Lines Matching refs:directory

0 /* Directory hashing for GNU Make.
173 /* fake stat entry for a directory */
223 * come up with is the fully qualified name of the directory. Beware
229 int mtime; /* controls check for stale directory cache */
241 struct hash_table dirfiles; /* Files in this directory. */
242 DIR *dirstream; /* Stream reading this directory. */
338 /* Table of directory contents hashed by device and inode number. */
341 struct directory
343 char *name; /* Name of the directory. */
345 /* The directory's contents. This data may be shared by several
346 entries in the hash table, which refer to the same directory
354 return_ISTRING_HASH_1 (((struct directory const *) key)->name);
360 return_ISTRING_HASH_2 (((struct directory const *) key)->name);
366 return_ISTRING_COMPARE (((struct directory const *) x)->name,
367 ((struct directory const *) y)->name);
380 /* Hash table of files in each directory. */
418 static struct directory *find_directory PARAMS ((char *name));
420 /* Find the directory named NAME and return its `struct directory'. */
422 static struct directory *
426 register struct directory *dir;
427 register struct directory **dir_slot;
428 struct directory dir_key;
446 dir_slot = (struct directory **) hash_find_slot (&directories, &dir_key);
453 /* The directory was not found. Create a new entry for it. */
456 dir = (struct directory *) xmalloc (sizeof (struct directory));
459 /* The directory is not in the name hash table.
484 /* Couldn't stat the directory. Mark this by
514 /* Nope; this really is a directory we haven't seen before. */
528 * on a directory when files are added/deleted from
529 * a directory.
555 /* Couldn't open the directory. Mark this by
566 Read the entire directory and then close it. */
596 /* The directory could not be stat'd or opened. */
623 /* Checking if the directory exists. */
636 Try to read the directory further. */
642 * Check to see if directory has changed since last read. FAT
664 directory can still be opened; if not return. */
671 /* The directory has been all read in. */
703 * If re-reading a directory, don't cache files that have
722 /* If the directory has been completely read in,
733 /* Return 1 if the name FILENAME in directory DIRNAME
814 register struct directory *dir;
868 /* The directory could not be stat'd. We allocate a contents
949 /* There are no files entered for this directory. */
973 directory hash table that matches DIR. */
989 register struct directory **dir_slot;
990 register struct directory **dir_end;
996 dir_slot = (struct directory **) directories.ht_vec;
1000 register struct directory *dir = *dir_slot;
1096 /* Structure describing state of iterating through a directory hash table. */
1100 struct directory_contents *contents; /* The directory being read. */
1109 open_dirstream (const char *directory)
1112 struct directory *dir = find_directory ((char *)directory);
1115 /* DIR->contents is nil if the directory could not be stat'd.
1119 /* Read all the contents of the directory now. There is no benefit