/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_ntop.c | 104 char *tp, *ep; in inet_ntop6() local 145 ep = tmp + sizeof(tmp); in inet_ntop6() 146 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6() 151 if (tp + 1 >= ep) { in inet_ntop6() 161 if (tp + 1 >= ep) { in inet_ntop6() 170 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6() 175 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6() 176 if (advance <= 0 || advance >= ep - tp) { in inet_ntop6() 184 if (tp + 1 >= ep) { in inet_ntop6() 190 if (tp + 1 >= ep) { in inet_ntop6()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | mktemp.c | 45 char *start, *cp, *ep; in mktemp_internal() local 57 ep = path + len - slen; in mktemp_internal() 59 for (start = ep; start > path && start[-1] == 'X'; start--) in mktemp_internal() 61 if (ep - start < MIN_X) { in mktemp_internal() 78 for (i = 0; i < nitems(rbuf) && cp != ep; i++) in mktemp_internal() 80 } while (cp != ep); in mktemp_internal()
|
D | vfprintf.c | 375 #define PRINTANDPAD(p, ep, len, with) do { \ in __vfprintf() argument 376 n2 = (ep) - (p); \ in __vfprintf()
|
D | vfwprintf.c | 369 #define PRINTANDPAD(p, ep, len, with) do { \ in __vfwprintf() argument 370 n2 = (ep) - (p); \ in __vfwprintf()
|
/bionic/libc/dns/resolv/ |
D | res_mkquery.c | 128 register u_char *cp, *ep; in res_nmkquery() local 151 ep = buf + buflen; in res_nmkquery() 162 if (ep - cp < QFIXEDSZ) in res_nmkquery() 164 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, in res_nmkquery() 178 if ((ep - cp) < RRFIXEDSZ) in res_nmkquery() 180 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, in res_nmkquery() 200 if (ep - cp < 1 + RRFIXEDSZ + datalen) in res_nmkquery() 238 register u_char *cp, *ep; in res_nopt() local 248 ep = buf + buflen; in res_nopt() 250 if ((ep - cp) < 1 + RRFIXEDSZ) in res_nopt()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | fnmatch.c | 100 classmatch(const char *pattern, char test, int foldcase, const char **ep) in classmatch() argument 109 *ep = mismatch; in classmatch() 116 *ep = mismatch; in classmatch() 119 *ep = colon + 2; in classmatch() 133 *ep = mismatch; in classmatch()
|
/bionic/libc/dns/ |
D | gethnamaddr.c | 189 char *bp, **ap, **hap, *ep; in getanswer() local 222 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer() 229 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 259 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 302 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 306 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 324 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 328 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 350 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 385 map_v4v6_hostent(&rs->host, &bp, ep); in getanswer() [all …]
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 342 char *ep; in str2number() local 349 ep = NULL; in str2number() 351 v = strtoul(p, &ep, 10); in str2number() 352 if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) in str2number() 1253 char *ep; in ip6_str2scopeid() local 1288 lscopeid = strtoul(scope, &ep, 10); in ip6_str2scopeid() 1290 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) in ip6_str2scopeid() 1314 char *bp, *ep; in getanswer() local 1346 ep = hostbuf + sizeof hostbuf; in getanswer() 1352 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | usbdevice_fs.h | 36 unsigned int ep; member
|