/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/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/stdio/ |
D | mktemp.c | 47 char *start, *cp, *ep; in mktemp_internal() local 59 ep = path + len - slen; in mktemp_internal() 61 for (start = ep; start > path && start[-1] == 'X'; start--) in mktemp_internal() 63 if (ep - start < MIN_X) { in mktemp_internal() 86 for (i = 0; i < nitems(rbuf) && cp != ep; i++) in mktemp_internal() 88 } while (cp != ep); in mktemp_internal()
|
D | vfwprintf.c | 369 #define PRINTANDPAD(p, ep, len, with) do { \ in __vfwprintf() argument 370 n2 = (ep) - (p); \ in __vfwprintf()
|
D | vfprintf.c | 375 #define PRINTANDPAD(p, ep, len, with) do { \ in __vfprintf() argument 376 n2 = (ep) - (p); \ in __vfprintf()
|
/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/net/ |
D | gethnamaddr.c | 209 char *bp, **ap, **hap, *ep; in getanswer() local 247 ep = buf + buflen; in getanswer() 253 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 278 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 318 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 322 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 339 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 343 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 365 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 396 map_v4v6_hostent(hent, &bp, ep); in getanswer() [all …]
|
D | getaddrinfo.c | 347 char *ep; in str2number() local 354 ep = NULL; in str2number() 356 v = strtoul(p, &ep, 10); in str2number() 357 if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) in str2number() 1244 char *ep; in ip6_str2scopeid() local 1279 lscopeid = strtoul(scope, &ep, 10); in ip6_str2scopeid() 1281 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) in ip6_str2scopeid() 1305 char *bp, *ep; in getanswer() local 1337 ep = hostbuf + sizeof hostbuf; in getanswer() 1343 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
|