Lines Matching defs:path
5844 char * path;
5889 /* Try opening absolute path first, then try include dirs. */
5895 path = XNEWVEC (char, (unsigned long) len + include_dir_maxlen + 5);
5899 sprintf (path, "%s/%s", include_dirs[i], filename);
5901 binfile = fopen (path, FOPEN_RB);
5910 path = xstrdup (filename);
5916 register_dependency (path);
5921 as_bad (_("seek to end of .incbin file failed `%s'"), path);
5939 as_bad (_("could not skip to %ld in file `%s'"), skip, path);
5949 path, bytes, count);
5954 if (path)
5955 free (path);
5966 char *path;
5998 path = XNEWVEC (char, (unsigned long) i
6003 strcpy (path, include_dirs[i]);
6004 strcat (path, "/");
6005 strcat (path, filename);
6006 if (0 != (try_file = fopen (path, FOPEN_RT)))
6013 free (path);
6014 path = filename;
6016 /* malloc Storage leak when file is found on path. FIXME-SOMEDAY. */
6017 register_dependency (path);
6018 input_scrub_insert_file (path);
6022 add_include_dir (char *path)
6039 include_dirs[include_dir_count - 1] = path; /* New one. */
6041 i = strlen (path);
6282 /* Insert a file into the input stream; the path must resolve to an actual
6283 file; no include path searching or dependency registering is performed. */
6286 input_scrub_insert_file (char *path)
6288 input_scrub_include_file (path, input_line_pointer);