/bionic/libc/arch-mips/string/ |
H A D | mips_strlen.c | 150 static char answer[1024]; local 152 sprintf (answer, "new_strlen=%d: lib_strlen=%d: %s!", mine, libs, result); 155 return answer;
|
/bionic/libc/netbsd/resolv/ |
H A D | res_query.c | 117 * Formulate a normal query, send, and await answer. 118 * Returned answer is placed in supplied buffer "answer". 119 * Perform preliminary check of answer, returning success only 120 * if no error is indicated and the answer count is nonzero. 124 * Caller must parse answer and determine whether it answers the question. 130 u_char *answer, /* buffer to put answer */ 131 int anslen) /* size of answer buffer */ 134 HEADER *hp = (HEADER *)(void *)answer; 127 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 221 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 368 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument [all...] |
H A D | res_data.c | 202 u_char *answer, /* buffer to put answer */ 203 int anslen) /* size of answer buffer */ 209 return (res_nquery(&_nres, name, class, type, answer, anslen)); 271 u_char *answer, /* buffer to put answer */ 272 int anslen) /* size of answer */ 279 return (res_nsearch(&_nres, name, class, type, answer, anslen)); 286 u_char *answer, /* buffer to put answer */ 200 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument 269 res_search(const char *name, int class, int type, u_char *answer, int anslen) argument 283 res_querydomain(const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument [all...] |
H A D | res_cache.c | 51 * among the answer records in order to reduce DNS traffic. It is not supposed 58 * answer packet data as output 63 * the smallest TTL value among the answer records are used as the time 64 * to keep an answer in the cache. 66 * this is bad, but we absolutely want to avoid parsing the answer packets 69 * - the implementation is just a (query-data) => (answer-data) hash table 83 * if the function returns RESOLV_CACHE_FOUND, a copy of the answer data 84 * has been copied into the client-provided answer buffer. 88 * answer to the cache. 93 * note that RESOLV_CACHE_UNSUPPORTED is also returned if the answer buffe 1012 const uint8_t* answer; member in struct:Entry 1079 answer_getTTL(const void* answer, int answerlen) argument 1174 entry_alloc( const Entry* init, const void* answer, int answerlen ) argument 1482 _dump_answer(const void* answer, int answerlen) argument 1639 _resolv_cache_lookup( struct resolv_cache* cache, const void* query, int querylen, void* answer, int answersize, int *answerlen ) argument 1721 _resolv_cache_add( struct resolv_cache* cache, const void* query, int querylen, const void* answer, int answerlen ) argument [all...] |
/bionic/libc/netbsd/ |
H A D | gethnamaddr.c | 177 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument 193 assert(answer != NULL); 198 eom = answer->buf + anslen; 211 * find first satisfactory answer 213 hp = &answer->hdr; 218 cp = answer->buf; 224 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 254 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 277 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); 307 n = dn_expand(answer [all...] |
/bionic/libc/netbsd/net/ |
H A D | getaddrinfo.c | 211 u_char *answer; /* buffer to put answer */ member in struct:res_target 212 int anslen; /* size of answer buffer */ 1296 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument 1314 assert(answer != NULL); 1322 eom = answer->buf + anslen; 1333 * find first satisfactory answer 1335 hp = &answer->hdr; 1340 cp = answer->buf + HFIXEDSZ; 1345 n = dn_expand(answer 2176 u_char *answer; local [all...] |