Lines Matching refs:_cpp_file

54 struct _cpp_file
70 struct _cpp_file *next_file;
150 _cpp_file *file;
170 static bool open_file (_cpp_file *file);
171 static bool pch_open_file (cpp_reader *pfile, _cpp_file *file,
173 static bool find_file_in_dir (cpp_reader *pfile, _cpp_file *file,
175 static bool read_file_guts (cpp_reader *pfile, _cpp_file *file,
177 static bool read_file (cpp_reader *pfile, _cpp_file *file,
181 static const char *dir_name_of_file (_cpp_file *file);
182 static void open_file_failed (cpp_reader *pfile, _cpp_file *file, int,
186 static _cpp_file *make_cpp_file (cpp_dir *, const char *fname);
187 static void destroy_cpp_file (_cpp_file *);
196 static char *remap_filename (cpp_reader *pfile, _cpp_file *file);
198 static bool validate_pch (cpp_reader *, _cpp_file *file, const char *pchname);
201 static bool check_file_against_entries (cpp_reader *, _cpp_file *, bool);
223 open_file (_cpp_file *file)
293 pch_open_file (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch)
308 for (_cpp_file *f = pfile->all_files; f; f = f->next_file)
389 find_file_in_dir (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch,
470 search_path_exhausted (cpp_reader *pfile, const char *header, _cpp_file *file)
492 _cpp_find_failed (_cpp_file *file)
517 _cpp_file *
540 _cpp_file *file = make_cpp_file (start_dir, fname);
628 /* Cache for START_DIR too, sharing the _cpp_file structure. */
689 read_file_guts (cpp_reader *pfile, _cpp_file *file, location_t loc,
776 read_file (cpp_reader *pfile, _cpp_file *file, location_t loc)
803 is_known_idempotent_file (cpp_reader *pfile, _cpp_file *file, bool import)
843 has_unique_contents (cpp_reader *pfile, _cpp_file *file, bool import,
866 for (_cpp_file *f = pfile->all_files; f; f = f->next_file)
876 _cpp_file *ref_file;
915 _cpp_stack_file (cpp_reader *pfile, _cpp_file *file, include_type type,
1030 _cpp_mark_file_once_only (cpp_reader *pfile, _cpp_file *file)
1044 _cpp_file *file;
1081 dir_name_of_file (_cpp_file *file)
1119 _cpp_file *file = _cpp_find_file (pfile, fname, dir, angle_brackets,
1128 /* NAME is a header file name, find the _cpp_file, if any. */
1130 static _cpp_file *
1147 if (_cpp_file *file = test_header_unit (pfile, name, angle, loc))
1172 if (_cpp_file *file = test_header_unit (pfile, name, angle, loc))
1211 open_file_failed (cpp_reader *pfile, _cpp_file *file, int angle_brackets,
1261 /* Allocate a new _cpp_file structure. */
1262 static _cpp_file *
1265 _cpp_file *file = XCNEW (_cpp_file);
1273 /* Release a _cpp_file structure. */
1275 destroy_cpp_file (_cpp_file *file)
1287 _cpp_file *iter = pfile->all_files;
1290 _cpp_file *next = iter->next_file;
1541 _cpp_file *file = entry->u.file;
1608 _cpp_file *file;
1650 _cpp_pop_file_buffer (cpp_reader *pfile, _cpp_file *file,
1675 _cpp_get_file_name (_cpp_file *file)
1680 /* Inteface to file statistics record in _cpp_file structure. */
1682 _cpp_get_file_stat (_cpp_file *file)
1824 remap_filename (cpp_reader *pfile, _cpp_file *file)
1874 validate_pch (cpp_reader *pfile, _cpp_file *file, const char *pchname)
1904 /* Get the path associated with the _cpp_file F. The path includes
1909 cpp_get_path (struct _cpp_file *f)
1914 /* Get the directory associated with the _cpp_file F. */
1917 cpp_get_dir (struct _cpp_file *f)
1931 /* Get the _cpp_file associated with the cpp_buffer B. */
1933 _cpp_file *
1996 _cpp_file *f;
2096 _cpp_file *f;
2114 _cpp_file *const f = d->f;
2136 _cpp_file *f,
2161 _cpp_file *file = _cpp_find_file (pfile, fname, start_dir, angle_brackets,
2173 _cpp_file file = {};