Lines Matching refs:pathname
122 char *filename, *pathname, *path2;
165 pathname = xstrdup (pathname_t);
168 while (*pathname && pathname[grub_strlen (pathname) - 1] == '/')
169 pathname[grub_strlen (pathname) - 1] = 0;
172 filename = grub_strrchr (pathname, '/');
176 filename = pathname;
181 path2 = grub_strdup (pathname);
182 path2[filename - pathname] = 0;
278 char *pathname;
307 pathname = xstrdup (path);
310 while (pathname [0] && pathname[1]
311 && pathname[grub_strlen (pathname) - 1] == '/')
312 pathname[grub_strlen (pathname) - 1] = 0;
314 (fs->dir) (dev, pathname, call_fill);
315 free (pathname);