Lines Matching refs:fname
67 const char *fname; in source_file_lookup_name() local
76 fname = strrchr (sf->name, '/'); in source_file_lookup_name()
78 if (fname) in source_file_lookup_name()
79 ++fname; in source_file_lookup_name()
81 fname = sf->name; in source_file_lookup_name()
83 if (FILENAME_CMP (filename, fname) == 0) in source_file_lookup_name()
100 char fname[PATH_MAX]; in annotate_source() local
107 strcpy (fname, sf->name); in annotate_source()
116 sf->name, fname)); in annotate_source()
118 ifp = fopen (fname, FOPEN_RB); in annotate_source()
144 strcpy (fname, sle->path); in annotate_source()
147 if (fname[strlen (fname) - 1] == ':') in annotate_source()
148 strcat (fname, "."); in annotate_source()
150 strcat (fname, "/"); in annotate_source()
153 strcat (fname, name_only); in annotate_source()
155 strcat (fname, sf->name); in annotate_source()
194 strcpy (fname, filename); in annotate_source()
195 strcat (fname, EXT_ANNO); in annotate_source()
203 && stat (fname, &buf2) == 0 in annotate_source()
206 char *dot = strrchr (fname, '.'); in annotate_source()
210 strcat (fname, ".ann"); in annotate_source()
214 ofp = fopen (fname, "w"); in annotate_source()
218 perror (fname); in annotate_source()