Lines Matching refs:subdir
44 const char *dir, const char *subdir, const char *debuglink, in try_open() argument
48 if (dir == NULL && subdir == NULL) in try_open()
54 else if ((subdir == NULL ? asprintf (&fname, "%s/%s", dir, debuglink) in try_open()
55 : dir == NULL ? asprintf (&fname, "%s/%s", subdir, debuglink) in try_open()
56 : asprintf (&fname, "%s/%s/%s", dir, subdir, debuglink)) < 0) in try_open()
245 const char *dir, *subdir, *file; in find_debuginfo_in_path() local
251 subdir = NULL; in find_debuginfo_in_path()
267 subdir = file_dirname; in find_debuginfo_in_path()
271 subdir = strchr (subdir, '/'); in find_debuginfo_in_path()
272 if (subdir != NULL) in find_debuginfo_in_path()
273 subdir = subdir + 1; in find_debuginfo_in_path()
274 if (subdir && *subdir == 0) in find_debuginfo_in_path()
280 subdir = NULL; in find_debuginfo_in_path()
289 subdir = p; in find_debuginfo_in_path()
296 int fd = try_open (&main_stat, dir, subdir, file, &fname); in find_debuginfo_in_path()
298 fd = try_open (&main_stat, dir, subdir, file_basename, &fname); in find_debuginfo_in_path()
320 if (mod->dw == NULL && subdir) in find_debuginfo_in_path()