Lines Matching defs:path
29 basename_r(const char *path, char *bname)
35 if (path == NULL || *path == '\0') {
42 endp = path + strlen(path) - 1;
43 while (endp > path && *endp == '/')
47 if (endp == path && *endp == '/') {
55 while (startp > path && *(startp - 1) != '/')
69 basename(const char *path)
78 return (basename_r(path, bname));