/external/toybox/toys/pending/ |
D | host.c | 74 unsigned char *abuf = xmalloc(abuf_len); in host_main() local 133 alen = recv(s, abuf, abuf_len, 0); in host_main() 134 } else alen = res_send(qbuf, qlen, abuf, abuf_len); in host_main() 138 rcode = abuf[3] & 15; in host_main() 142 rcode, rct[rcode], 256*abuf[6] + abuf[7]); in host_main() 143 if (!(abuf[2] & 4)) printf("The following answer is not authoritative:\n"); in host_main() 148 p = abuf + 12; in host_main() 150 count = 256*abuf[4+2*sec] + abuf[5+2*sec]; in host_main() 156 p += dn_expand(abuf, abuf+alen, p, rrname, MAXDNAME); in host_main() 170 dn_expand(abuf, abuf+alen, p, plname, sizeof(plname)); in host_main() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | adig.c | 168 unsigned char *abuf, int alen); 170 const unsigned char *abuf, 173 const unsigned char *abuf, int alen); 397 unsigned char *abuf, int alen) in callback() argument 416 if (!abuf) in callback() 425 id = DNS_HEADER_QID(abuf); in callback() 426 qr = DNS_HEADER_QR(abuf); in callback() 427 opcode = DNS_HEADER_OPCODE(abuf); in callback() 428 aa = DNS_HEADER_AA(abuf); in callback() 429 tc = DNS_HEADER_TC(abuf); in callback() [all …]
|
D | ares_parse_naptr_reply.c | 49 ares_parse_naptr_reply (const unsigned char *abuf, int alen, in ares_parse_naptr_reply() argument 69 qdcount = DNS_HEADER_QDCOUNT (abuf); in ares_parse_naptr_reply() 70 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_naptr_reply() 77 aptr = abuf + HFIXEDSZ; in ares_parse_naptr_reply() 78 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_naptr_reply() 82 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_naptr_reply() 93 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_naptr_reply() 99 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_naptr_reply() 108 if (aptr + rr_len > abuf + alen) in ares_parse_naptr_reply() 149 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->flags, &len); in ares_parse_naptr_reply() [all …]
|
D | ares_parse_txt_reply.c | 48 ares__parse_txt_reply (const unsigned char *abuf, int alen, in ares__parse_txt_reply() argument 70 qdcount = DNS_HEADER_QDCOUNT (abuf); in ares__parse_txt_reply() 71 ancount = DNS_HEADER_ANCOUNT (abuf); in ares__parse_txt_reply() 78 aptr = abuf + HFIXEDSZ; in ares__parse_txt_reply() 79 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares__parse_txt_reply() 83 if (aptr + len + QFIXEDSZ > abuf + alen) in ares__parse_txt_reply() 94 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares__parse_txt_reply() 100 if (aptr + RRFIXEDSZ > abuf + alen) in ares__parse_txt_reply() 109 if (aptr + rr_len > abuf + alen) in ares__parse_txt_reply() 208 ares_parse_txt_reply (const unsigned char *abuf, int alen, in ares_parse_txt_reply() argument [all …]
|
D | ares_expand_name.c | 38 static int name_length(const unsigned char *encoded, const unsigned char *abuf, 65 int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, in ares_expand_name() argument 76 nlen.sig = name_length(encoded, abuf, alen); in ares_expand_name() 112 p = abuf + ((*p & ~INDIR_MASK) << 8 | *(p + 1)); in ares_expand_name() 143 static int name_length(const unsigned char *encoded, const unsigned char *abuf, in name_length() argument 149 if (encoded >= abuf + alen) in name_length() 158 if (encoded + 1 >= abuf + alen) in name_length() 163 encoded = abuf + offset; in name_length() 175 if (encoded + offset + 1 >= abuf + alen) in name_length() 202 const unsigned char *abuf, int alen, in ares__expand_name_for_response() argument [all …]
|
D | ares_parse_soa_reply.c | 44 ares_parse_soa_reply(const unsigned char *abuf, int alen, in ares_parse_soa_reply() argument 58 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_soa_reply() 59 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_soa_reply() 62 aptr = abuf + HFIXEDSZ; in ares_parse_soa_reply() 65 status = ares__expand_name_for_response(aptr, abuf, alen, &qname, &len); in ares_parse_soa_reply() 71 if (aptr + QFIXEDSZ > abuf + alen) in ares_parse_soa_reply() 76 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_soa_reply() 82 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_soa_reply() 95 status = ares__expand_name_for_response(aptr, abuf, alen, &soa->nsname, &len); in ares_parse_soa_reply() 101 status = ares__expand_name_for_response(aptr, abuf, alen, &soa->hostmaster, &len); in ares_parse_soa_reply() [all …]
|
D | ares_parse_ns_reply.c | 45 int ares_parse_ns_reply( const unsigned char* abuf, int alen, in ares_parse_ns_reply() argument 64 qdcount = DNS_HEADER_QDCOUNT( abuf ); in ares_parse_ns_reply() 65 ancount = DNS_HEADER_ANCOUNT( abuf ); in ares_parse_ns_reply() 70 aptr = abuf + HFIXEDSZ; in ares_parse_ns_reply() 71 status = ares__expand_name_for_response( aptr, abuf, alen, &hostname, &len); in ares_parse_ns_reply() 74 if ( aptr + len + QFIXEDSZ > abuf + alen ) in ares_parse_ns_reply() 94 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_name, &len ); in ares_parse_ns_reply() 98 if ( aptr + RRFIXEDSZ > abuf + alen ) in ares_parse_ns_reply() 108 if (aptr + rr_len > abuf + alen) in ares_parse_ns_reply() 118 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_data, in ares_parse_ns_reply() [all …]
|
D | ares_parse_srv_reply.c | 49 ares_parse_srv_reply (const unsigned char *abuf, int alen, in ares_parse_srv_reply() argument 69 qdcount = DNS_HEADER_QDCOUNT (abuf); in ares_parse_srv_reply() 70 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_srv_reply() 77 aptr = abuf + HFIXEDSZ; in ares_parse_srv_reply() 78 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_srv_reply() 82 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_srv_reply() 93 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_srv_reply() 99 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_srv_reply() 108 if (aptr + rr_len > abuf + alen) in ares_parse_srv_reply() 149 status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len); in ares_parse_srv_reply()
|
D | ares_parse_mx_reply.c | 44 ares_parse_mx_reply (const unsigned char *abuf, int alen, in ares_parse_mx_reply() argument 64 qdcount = DNS_HEADER_QDCOUNT (abuf); in ares_parse_mx_reply() 65 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_mx_reply() 72 aptr = abuf + HFIXEDSZ; in ares_parse_mx_reply() 73 status = ares_expand_name (aptr, abuf, alen, &hostname, &len); in ares_parse_mx_reply() 77 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_mx_reply() 88 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); in ares_parse_mx_reply() 94 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_mx_reply() 103 if (aptr + rr_len > abuf + alen) in ares_parse_mx_reply() 140 status = ares_expand_name (vptr, abuf, alen, &mx_curr->host, &len); in ares_parse_mx_reply()
|
D | ares_parse_aaaa_reply.c | 51 int ares_parse_aaaa_reply(const unsigned char *abuf, int alen, in ares_parse_aaaa_reply() argument 78 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_aaaa_reply() 79 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_aaaa_reply() 84 aptr = abuf + HFIXEDSZ; in ares_parse_aaaa_reply() 85 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len); in ares_parse_aaaa_reply() 88 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_aaaa_reply() 124 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_aaaa_reply() 128 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_aaaa_reply() 139 if (aptr + rr_len > abuf + alen) in ares_parse_aaaa_reply() 152 if (aptr + sizeof(struct ares_in6_addr) > abuf + alen) in ares_parse_aaaa_reply() [all …]
|
D | ares_parse_a_reply.c | 49 int ares_parse_a_reply(const unsigned char *abuf, int alen, in ares_parse_a_reply() argument 76 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_a_reply() 77 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_a_reply() 82 aptr = abuf + HFIXEDSZ; in ares_parse_a_reply() 83 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len); in ares_parse_a_reply() 86 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_a_reply() 124 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_a_reply() 128 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_a_reply() 139 if (aptr + rr_len > abuf + alen) in ares_parse_a_reply() 152 if (aptr + sizeof(struct in_addr) > abuf + alen) in ares_parse_a_reply() [all …]
|
D | ares_parse_ptr_reply.c | 43 int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, in ares_parse_ptr_reply() argument 65 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_ptr_reply() 66 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_ptr_reply() 71 aptr = abuf + HFIXEDSZ; in ares_parse_ptr_reply() 72 status = ares__expand_name_for_response(aptr, abuf, alen, &ptrname, &len); in ares_parse_ptr_reply() 75 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_ptr_reply() 93 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_ptr_reply() 97 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_ptr_reply() 107 if (aptr + rr_len > abuf + alen) in ares_parse_ptr_reply() 118 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_ptr_reply() [all …]
|
D | ares.h | 287 unsigned char *abuf, 476 const unsigned char *abuf, 482 const unsigned char *abuf, 569 CARES_EXTERN int ares_parse_a_reply(const unsigned char *abuf, 575 CARES_EXTERN int ares_parse_aaaa_reply(const unsigned char *abuf, 581 CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf, 588 CARES_EXTERN int ares_parse_ns_reply(const unsigned char *abuf, 592 CARES_EXTERN int ares_parse_srv_reply(const unsigned char* abuf, 596 CARES_EXTERN int ares_parse_mx_reply(const unsigned char* abuf, 600 CARES_EXTERN int ares_parse_txt_reply(const unsigned char* abuf, [all …]
|
D | ares_query.c | 40 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen); 147 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) in qcallback() argument 154 qquery->callback(qquery->arg, status, timeouts, abuf, alen); in qcallback() 158 rcode = DNS_HEADER_RCODE(abuf); in qcallback() 159 ancount = DNS_HEADER_ANCOUNT(abuf); in qcallback() 183 qquery->callback(qquery->arg, status, timeouts, abuf, alen); in qcallback()
|
D | ares_expand_string.c | 37 const unsigned char *abuf, in ares_expand_string() argument 48 if (encoded == abuf+alen) in ares_expand_string() 52 if (encoded+elen.sig+1 > abuf+alen) in ares_expand_string()
|
D | ares_search.c | 43 unsigned char *abuf, int alen); 45 unsigned char *abuf, int alen); 146 unsigned char *abuf, int alen) in search_callback() argument 157 end_squery(squery, status, abuf, alen); in search_callback() 208 unsigned char *abuf, int alen) in end_squery() argument 210 squery->callback(squery->arg, status, squery->timeouts, abuf, alen); in end_squery()
|
D | ares_process.c | 76 static void process_answer(ares_channel channel, unsigned char *abuf, 88 const unsigned char *abuf, int alen); 91 unsigned char *abuf, int alen); 569 static void process_answer(ares_channel channel, unsigned char *abuf, in process_answer() argument 585 id = DNS_HEADER_QID(abuf); in process_answer() 586 tc = DNS_HEADER_TC(abuf); in process_answer() 587 rcode = DNS_HEADER_RCODE(abuf); in process_answer() 601 if ((q->qid == id) && same_questions(q->qbuf, q->qlen, abuf, alen)) in process_answer() 668 end_query(channel, query, ARES_SUCCESS, abuf, alen); in process_answer() 1275 const unsigned char *abuf, int alen) in same_questions() argument [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_das.c | 36 const char *abuf, in radius_das_disconnect() argument 71 abuf, from_port); in radius_das_disconnect() 82 abuf, from_port); in radius_das_disconnect() 94 abuf, from_port); in radius_das_disconnect() 116 "'%s' from %s:%d", tmp, abuf, from_port); in radius_das_disconnect() 151 abuf, from_port); in radius_das_disconnect() 156 "%s:%d", abuf, from_port); in radius_das_disconnect() 162 abuf, from_port); in radius_das_disconnect() 194 const char *abuf, int from_port) in radius_das_coa() argument 236 attr, abuf, from_port); in radius_das_coa() [all …]
|
D | radius_client.c | 582 char abuf[50]; in radius_client_auth_failover() local 588 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_auth_failover() 611 char abuf[50]; in radius_client_acct_failover() local 617 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_acct_failover() 1081 char abuf[50]; in radius_change_server() local 1093 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), in radius_change_server() 1231 abuf, sizeof(abuf)), in radius_change_server() 1571 char abuf[50]; in radius_client_dump_auth_server() local 1597 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server() 1620 char abuf[50]; in radius_client_dump_acct_server() local [all …]
|
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
D | VDUBuffer.java | 366 int abuf[][] = null; in insertLine() local 395 abuf = new int[size][]; in insertLine() 398 System.arraycopy(charAttributes, oldBase + l, abuf, 0, bottom - l - (n - 1)); in insertLine() 400 System.arraycopy(abuf, 0, charAttributes, oldBase + l + n, bottom - l - (n - 1)); in insertLine() 402 abuf = charAttributes; in insertLine() 423 abuf = new int[newBufSize][]; in insertLine() 427 abuf = charAttributes; in insertLine() 433 System.arraycopy(charAttributes, offset, abuf, 0, oldBase - offset); in insertLine() 439 System.arraycopy(charAttributes, oldBase, abuf, newScreenBase, top); in insertLine() 445 System.arraycopy(charAttributes, oldBase + top, abuf, oldBase - offset, n); in insertLine() [all …]
|
/external/iproute2/tc/ |
D | tc_class.c | 308 char abuf[256]; in print_class() local 341 abuf[0] = 0; in print_class() 344 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_handle)); in print_class() 346 print_tc_classid(abuf, sizeof(abuf), t->tcm_handle); in print_class() 348 fprintf(fp, "class %s %s ", rta_getattr_str(tb[TCA_KIND]), abuf); in print_class() 357 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_parent)); in print_class() 359 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent); in print_class() 360 fprintf(fp, "parent %s ", abuf); in print_class()
|
/external/ipsec-tools/src/libipsec/ |
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,
|
/external/iputils/ |
D | tracepath.c | 167 char abuf[128]; in recverr() local 172 inet_ntop(AF_INET, &sin->sin_addr, abuf, sizeof(abuf)); in recverr() 189 print_host(abuf, h ? (idn ? idn : h->h_name) : abuf, show_both); in recverr() 191 print_host(h ? (idn ? idn : h->h_name) : abuf, abuf, show_both); in recverr()
|
/external/iproute2/ip/ |
D | ipila.c | 77 char abuf[256]; in print_ila_locid() local 83 abuf, sizeof(abuf)); in print_ila_locid() 84 fprintf(fp, "%s", abuf); in print_ila_locid()
|
/external/iproute2/bridge/ |
D | fdb.c | 417 char abuf[ETH_ALEN]; in fdb_modify() local 509 abuf, abuf+1, abuf+2, in fdb_modify() 510 abuf+3, abuf+4, abuf+5) != 6) { in fdb_modify() 515 addattr_l(&req.n, sizeof(req), NDA_LLADDR, abuf, ETH_ALEN); in fdb_modify()
|