Lines Matching refs:fullpath
458 char fullpath[PATH_MAX]; in find_debug_via_debuglink() local
475 snprintf(fullpath, sizeof(fullpath),"%s/%s", bindir, name); in find_debug_via_debuglink()
476 if (strcmp(fullpath, binpath) != 0 && access(fullpath, F_OK) != -1) { in find_debug_via_debuglink()
477 res = strdup(fullpath); in find_debug_via_debuglink()
482 snprintf(fullpath, sizeof(fullpath), "%s/.debug/%s", bindir, name); in find_debug_via_debuglink()
483 if (access(fullpath, F_OK) != -1) { in find_debug_via_debuglink()
484 res = strdup(fullpath); in find_debug_via_debuglink()
489 snprintf(fullpath, sizeof(fullpath), "/usr/lib/debug%s/%s", bindir, name); in find_debug_via_debuglink()
490 if (access(fullpath, F_OK) != -1) { in find_debug_via_debuglink()
491 res = strdup(fullpath); in find_debug_via_debuglink()
505 char fullpath[PATH_MAX]; in find_debug_via_buildid() local
515 snprintf(fullpath, sizeof(fullpath), "/usr/lib/debug/.build-id/%c%c/%s.debug", in find_debug_via_buildid()
517 if (access(fullpath, F_OK) != -1) { in find_debug_via_buildid()
518 return strdup(fullpath); in find_debug_via_buildid()