Home
last modified time | relevance | path

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

/bionic/libc/netbsd/resolv/
Dres_query.c130 u_char *answer, /* buffer to put answer */ in res_nquery() argument
134 HEADER *hp = (HEADER *)(void *)answer; in res_nquery()
163 n = res_nsend(statp, buf, n, answer, anslen); in res_nquery()
224 u_char *answer, /* buffer to put answer */ in res_nsearch() argument
228 HEADER *hp = (HEADER *)(void *)answer; in res_nsearch()
248 return (res_nquery(statp, cp, class, type, answer, anslen)); in res_nsearch()
258 answer, anslen); in res_nsearch()
295 answer, anslen); in res_nsearch()
351 answer, anslen); in res_nsearch()
381 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.c1012 const uint8_t* answer; member
1079 answer_getTTL(const void* answer, int answerlen) in answer_getTTL() argument
1087 if (ns_initparse(answer, answerlen, &handle) >= 0) { in answer_getTTL()
1174 entry_alloc( const Entry* init, const void* answer, int answerlen ) in entry_alloc() argument
1190 e->answer = e->query + e->querylen; in entry_alloc()
1193 memcpy( (char*)e->answer, answer, e->answerlen ); in entry_alloc()
1482 _dump_answer(const void* answer, int answerlen) in _dump_answer() argument
1493 res_pquery(statep, answer, answerlen, fp); in _dump_answer()
1642 void* answer, in _resolv_cache_lookup() argument
1703 memcpy( answer, e->answer, e->answerlen ); in _resolv_cache_lookup()
[all …]
/bionic/libc/private/
Dresolv_cache.h105 void* answer,
117 const void* answer,
/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/netbsd/net/
Dgetaddrinfo.c211 u_char *answer; /* buffer to put answer */ member
1296 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1314 assert(answer != NULL); in getanswer()
1322 eom = answer->buf + anslen; in getanswer()
1335 hp = &answer->hdr; in getanswer()
1340 cp = answer->buf + HFIXEDSZ; in getanswer()
1345 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1369 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1388 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
1925 q.answer = buf->buf; in _dns_getaddrinfo()
[all …]
/bionic/libc/netbsd/
Dgethnamaddr.c177 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
193 assert(answer != NULL); in getanswer()
198 eom = answer->buf + anslen; in getanswer()
213 hp = &answer->hdr; in getanswer()
218 cp = answer->buf; in getanswer()
224 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
254 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
277 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
307 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
345 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()