/bionic/libc/arch-mips/string/ |
H A D | mips_strlen.c | 151 static char answer[1024]; local 153 sprintf (answer, "new_strlen=%d: lib_strlen=%d: %s!", mine, libs, result); 156 return answer;
|
/bionic/libc/dns/resolv/ |
H A D | res_query.c | 118 * Formulate a normal query, send, and await answer. 119 * Returned answer is placed in supplied buffer "answer". 120 * Perform preliminary check of answer, returning success only 121 * if no error is indicated and the answer count is nonzero. 125 * Caller must parse answer and determine whether it answers the question. 131 u_char *answer, /* buffer to put answer */ 132 int anslen) /* size of answer buffer */ 135 HEADER *hp = (HEADER *)(void *)answer; 128 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 222 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 378 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 | 56 * among the answer records in order to reduce DNS traffic. It is not supposed 63 * answer packet data as output 68 * the smallest TTL value among the answer records are used as the time 69 * to keep an answer in the cache. 71 * this is bad, but we absolutely want to avoid parsing the answer packets 74 * - the implementation is just a (query-data) => (answer-data) hash table 88 * if the function returns RESOLV_CACHE_FOUND, a copy of the answer data 89 * has been copied into the client-provided answer buffer. 93 * answer to the cache. 98 * note that RESOLV_CACHE_UNSUPPORTED is also returned if the answer buffe 1001 const uint8_t* answer; member in struct:Entry 1068 answer_getTTL(const void* answer, int answerlen) argument 1163 entry_alloc( const Entry* init, const void* answer, int answerlen ) argument 1461 _dump_answer(const void* answer, int answerlen) argument 1618 _resolv_cache_lookup( unsigned netid, const void* query, int querylen, void* answer, int answersize, int *answerlen ) argument 1708 _resolv_cache_add( unsigned netid, const void* query, int querylen, const void* answer, int answerlen ) argument [all...] |
/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 201 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument 220 _DIAGASSERT(answer != NULL); 225 eom = answer->buf + anslen; 241 * find first satisfactory answer 243 hp = &answer->hdr; 248 cp = answer->buf; 253 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); 278 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); 299 n = dn_expand(answer->buf, eom, cp, tbuf, 328 n = dn_expand(answer [all...] |
H A D | getaddrinfo.c | 214 u_char *answer; /* buffer to put answer */ member in struct:res_target 215 int anslen; /* size of answer buffer */ 1294 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument 1312 assert(answer != NULL); 1320 eom = answer->buf + anslen; 1331 * find first satisfactory answer 1333 hp = &answer->hdr; 1338 cp = answer->buf + HFIXEDSZ; 1343 n = dn_expand(answer 2155 u_char *answer; local [all...] |