Searched refs:eom (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/dns/nameser/ |
D | ns_name.c | 101 char *dn, *eom; in ns_name_ntop() local 108 eom = dst + dstsiz; in ns_name_ntop() 117 if (dn >= eom) { in ns_name_ntop() 127 if (dn + l >= eom) { in ns_name_ntop() 139 if ((m = decode_bitstring(&cp, dn, eom)) < 0) in ns_name_ntop() 150 if (dn + 1 >= eom) { in ns_name_ntop() 157 if (dn + 3 >= eom) { in ns_name_ntop() 166 if (dn >= eom) { in ns_name_ntop() 175 if (dn >= eom) { in ns_name_ntop() 181 if (dn >= eom) { in ns_name_ntop() [all …]
|
D | ns_parse.c | 80 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument 86 b = dn_skipname(ptr, eom); in ns_skiprr() 91 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr() 98 if (ptr > eom) in ns_skiprr() 106 const u_char *eom = msg + msglen; in ns_initparse() local 110 handle->_eom = eom; in ns_initparse() 111 if (msg + NS_INT16SZ > eom) in ns_initparse() 114 if (msg + NS_INT16SZ > eom) in ns_initparse() 118 if (msg + NS_INT16SZ > eom) in ns_initparse() 126 int b = ns_skiprr(msg, eom, (ns_sect)i, in ns_initparse() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_comp.c | 104 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand() argument 107 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); in dn_expand() 132 dn_skipname(const u_char *ptr, const u_char *eom) { in dn_skipname() argument 135 if (ns_name_skip(&ptr, eom) == -1) in dn_skipname()
|
D | res_send.c | 289 const u_char *buf, const u_char *eom) in res_nameinquery() argument 298 n = dn_expand(buf, eom, cp, tname, sizeof tname); in res_nameinquery() 302 if (cp + 2 * INT16SZ > eom) in res_nameinquery()
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 190 if (cp > eom) \ 196 if ((ptr) + (count) > eom) \ 208 const u_char *eom, *erdata; in getanswer() local 225 eom = answer->buf + anslen; in getanswer() 253 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 277 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 278 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer() 299 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer() 328 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer() 365 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer()
|
D | getaddrinfo.c | 1304 const u_char *eom; in getanswer() local 1320 eom = answer->buf + anslen; in getanswer() 1343 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 1366 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 1367 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 1386 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
|