Lines Matching refs:filename
135 const char *filename; member
225 &a2l->filename, &a2l->funcname, in find_address_in_section()
228 if (a2l->filename && !strlen(a2l->filename)) in find_address_in_section()
229 a2l->filename = NULL; in find_address_in_section()
286 if (a2l->filename) in inline_list__append_dso_a2l()
287 srcline = srcline_from_fileline(a2l->filename, a2l->line); in inline_list__append_dso_a2l()
325 while (bfd_find_inliner_info(a2l->abfd, &a2l->filename, in addr2line()
329 if (a2l->filename && !strlen(a2l->filename)) in addr2line()
330 a2l->filename = NULL; in addr2line()
342 *file = a2l->filename ? strdup(a2l->filename) : NULL; in addr2line()
384 static int filename_split(char *filename, unsigned int *line_nr) in filename_split() argument
388 sep = strchr(filename, '\n'); in filename_split()
392 if (!strcmp(filename, "??:0")) in filename_split()
395 sep = strchr(filename, ':'); in filename_split()
414 char *filename = NULL; in addr2line() local
427 if (getline(&filename, &len, fp) < 0 || !len) { in addr2line()
432 ret = filename_split(filename, line_nr); in addr2line()
434 free(filename); in addr2line()
438 *file = filename; in addr2line()
456 char *filename = NULL; in addr2inlines() local
486 if (getline(&filename, &filelen, fp) == -1) in addr2inlines()
489 if (filename_split(filename, &line_nr) != 1) in addr2inlines()
492 srcline = srcline_from_fileline(filename, line_nr); in addr2inlines()
505 free(filename); in addr2inlines()