Home
last modified time | relevance | path

Searched refs:ancount (Results 1 – 22 of 22) sorted by relevance

/third_party/musl/src/network/
Ddns_parse.c6 int qdcount, ancount; in __dns_parse() local
14 ancount = r[6]*256 + r[7]; in __dns_parse()
15 if (qdcount+ancount > 64) return -1; in __dns_parse()
22 while (ancount--) { in __dns_parse()
/third_party/node/deps/cares/src/lib/
Dares_parse_soa_reply.c45 int qdcount, ancount, qclass; in ares_parse_soa_reply() local
53 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_soa_reply()
57 if (ancount == 0) in ares_parse_soa_reply()
79 if (qclass == T_SOA && ancount > 1) in ares_parse_soa_reply()
83 for (i = 0; i < ancount; i++) in ares_parse_soa_reply()
Dares_parse_mx_reply.c41 unsigned int qdcount, ancount, i; in ares_parse_mx_reply() local
59 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_mx_reply()
62 if (ancount == 0) in ares_parse_mx_reply()
79 for (i = 0; i < ancount; i++) in ares_parse_mx_reply()
Dares_parse_srv_reply.c41 unsigned int qdcount, ancount, i; in ares_parse_srv_reply() local
59 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_srv_reply()
62 if (ancount == 0) in ares_parse_srv_reply()
79 for (i = 0; i < ancount; i++) in ares_parse_srv_reply()
Dares_parse_uri_reply.c46 unsigned int qdcount, ancount, i; in ares_parse_uri_reply() local
65 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_uri_reply()
69 if (ancount == 0) { in ares_parse_uri_reply()
87 for (i = 0; i < ancount; i++) in ares_parse_uri_reply()
Dares_parse_ns_reply.c42 unsigned int qdcount, ancount; in ares_parse_ns_reply() local
59 ancount = DNS_HEADER_ANCOUNT( abuf ); in ares_parse_ns_reply()
76 nameservers = ares_malloc( ( ancount + 1 ) * sizeof( char * ) ); in ares_parse_ns_reply()
85 for ( i = 0; i < ( int ) ancount; i++ ) in ares_parse_ns_reply()
Dares_parse_naptr_reply.c41 unsigned int qdcount, ancount, i; in ares_parse_naptr_reply() local
59 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_naptr_reply()
62 if (ancount == 0) in ares_parse_naptr_reply()
79 for (i = 0; i < ancount; i++) in ares_parse_naptr_reply()
Dares_parse_txt_reply.c46 unsigned int qdcount, ancount, i; in ares__parse_txt_reply() local
65 ancount = DNS_HEADER_ANCOUNT (abuf); in ares__parse_txt_reply()
68 if (ancount == 0) in ares__parse_txt_reply()
85 for (i = 0; i < ancount; i++) in ares__parse_txt_reply()
Dares_parse_caa_reply.c44 unsigned int qdcount, ancount, i; in ares_parse_caa_reply() local
63 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_caa_reply()
66 if (ancount == 0) in ares_parse_caa_reply()
83 for (i = 0; i < ancount; i++) in ares_parse_caa_reply()
Dares_query.c144 unsigned int ancount; in qcallback() local
153 ancount = DNS_HEADER_ANCOUNT(abuf); in qcallback()
159 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA; in qcallback()
Dares_parse_ptr_reply.c40 unsigned int qdcount, ancount; in ares_parse_ptr_reply() local
60 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_ptr_reply()
84 for (i = 0; i < (int)ancount; i++) in ares_parse_ptr_reply()
Dares__parse_into_addrinfo.c47 unsigned int qdcount, ancount; in ares__parse_into_addrinfo() local
63 ancount = DNS_HEADER_ANCOUNT(abuf); in ares__parse_into_addrinfo()
84 for (i = 0; i < (int)ancount; i++) in ares__parse_into_addrinfo()
Dares_process.c1354 unsigned int qdcount, ancount, nscount, arcount, i; in has_opt_rr() local
1363 ancount = DNS_HEADER_ANCOUNT(abuf); in has_opt_rr()
1384 for (i = 0; i < ancount + nscount; i++) in has_opt_rr()
/third_party/curl/lib/
Ddoh.c631 unsigned short ancount; in doh_decode() local
658 ancount = get16bit(doh, 6); in doh_decode()
659 while(ancount) { in doh_decode()
705 ancount--; in doh_decode()
/third_party/node/deps/cares/src/tools/
Dadig.c391 unsigned int qdcount, ancount, nscount, arcount, i; in callback() local
424 ancount = DNS_HEADER_ANCOUNT(abuf); in callback()
451 for (i = 0; i < ancount; i++) in callback()
/third_party/musl/ndk_musl_include/arpa/
Dnameser.h350 unsigned ancount :16; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/
Dnameser.h350 unsigned ancount :16; member
/third_party/musl/include/arpa/
Dnameser.h350 unsigned ancount :16; member
/third_party/musl/porting/liteos_m/kernel/include/arpa/
Dnameser.h350 unsigned ancount :16; member
/third_party/musl/porting/uniproton/kernel/include/arpa/
Dnameser.h350 unsigned ancount :16; member
/third_party/glib/gio/
Dgthreadedresolver.c432 unsigned ancount :16; /* number of answer entries */ member
710 count = ntohs (header->ancount); in g_resolver_records_from_res_query()
/third_party/node/src/
Dcares_wrap.cc527 const unsigned int ancount = cares_get_16bit(buf + 6); in ParseSoaReply() local
544 for (unsigned int i = 0; i < ancount; i++) { in ParseSoaReply()