Lines Matching defs:dir
1066 char *dir;
1089 dir = strdup (abfd->filename);
1090 if (dir == NULL)
1095 BFD_ASSERT (strlen (dir) != 0);
1098 for (i = strlen (dir) - 1; i >= 0; i--)
1099 if (IS_DIR_SEPARATOR (dir[i]))
1102 dir[i + 1] = '\0';
1103 BFD_ASSERT (dir[i] == '/' || dir[0] == '\0');
1106 + strlen (dir)
1113 free (dir);
1118 strcpy (debugfile, dir);
1124 free (dir);
1129 strcpy (debugfile, dir);
1136 free (dir);
1145 && dir[0] != '/')
1147 strcat (debugfile, dir);
1153 free (dir);
1159 free (dir);
1169 char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
1177 locations, including the directory tree rooted at @var{dir}, and if
1180 If @var{dir} is NULL, it will search a default path configured into
1191 bfd_follow_gnu_debuglink (bfd *abfd, const char *dir)
1194 if (dir == NULL)
1195 dir = DEBUGDIR;
1197 return find_separate_debug_file (abfd, dir);