/bionic/libc/dns/include/ |
D | resolv_cache.h | 54 void* answer, 66 const void* answer,
|
/bionic/libc/dns/resolv/ |
D | res_query.c | 131 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 …]
|
D | res_data.c | 202 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()
|
D | res_cache.c | 1000 const uint8_t* answer; member 1067 answer_getTTL(const void* answer, int answerlen) in answer_getTTL() argument 1075 if (ns_initparse(answer, answerlen, &handle) >= 0) { in answer_getTTL() 1162 entry_alloc( const Entry* init, const void* answer, int answerlen ) in entry_alloc() argument 1178 e->answer = e->query + e->querylen; in entry_alloc() 1181 memcpy( (char*)e->answer, answer, e->answerlen ); in entry_alloc() 1454 _dump_answer(const void* answer, int answerlen) in _dump_answer() argument 1465 res_pquery(statep, answer, answerlen, fp); in _dump_answer() 1614 void* answer, in _resolv_cache_lookup() argument 1683 memcpy( answer, e->answer, e->answerlen ); in _resolv_cache_lookup() [all …]
|
/bionic/libc/arch-mips/string/ |
D | mips_strlen.c | 151 static char answer[1024]; in chk() local 153 sprintf (answer, "new_strlen=%d: lib_strlen=%d: %s!", mine, libs, result); in chk() 156 return answer; in chk()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 214 u_char *answer; /* buffer to put answer */ member 1294 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument 1312 assert(answer != NULL); in getanswer() 1320 eom = answer->buf + anslen; in getanswer() 1333 hp = &answer->hdr; in getanswer() 1338 cp = answer->buf + HFIXEDSZ; in getanswer() 1343 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 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() 1909 q.answer = buf->buf; in _dns_getaddrinfo() [all …]
|
D | gethnamaddr.c | 201 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument 220 _DIAGASSERT(answer != NULL); in getanswer() 225 eom = answer->buf + anslen; in getanswer() 243 hp = &answer->hdr; in getanswer() 248 cp = answer->buf; in getanswer() 253 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); 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()
|