Home
last modified time | relevance | path

Searched refs:answer (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/dns/resolv/
Dres_query.c131 u_char *answer, /* buffer to put answer */ in res_nquery() argument
135 HEADER *hp = (HEADER *)(void *)answer; in res_nquery()
164 n = res_nsend(statp, buf, n, answer, anslen); in res_nquery()
225 u_char *answer, /* buffer to put answer */ in res_nsearch() argument
229 HEADER *hp = (HEADER *)(void *)answer; in res_nsearch()
249 return (res_nquery(statp, cp, class, type, answer, anslen)); in res_nsearch()
259 answer, anslen); in res_nsearch()
296 answer, anslen); in res_nsearch()
352 answer, anslen); in res_nsearch()
382 u_char *answer, /* buffer to put answer */ in res_nquerydomain() argument
[all …]
Dres_data.c202 u_char *answer, /* buffer to put answer */ in res_query() argument
209 return (res_nquery(&_nres, name, class, type, answer, anslen)); in res_query()
271 u_char *answer, /* buffer to put answer */ in res_search() argument
279 return (res_nsearch(&_nres, name, class, type, answer, anslen)); in res_search()
286 u_char *answer, /* buffer to put answer */ in res_querydomain() argument
296 answer, anslen)); in res_querydomain()
Dres_cache.c1057 const uint8_t* answer; member
1124 answer_getTTL(const void* answer, int answerlen) in answer_getTTL() argument
1132 if (ns_initparse(answer, answerlen, &handle) >= 0) { in answer_getTTL()
1219 entry_alloc( const Entry* init, const void* answer, int answerlen ) in entry_alloc() argument
1235 e->answer = e->query + e->querylen; in entry_alloc()
1238 memcpy( (char*)e->answer, answer, e->answerlen ); in entry_alloc()
1517 _dump_answer(const void* answer, int answerlen) in _dump_answer() argument
1528 res_pquery(statep, answer, answerlen, fp); in _dump_answer()
1677 void* answer, in _resolv_cache_lookup() argument
1746 memcpy( answer, e->answer, e->answerlen ); in _resolv_cache_lookup()
[all …]
/bionic/libc/dns/include/
Dresolv_cache.h54 void* answer,
66 const void* answer,
/bionic/libc/dns/net/
Dgetaddrinfo.c213 u_char *answer; /* buffer to put answer */ member
1310 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1328 assert(answer != NULL); in getanswer()
1336 eom = answer->buf + anslen; in getanswer()
1349 hp = &answer->hdr; in getanswer()
1354 cp = answer->buf; in getanswer()
1360 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1384 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1405 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
1932 q.answer = buf->buf; in _dns_getaddrinfo()
[all …]
Dgethnamaddr.c217 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
236 _DIAGASSERT(answer != NULL); in getanswer()
241 eom = answer->buf + anslen; in getanswer()
259 hp = &answer->hdr; in getanswer()
264 cp = answer->buf; 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()
315 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer()
344 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer()
381 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer()
/bionic/
DREADME.md145 this system call?". The answer is usually "no".
147 The answer is "yes" if the system call is part of the POSIX standard.
149 The answer is probably "yes" if the system call has a wrapper in at
152 The answer may be "yes" if the system call has three/four distinct
/bionic/tests/libs/
DAndroid.bp634 // ..._child.so - correct answer
641 // ..._parent1.so - correct answer
650 // ..._parent2.so - incorrect answer
893 // ..._2.so - this one has the incorrect answer