Lines Matching refs:fullpath
400 char fullpath[PATH_MAX]; in find_debug_via_debuglink() local
416 snprintf(fullpath, sizeof(fullpath),"%s/%s", bindir, name); in find_debug_via_debuglink()
417 if (strcmp(fullpath, binpath) != 0 && access(fullpath, F_OK) != -1) { in find_debug_via_debuglink()
418 res = strdup(fullpath); in find_debug_via_debuglink()
423 snprintf(fullpath, sizeof(fullpath), "%s/.debug/%s", bindir, name); in find_debug_via_debuglink()
424 if (access(fullpath, F_OK) != -1) { in find_debug_via_debuglink()
425 res = strdup(fullpath); in find_debug_via_debuglink()
430 snprintf(fullpath, sizeof(fullpath), "/usr/lib/debug%s/%s", bindir, name); in find_debug_via_debuglink()
431 if (access(fullpath, F_OK) != -1) { in find_debug_via_debuglink()
432 res = strdup(fullpath); in find_debug_via_debuglink()
444 char fullpath[PATH_MAX]; in find_debug_via_buildid() local
454 snprintf(fullpath, sizeof(fullpath), "/usr/lib/debug/.build-id/%c%c/%s.debug", in find_debug_via_buildid()
456 if (access(fullpath, F_OK) != -1) { in find_debug_via_buildid()
457 return strdup(fullpath); in find_debug_via_buildid()