Lines Matching refs:path
5649 char * path; in s_incbin() local
5707 path = (char *) xmalloc ((unsigned long) len + include_dir_maxlen + 5); in s_incbin()
5711 sprintf (path, "%s/%s", include_dirs[i], filename); in s_incbin()
5713 binfile = fopen (path, FOPEN_RB); in s_incbin()
5722 path = xstrdup (filename); in s_incbin()
5728 register_dependency (path); in s_incbin()
5733 as_bad (_("seek to end of .incbin file failed `%s'"), path); in s_incbin()
5751 as_bad (_("could not skip to %ld in file `%s'"), skip, path); in s_incbin()
5761 path, bytes, count); in s_incbin()
5766 if (path) in s_incbin()
5767 free (path); in s_incbin()
5778 char *path; in s_include() local
5810 path = (char *) xmalloc ((unsigned long) i in s_include()
5815 strcpy (path, include_dirs[i]); in s_include()
5816 strcat (path, "/"); in s_include()
5817 strcat (path, filename); in s_include()
5818 if (0 != (try_file = fopen (path, FOPEN_RT))) in s_include()
5825 free (path); in s_include()
5826 path = filename; in s_include()
5829 register_dependency (path); in s_include()
5830 input_scrub_insert_file (path); in s_include()
5834 add_include_dir (char *path) in add_include_dir() argument
5852 include_dirs[include_dir_count - 1] = path; /* New one. */ in add_include_dir()
5854 i = strlen (path); in add_include_dir()
6098 input_scrub_insert_file (char *path) in input_scrub_insert_file() argument
6100 input_scrub_include_file (path, input_line_pointer); in input_scrub_insert_file()