Home
last modified time | relevance | path

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

/bionic/libc/dns/include/
Dresolv_cache.h54 void* answer,
66 const void* answer,
/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.c995 const uint8_t* answer; member
1062 answer_getTTL(const void* answer, int answerlen) in answer_getTTL() argument
1070 if (ns_initparse(answer, answerlen, &handle) >= 0) { in answer_getTTL()
1157 entry_alloc( const Entry* init, const void* answer, int answerlen ) in entry_alloc() argument
1173 e->answer = e->query + e->querylen; in entry_alloc()
1176 memcpy( (char*)e->answer, answer, e->answerlen ); in entry_alloc()
1449 _dump_answer(const void* answer, int answerlen) in _dump_answer() argument
1460 res_pquery(statep, answer, answerlen, fp); in _dump_answer()
1609 void* answer, in _resolv_cache_lookup() argument
1678 memcpy( answer, e->answer, e->answerlen ); in _resolv_cache_lookup()
[all …]
/bionic/libc/arch-mips64/string/
Dmips_strlen.c151 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/arch-mips/string/
Dmips_strlen.c150 static char answer[1024]; in chk() local
152 sprintf (answer, "new_strlen=%d: lib_strlen=%d: %s!", mine, libs, result); in chk()
155 return answer; in chk()
/bionic/libc/dns/net/
Dgetaddrinfo.c214 u_char *answer; /* buffer to put answer */ member
1303 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1321 assert(answer != NULL); in getanswer()
1329 eom = answer->buf + anslen; in getanswer()
1342 hp = &answer->hdr; in getanswer()
1347 cp = answer->buf + HFIXEDSZ; in getanswer()
1352 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1376 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1395 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
1917 q.answer = buf->buf; in _dns_getaddrinfo()
[all …]
/bionic/libc/dns/
Dgethnamaddr.c182 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
198 assert(answer != NULL); in getanswer()
203 eom = answer->buf + anslen; in getanswer()
218 hp = &answer->hdr; in getanswer()
223 cp = answer->buf; in getanswer()
229 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
259 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
282 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
312 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
350 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()