/third_party/node/deps/cares/src/lib/ |
H A D | ares_parse_ptr_reply.c | 51 size_t ancount; in ares_parse_ptr_reply() local 73 ancount = ares_dns_record_rr_cnt(dnsrec, ARES_SECTION_ANSWER); in ares_parse_ptr_reply() 74 if (ancount == 0) { in ares_parse_ptr_reply() 106 hostent->h_aliases = ares_malloc((ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ptr_reply() 111 memset(hostent->h_aliases, 0, (ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ptr_reply() 115 for (i = 0; i < ancount; i++) { in ares_parse_ptr_reply()
|
H A D | ares_parse_ns_reply.c | 52 size_t ancount; in ares_parse_ns_reply() local 67 ancount = ares_dns_record_rr_cnt(dnsrec, ARES_SECTION_ANSWER); in ares_parse_ns_reply() 68 if (ancount == 0) { in ares_parse_ns_reply() 103 hostent->h_aliases = ares_malloc((ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ns_reply() 108 memset(hostent->h_aliases, 0, (ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ns_reply() 110 for (i = 0; i < ancount; i++) { in ares_parse_ns_reply()
|
H A D | ares__parse_into_addrinfo.c | 58 size_t ancount; in ares__parse_into_addrinfo() local 77 ancount = ares_dns_record_rr_cnt(dnsrec, ARES_SECTION_ANSWER); in ares__parse_into_addrinfo() 78 if (ancount == 0) { in ares__parse_into_addrinfo() 83 for (i = 0; i < ancount; i++) { in ares__parse_into_addrinfo()
|
H A D | ares_query.c | 103 size_t ancount; in qcallback() local 111 ancount = DNS_HEADER_ANCOUNT(abuf); in qcallback() 116 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA; in qcallback()
|
H A D | ares_dns_parse.c | 724 unsigned short *ancount, in ares_dns_parse_header() 737 if (buf == NULL || dnsrec == NULL || qdcount == NULL || ancount == NULL || in ares_dns_parse_header() 826 status = ares__buf_fetch_be16(buf, ancount); in ares_dns_parse_header() 851 if (*ancount > 0) { in ares_dns_parse_header() 853 ares_dns_record_rr_prealloc(*dnsrec, ARES_SECTION_ANSWER, *ancount); in ares_dns_parse_header() 881 *ancount = 0; in ares_dns_parse_header() 1138 unsigned short ancount; in ares_dns_parse_buf() local 1170 status = ares_dns_parse_header(buf, flags, dnsrec, &qdcount, &ancount, in ares_dns_parse_buf() 1198 for (i = 0; i < ancount; i++) { in ares_dns_parse_buf() 721 ares_dns_parse_header(ares__buf_t *buf, unsigned int flags, ares_dns_record_t **dnsrec, unsigned short *qdcount, unsigned short *ancount, unsigned short *nscount, unsigned short *arcount) ares_dns_parse_header() argument
|
H A D | ares_dns_private.h | 224 size_t ancount; member
|
H A D | ares_dns_record.c | 210 for (i = 0; i < dnsrec->ancount; i++) { in ares_dns_record_destroy() 312 return dnsrec->ancount; in ares_dns_record_rr_cnt() 391 rr_len = &dnsrec->ancount; in ares_dns_record_rr_add() 442 rr_len = &dnsrec->ancount; in ares_dns_record_rr_del() 483 rr_len = dnsrec->ancount; in ares_dns_record_rr_get()
|
H A D | ares_dns_write.c | 116 status = ares__buf_append_be16(buf, (unsigned short)dnsrec->ancount); in ares_dns_write_header()
|
/third_party/musl/src/network/ |
H A D | dns_parse.c | 6 int qdcount, ancount; in __dns_parse() local 14 ancount = r[6]*256 + r[7]; in __dns_parse() 21 while (ancount--) { in __dns_parse()
|
/third_party/curl/lib/ |
H A D | doh.c | 608 unsigned short ancount; in doh_decode() local 635 ancount = get16bit(doh, 6); in doh_decode() 636 while(ancount) { in doh_decode() 682 ancount--; in doh_decode()
|
/third_party/musl/porting/liteos_m/kernel/include/arpa/ |
H A D | nameser.h | 350 unsigned ancount :16; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/ |
H A D | nameser.h | 350 unsigned ancount :16; member
|
/third_party/musl/porting/uniproton/kernel/include/arpa/ |
H A D | nameser.h | 350 unsigned ancount :16; member
|
/third_party/musl/include/arpa/ |
H A D | nameser.h | 385 unsigned ancount :16; member
|
/third_party/node/src/ |
H A D | cares_wrap.cc | 528 const unsigned int ancount = cares_get_16bit(buf + 6); in ParseSoaReply() local 545 for (unsigned int i = 0; i < ancount; i++) { in ParseSoaReply()
|