Home | History | Annotate | Download | only in libgcc

Lines Matching refs:gf

212 allocate_filename_struct (struct gcov_filename *gf)
217 gf->filename = NULL;
230 gf->strip = strip;
242 if (!prefix_length && gf->strip)
251 gf->prefix = (char *) xmalloc (prefix_length + 1);
252 char *p = (char *) memcpy (gf->prefix, gcov_prefix, prefix_length);
256 gf->prefix = NULL;
264 struct gcov_filename *gf)
271 if (gf->strip > 0)
282 for (level = gf->strip; *probe && level; probe++)
291 if (gf->prefix)
301 size_t prefix_length = gf->prefix ? strlen (gf->prefix) : 0;
302 gf->filename = (char *) xmalloc (prefix_length + strlen (fname) + 2);
303 *gf->filename = '\0';
305 strcat (gf->filename, gf->prefix);
307 *gf->filename++ = '/';
308 strcat (gf->filename, fname);
310 gf->filename = replace_filename_variables (gf->filename);
312 if (!gcov_open (gf->filename))
316 if (create_file_directory (gf->filename))
318 fprintf (stderr, "profiling:%s:Skip\n", gf->filename);
321 if (!gcov_open (gf->filename))
323 fprintf (stderr, "profiling:%s:Cannot open\n", gf->filename);