Searched refs:ep (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/inet/ |
D | inet_ntop.c | 104 char *tp, *ep; in inet_ntop6() local 147 ep = tmp + sizeof(tmp); in inet_ntop6() 148 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6() 153 if (tp + 1 >= ep) in inet_ntop6() 161 if (tp + 1 >= ep) in inet_ntop6() 168 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6() 173 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6() 174 if (advance <= 0 || advance >= ep - tp) in inet_ntop6() 180 if (tp + 1 >= ep) in inet_ntop6() 184 if (tp + 1 >= ep) in inet_ntop6()
|
/bionic/libc/netbsd/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/netbsd/ |
D | gethnamaddr.c | 178 char *bp, **ap, **hap, *ep; in getanswer() local 211 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer() 218 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 248 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 291 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 295 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 313 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer() 317 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 339 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 374 map_v4v6_hostent(&rs->host, &bp, ep); in getanswer() [all …]
|
/bionic/libc/kernel/common/linux/ |
D | usbdevice_fs.h | 30 unsigned int ep; member
|
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 327 char *ep; in str2number() local 334 ep = NULL; in str2number() 336 v = strtoul(p, &ep, 10); in str2number() 337 if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) in str2number() 1048 char *ep; in ip6_str2scopeid() local 1083 lscopeid = strtoul(scope, &ep, 10); in ip6_str2scopeid() 1085 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) in ip6_str2scopeid() 1109 char *bp, *ep; in getanswer() local 1141 ep = hostbuf + sizeof hostbuf; in getanswer() 1147 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() [all …]
|