/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, 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 | 127 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()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | fnmatch.c | 99 classmatch(const char *pattern, char test, int foldcase, const char **ep) in classmatch() argument 108 *ep = mismatch; in classmatch() 114 *ep = mismatch; in classmatch() 117 *ep = colon + 2; in classmatch() 131 *ep = mismatch; in classmatch()
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 225 char *bp, **ap, **hap, *ep; in getanswer() local 263 ep = buf + buflen; in getanswer() 269 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 294 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 334 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 338 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 355 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 359 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 381 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 412 map_v4v6_hostent(hent, &bp, ep); in getanswer() [all …]
|
D | getaddrinfo.c | 348 char *ep; in str2number() local 355 ep = NULL; in str2number() 357 v = strtoul(p, &ep, 10); in str2number() 358 if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) in str2number() 1249 char *ep; in ip6_str2scopeid() local 1284 lscopeid = strtoul(scope, &ep, 10); in ip6_str2scopeid() 1286 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) in ip6_str2scopeid() 1321 char *bp, *ep; in getanswer() local 1353 ep = hostbuf + sizeof hostbuf; in getanswer() 1360 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() [all …]
|
/bionic/libc/kernel/uapi/linux/usb/ |
D | raw_gadget.h | 43 __u16 ep; member
|
/bionic/libc/kernel/uapi/linux/ |
D | usbdevice_fs.h | 33 unsigned int ep; member
|
/bionic/libc/stdio/ |
D | printf_common.h | 164 #define PRINTANDPAD(p, ep, len, with) \ argument 166 n2 = (ep) - (p); \
|