Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c104 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/
Dres_mkquery.c127 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/
Dmktemp.c47 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/
Dfnmatch.c99 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/
Dgethnamaddr.c225 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 …]
Dgetaddrinfo.c348 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/
Draw_gadget.h43 __u16 ep; member
/bionic/libc/kernel/uapi/linux/
Dusbdevice_fs.h33 unsigned int ep; member
/bionic/libc/stdio/
Dprintf_common.h164 #define PRINTANDPAD(p, ep, len, with) \ argument
166 n2 = (ep) - (p); \