endp 27 usr/lib/libc/gen/basename.c const char *endp, *startp; endp 37 usr/lib/libc/gen/basename.c endp = path + strlen(path) - 1; endp 38 usr/lib/libc/gen/basename.c while (endp > path && *endp == '/') endp 39 usr/lib/libc/gen/basename.c endp--; endp 42 usr/lib/libc/gen/basename.c if (endp == path && *endp == '/') { endp 49 usr/lib/libc/gen/basename.c startp = endp; endp 53 usr/lib/libc/gen/basename.c len = endp - startp + 1; endp 27 usr/lib/libc/gen/dirname.c const char *endp; endp 37 usr/lib/libc/gen/dirname.c endp = path + strlen(path) - 1; endp 38 usr/lib/libc/gen/dirname.c while (endp > path && *endp == '/') endp 39 usr/lib/libc/gen/dirname.c endp--; endp 42 usr/lib/libc/gen/dirname.c while (endp > path && *endp != '/') endp 43 usr/lib/libc/gen/dirname.c endp--; endp 46 usr/lib/libc/gen/dirname.c if (endp == path) { endp 47 usr/lib/libc/gen/dirname.c dname[0] = *endp == '/' ? '/' : '.'; endp 53 usr/lib/libc/gen/dirname.c endp--; endp 54 usr/lib/libc/gen/dirname.c } while (endp > path && *endp == '/'); endp 57 usr/lib/libc/gen/dirname.c len = endp - path + 1; endp 112 usr/lib/libc/stdio/vfprintf.c __ultoa(u_long val, char *endp, int base, int octzero, char *xdigs) endp 114 usr/lib/libc/stdio/vfprintf.c char *cp = endp;