Searched refs:endp (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/bionic/ |
D | libgen.cpp | 41 const char* endp = nullptr; in __basename_r() local 53 endp = path + strlen(path) - 1; in __basename_r() 54 while (endp > path && *endp == '/') { in __basename_r() 55 endp--; in __basename_r() 59 if (endp == path && *endp == '/') { in __basename_r() 66 startp = endp; in __basename_r() 71 len = endp - startp +1; in __basename_r() 97 const char* endp = nullptr; in __dirname_r() local 109 endp = path + strlen(path) - 1; in __dirname_r() 110 while (endp > path && *endp == '/') { in __dirname_r() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_pton.c | 128 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 134 endp = tp + IN6ADDRSZ; in inet_pton6() 169 if (tp + INT16SZ > endp) in inet_pton6() 178 if (ch == '.' && ((tp + INADDRSZ) <= endp) && in inet_pton6() 188 if (tp + INT16SZ > endp) in inet_pton6() 201 if (tp == endp) in inet_pton6() 204 endp[- i] = colonp[n - i]; in inet_pton6() 207 tp = endp; in inet_pton6() 209 if (tp != endp) in inet_pton6()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 113 const char *endp; /* end of string -- virtual NUL here */ member 183 const char *endp; in matcher() local 229 m->endp = stop; in matcher() 239 endp = fast(m, start, stop, gf, gl); in matcher() 240 if (endp == NULL) { /* a miss */ in matcher() 251 endp = slow(m, m->coldp, stop, gf, gl); in matcher() 252 if (endp != NULL) in matcher() 254 assert(m->coldp < m->endp); in matcher() 272 dp = dissect(m, m->coldp, endp, gf, gl); in matcher() 282 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); in matcher() [all …]
|