Lines Matching refs:file

46   return_ISTRING_HASH_1 (((struct file const *) key)->hname);  in file_hash_1()
52 return_ISTRING_HASH_2 (((struct file const *) key)->hname); in file_hash_2()
58 return_ISTRING_COMPARE (((struct file const *) x)->hname, in file_hash_cmp()
59 ((struct file const *) y)->hname); in file_hash_cmp()
75 struct file *
78 register struct file *f; in lookup_file()
79 struct file file_key; in lookup_file()
126 f = (struct file *) hash_find_item (&files, &file_key); in lookup_file()
134 struct file *
137 register struct file *f; in enter_file()
138 register struct file *new; in enter_file()
139 register struct file **file_slot; in enter_file()
140 struct file file_key; in enter_file()
168 file_slot = (struct file **) hash_find_slot (&files, &file_key); in enter_file()
179 new = (struct file *) xmalloc (sizeof (struct file)); in enter_file()
180 bzero ((char *) new, sizeof (struct file)); in enter_file()
205 rename_file (struct file *from_file, char *to_hname) in rename_file()
220 rehash_file (struct file *from_file, char *to_hname) in rehash_file()
222 struct file file_key; in rehash_file()
223 struct file **file_slot; in rehash_file()
224 struct file *to_file; in rehash_file()
225 struct file *deleted_file; in rehash_file()
226 struct file *f; in rehash_file()
245 file_slot = (struct file **) hash_find_slot (&files, &file_key); in rehash_file()
341 register struct file **file_slot; in remove_intermediates()
342 register struct file **file_end; in remove_intermediates()
352 file_slot = (struct file **) files.ht_vec; in remove_intermediates()
357 register struct file *f = *file_slot; in remove_intermediates()
453 struct file *f = (struct file *) item; in set_intermediate()
459 expand_deps (struct file *f) in expand_deps()
579 d1->file = lookup_file (d1->name); in expand_deps()
580 if (d1->file == 0) in expand_deps()
581 d1->file = enter_file (d1->name); in expand_deps()
631 struct file *f; in snap_deps()
632 struct file *f2; in snap_deps()
634 struct file **file_slot_0; in snap_deps()
635 struct file **file_slot; in snap_deps()
636 struct file **file_end; in snap_deps()
649 file_slot_0 = (struct file **) hash_dump (&files, 0, 0); in snap_deps()
661 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
666 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
671 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
685 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
701 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
722 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
733 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
756 set_command_state (struct file *file, enum cmd_state state) in set_command_state() argument
760 file->command_state = state; in set_command_state()
762 for (d = file->also_make; d != 0; d = d->next) in set_command_state()
763 d->file->command_state = state; in set_command_state()
875 struct file *f = (struct file *) item; in print_file()
1009 struct file **fp = (struct file **) files.ht_vec; in build_target_list()
1010 struct file **end = &fp[files.ht_size]; in build_target_list()
1020 struct file *f = *fp; in build_target_list()