/external/c-ares/ |
H A D | ares_expand_name.c | 38 static int name_length(const unsigned char *encoded, const unsigned char *abuf, 42 * containing message is given by abuf and alen. The result given by 65 int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, argument 76 nlen.sig = name_length(encoded, abuf, alen); 112 p = abuf + ((*p & ~INDIR_MASK) << 8 | *(p + 1)); 143 static int name_length(const unsigned char *encoded, const unsigned char *abuf, argument 148 /* Allow the caller to pass us abuf + alen and have us check for it. */ 149 if (encoded == abuf + alen) 157 if (encoded + 1 >= abuf + alen) 162 encoded = abuf 192 ares__expand_name_for_response(const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen) argument [all...] |
H A D | ares_parse_ns_reply.c | 50 int ares_parse_ns_reply( const unsigned char* abuf, int alen, argument 64 /* Give up if abuf doesn't have room for a header. */ 69 qdcount = DNS_HEADER_QDCOUNT( abuf ); 70 ancount = DNS_HEADER_ANCOUNT( abuf ); 75 aptr = abuf + HFIXEDSZ; 76 status = ares__expand_name_for_response( aptr, abuf, alen, &hostname, &len); 79 if ( aptr + len + QFIXEDSZ > abuf + alen ) 99 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_name, &len ); 103 if ( aptr + RRFIXEDSZ > abuf + alen ) 117 status = ares__expand_name_for_response( aptr, abuf, ale [all...] |
H A D | ares_parse_mx_reply.c | 49 ares_parse_mx_reply (const unsigned char *abuf, int alen, argument 64 /* Give up if abuf doesn't have room for a header. */ 69 qdcount = DNS_HEADER_QDCOUNT (abuf); 70 ancount = DNS_HEADER_ANCOUNT (abuf); 77 aptr = abuf + HFIXEDSZ; 78 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); 82 if (aptr + len + QFIXEDSZ > abuf + alen) 93 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); 99 if (aptr + RRFIXEDSZ > abuf + alen) 140 status = ares_expand_name (vptr, abuf, ale [all...] |
H A D | ares_parse_srv_reply.c | 54 ares_parse_srv_reply (const unsigned char *abuf, int alen, argument 69 /* Give up if abuf doesn't have room for a header. */ 74 qdcount = DNS_HEADER_QDCOUNT (abuf); 75 ancount = DNS_HEADER_ANCOUNT (abuf); 82 aptr = abuf + HFIXEDSZ; 83 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); 87 if (aptr + len + QFIXEDSZ > abuf + alen) 98 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); 104 if (aptr + RRFIXEDSZ > abuf + alen) 149 status = ares_expand_name (vptr, abuf, ale [all...] |
H A D | ares_expand_string.c | 42 const unsigned char *abuf, 53 if (encoded == abuf+alen) 57 if (encoded+elen.sig+1 > abuf+alen) 41 ares_expand_string(const unsigned char *encoded, const unsigned char *abuf, int alen, unsigned char **s, long *enclen) argument
|
H A D | ares_parse_txt_reply.c | 54 ares_parse_txt_reply (const unsigned char *abuf, int alen, argument 71 /* Give up if abuf doesn't have room for a header. */ 76 qdcount = DNS_HEADER_QDCOUNT (abuf); 77 ancount = DNS_HEADER_ANCOUNT (abuf); 84 aptr = abuf + HFIXEDSZ; 85 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); 89 if (aptr + len + QFIXEDSZ > abuf + alen) 100 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); 106 if (aptr + RRFIXEDSZ > abuf + alen)
|
H A D | ares_parse_ptr_reply.c | 47 int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, argument 63 /* Give up if abuf doesn't have room for a header. */ 68 qdcount = DNS_HEADER_QDCOUNT(abuf); 69 ancount = DNS_HEADER_ANCOUNT(abuf); 74 aptr = abuf + HFIXEDSZ; 75 status = ares__expand_name_for_response(aptr, abuf, alen, &ptrname, &len); 78 if (aptr + len + QFIXEDSZ > abuf + alen) 96 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); 100 if (aptr + RRFIXEDSZ > abuf + alen) 115 status = ares__expand_name_for_response(aptr, abuf, ale [all...] |
H A D | adig.c | 184 unsigned char *abuf, int alen); 186 const unsigned char *abuf, 189 const unsigned char *abuf, int alen); 413 unsigned char *abuf, int alen) 432 if (!abuf) 441 id = DNS_HEADER_QID(abuf); 442 qr = DNS_HEADER_QR(abuf); 443 opcode = DNS_HEADER_OPCODE(abuf); 444 aa = DNS_HEADER_AA(abuf); 445 tc = DNS_HEADER_TC(abuf); 412 callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument 503 display_question(const unsigned char *aptr, const unsigned char *abuf, int alen) argument 542 display_rr(const unsigned char *aptr, const unsigned char *abuf, int alen) argument [all...] |
H A D | ares_parse_a_reply.c | 54 int ares_parse_a_reply(const unsigned char *abuf, int alen, argument 76 /* Give up if abuf doesn't have room for a header. */ 81 qdcount = DNS_HEADER_QDCOUNT(abuf); 82 ancount = DNS_HEADER_ANCOUNT(abuf); 87 aptr = abuf + HFIXEDSZ; 88 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len); 91 if (aptr + len + QFIXEDSZ > abuf + alen) 129 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); 133 if (aptr + RRFIXEDSZ > abuf + alen) 151 if (aptr + sizeof(struct in_addr) > abuf [all...] |
H A D | ares_parse_aaaa_reply.c | 56 int ares_parse_aaaa_reply(const unsigned char *abuf, int alen, argument 78 /* Give up if abuf doesn't have room for a header. */ 83 qdcount = DNS_HEADER_QDCOUNT(abuf); 84 ancount = DNS_HEADER_ANCOUNT(abuf); 89 aptr = abuf + HFIXEDSZ; 90 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len); 93 if (aptr + len + QFIXEDSZ > abuf + alen) 129 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); 133 if (aptr + RRFIXEDSZ > abuf + alen) 151 if (aptr + sizeof(struct ares_in6_addr) > abuf [all...] |
H A D | ares_query.c | 44 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen); 144 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument 151 qquery->callback(qquery->arg, status, timeouts, abuf, alen); 155 rcode = DNS_HEADER_RCODE(abuf); 156 ancount = DNS_HEADER_ANCOUNT(abuf); 180 qquery->callback(qquery->arg, status, timeouts, abuf, alen);
|
H A D | ares.h | 280 unsigned char *abuf, 415 const unsigned char *abuf, 421 const unsigned char *abuf, 470 ** Parse the buffer, starting at *abuf and of length alen bytes, previously 477 CARES_EXTERN int ares_parse_a_reply(const unsigned char *abuf, 483 CARES_EXTERN int ares_parse_aaaa_reply(const unsigned char *abuf, 489 CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf, 496 CARES_EXTERN int ares_parse_ns_reply(const unsigned char *abuf, 500 CARES_EXTERN int ares_parse_srv_reply(const unsigned char* abuf, 504 CARES_EXTERN int ares_parse_mx_reply(const unsigned char* abuf, [all...] |
H A D | ares_search.c | 48 unsigned char *abuf, int alen); 50 unsigned char *abuf, int alen); 144 unsigned char *abuf, int alen) 155 end_squery(squery, status, abuf, alen); 206 unsigned char *abuf, int alen) 208 squery->callback(squery->arg, status, squery->timeouts, abuf, alen); 143 search_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument 205 end_squery(struct search_query *squery, int status, unsigned char *abuf, int alen) argument
|
/external/toybox/toys/pending/ |
H A D | host.c | 73 unsigned char qbuf[280], abuf[512], *p; local 131 alen = recv(s, abuf, sizeof abuf, 0); 132 } else alen = res_send(qbuf, qlen, abuf, sizeof abuf); 136 rcode = abuf[3] & 15; 140 rcode, rct[rcode], 256*abuf[6] + abuf[7]); 141 if (!(abuf[2] & 4)) printf("The following answer is not authoritative:\n"); 146 p = abuf [all...] |
/external/iproute2/ip/ |
H A D | ipprefix.c | 78 char abuf[256]; local 82 memset(abuf, '\0', sizeof(abuf)); 86 abuf, sizeof(abuf)));
|
H A D | iproute_lwtunnel.c | 61 char abuf[256]; local 69 abuf, sizeof(abuf))); 75 char abuf[256]; local 87 abuf, sizeof(abuf))); 94 abuf, sizeof(abuf))); 110 char abuf[ADDR64_BUF_SIZE]; local 113 abuf, sizeo local 121 char abuf[256]; local [all...] |
H A D | ipxfrm.c | 284 char abuf[256]; local 289 memset(abuf, '\0', sizeof(abuf)); 291 saddr, abuf, sizeof(abuf))); 292 memset(abuf, '\0', sizeof(abuf)); 294 &id->daddr, abuf, sizeof(abuf))); 444 char abuf[25 local 731 char abuf[256]; local 773 char abuf[256]; local [all...] |
H A D | ipmroute.c | 62 char abuf[256]; local 130 abuf, sizeof(abuf))); 138 abuf, sizeof(abuf)));
|
/external/wpa_supplicant_8/hostapd/src/radius/ |
H A D | radius_das.c | 35 const char *abuf, 70 abuf, from_port); 81 abuf, from_port); 93 abuf, from_port); 115 "'%s' from %s:%d", tmp, abuf, from_port); 150 abuf, from_port); 155 "%s:%d", abuf, from_port); 161 abuf, from_port); 198 char abuf[50]; local 217 os_strlcpy(abuf, inet_nto 33 radius_das_disconnect(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) argument [all...] |
/external/wpa_supplicant_8/src/radius/ |
H A D | radius_das.c | 35 const char *abuf, 70 abuf, from_port); 81 abuf, from_port); 93 abuf, from_port); 115 "'%s' from %s:%d", tmp, abuf, from_port); 150 abuf, from_port); 155 "%s:%d", abuf, from_port); 161 abuf, from_port); 198 char abuf[50]; local 217 os_strlcpy(abuf, inet_nto 33 radius_das_disconnect(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/radius/ |
H A D | radius_das.c | 35 const char *abuf, 70 abuf, from_port); 81 abuf, from_port); 93 abuf, from_port); 115 "'%s' from %s:%d", tmp, abuf, from_port); 150 abuf, from_port); 155 "%s:%d", abuf, from_port); 161 abuf, from_port); 198 char abuf[50]; local 217 os_strlcpy(abuf, inet_nto 33 radius_das_disconnect(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) argument [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
H A D | VDUBuffer.java | 366 int abuf[][] = null; 395 abuf = new int[size][]; 398 System.arraycopy(charAttributes, oldBase + l, abuf, 0, bottom - l - (n - 1)); 400 System.arraycopy(abuf, 0, charAttributes, oldBase + l + n, bottom - l - (n - 1)); 402 abuf = charAttributes; 423 abuf = new int[newBufSize][]; 427 abuf = charAttributes; 433 System.arraycopy(charAttributes, offset, abuf, 0, oldBase - offset); 439 System.arraycopy(charAttributes, oldBase, abuf, newScreenBase, top); 445 System.arraycopy(charAttributes, oldBase + top, abuf, oldBas [all...] |
/external/iproute2/tc/ |
H A D | tc_class.c | 313 char abuf[256]; local 346 abuf[0] = 0; 349 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_handle)); 351 print_tc_classid(abuf, sizeof(abuf), t->tcm_handle); 353 fprintf(fp, "class %s %s ", rta_getattr_str(tb[TCA_KIND]), abuf); 362 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_parent)); 364 print_tc_classid(abuf, sizeo [all...] |
/external/iproute2/bridge/ |
H A D | fdb.c | 107 SPRINT_BUF(abuf); 117 abuf, sizeof(abuf))); 244 char abuf[ETH_ALEN]; local 340 abuf, abuf+1, abuf+2, 341 abuf+3, abuf+4, abuf [all...] |
/external/ipsec-tools/src/libipsec/ |
H A D | ipsec_dump_policy.c | 282 char abuf[NI_MAXHOST * 2 + 2]; local 319 abuf[0] = '\0'; 332 if (set_addresses(abuf, sizeof(abuf), 358 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level); 366 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
|