Lines Matching full:endp
33 const char *endp;43 endp = path + strlen(path) - 1;44 while (endp > path && *endp == '/')45 endp--;48 while (endp > path && *endp != '/')49 endp--;52 if (endp == path) {53 dname[0] = *endp == '/' ? '/' : '.';59 endp--;60 } while (endp > path && *endp == '/');63 len = endp - path + 1;