Searched refs:getanswer (Results 1 – 4 of 4) sorted by relevance
/aosp12/packages/modules/DnsResolver/ |
H A D | gethnamaddr.cpp | 128 static struct hostent* getanswer(const querybuf* answer, int anslen, const char* qname, int qtype, in getanswer() function 680 hostent* hp = getanswer(buf.get(), n, name, type, info->hp, info->buf, info->buflen, &he); in dns_gethtbyname() 742 hostent* hp = getanswer(buf.get(), n, qbuf, T_PTR, info->hp, info->buf, info->buflen, &he); in dns_gethtbyaddr()
|
H A D | getaddrinfo.cpp | 141 static struct addrinfo* getanswer(const std::vector<uint8_t>&, int, const char*, int, 840 static struct addrinfo* getanswer(const std::vector<uint8_t>& answer, int anslen, const char* qname, in getanswer() function 1450 addrinfo* ai = getanswer(q.answer, q.n, q.name, q.qtype, pai, &he); in dns_getaddrinfo() 1456 ai = getanswer(q2.answer, q2.n, q2.name, q2.qtype, pai, &he); in dns_getaddrinfo()
|
/aosp12/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 145 static struct hostent *getanswer(const querybuf *, int, const char *, int, 216 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() function 1180 hp = getanswer(buf, n, name, type, res, info->hp, info->buf, in _dns_gethtbyname() 1267 hp = getanswer(buf, n, qbuf, T_PTR, res, info->hp, info->buf, in _dns_gethtbyaddr()
|
H A D | getaddrinfo.c | 238 static struct addrinfo *getanswer(const querybuf *, int, const char *, int, 1310 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() function 1996 ai = getanswer(buf, q.n, q.name, q.qtype, pai); in _dns_getaddrinfo() 2003 ai = getanswer(buf2, q2.n, q2.name, q2.qtype, pai); in _dns_getaddrinfo()
|