Home
last modified time | relevance | path

Searched refs:abuf (Results 1 - 25 of 53) sorted by relevance

123

/third_party/toybox/toys/pending/
H A Dhost.c74 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[ in host_main()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
H A Dradius_das.c36 const char *abuf, in radius_das_disconnect()
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()
236 attr, abuf, from_por in radius_das_coa()
34 radius_das_disconnect(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) radius_das_disconnect() argument
192 radius_das_coa(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) radius_das_coa() argument
392 char abuf[50]; radius_das_receive() local
[all...]
H A Dradius_client.c582 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()
1072 char abuf[50]; in radius_change_server() local
1084 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), in radius_change_server()
1222 abuf, sizeo in radius_change_server()
1562 char abuf[50]; radius_client_dump_auth_server() local
1611 char abuf[50]; radius_client_dump_acct_server() local
[all...]
H A Dradius_server.c1836 char abuf[50]; in radius_server_receive_auth() local
1855 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, in radius_server_receive_auth()
1856 sizeof(abuf)) == NULL) in radius_server_receive_auth()
1857 abuf[0] = '\0'; in radius_server_receive_auth()
1860 len, abuf, from_port); in radius_server_receive_auth()
1869 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_server_receive_auth()
1872 len, abuf, from_port); in radius_server_receive_auth()
1880 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); in radius_server_receive_auth()
1933 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); in radius_server_receive_auth()
1966 char abuf[50]; radius_server_receive_acct() local
2639 char abuf[50], mbuf[50]; radius_server_get_mib() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
H A Dradius_das.c36 const char *abuf, in radius_das_disconnect()
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()
236 attr, abuf, from_por in radius_das_coa()
34 radius_das_disconnect(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) radius_das_disconnect() argument
192 radius_das_coa(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) radius_das_coa() argument
392 char abuf[50]; radius_das_receive() local
[all...]
H A Dradius_client.c583 char abuf[50]; in radius_client_auth_failover() local
589 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_auth_failover()
592 anonymize_ip(hostapd_ip_txt(&old->addr, abuf, sizeof(abuf))), in radius_client_auth_failover()
615 char abuf[50]; in radius_client_acct_failover() local
621 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_acct_failover()
624 anonymize_ip(hostapd_ip_txt(&old->addr, abuf, sizeof(abuf))), in radius_client_acct_failover()
1088 char abuf[50]; radius_change_server() local
1600 char abuf[50]; radius_client_dump_auth_server() local
1649 char abuf[50]; radius_client_dump_acct_server() local
[all...]
H A Dradius_server.c1669 char abuf[50]; in radius_server_receive_auth() local
1688 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, in radius_server_receive_auth()
1689 sizeof(abuf)) == NULL) in radius_server_receive_auth()
1690 abuf[0] = '\0'; in radius_server_receive_auth()
1693 len, abuf, from_port); in radius_server_receive_auth()
1702 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_server_receive_auth()
1705 len, abuf, from_port); in radius_server_receive_auth()
1713 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); in radius_server_receive_auth()
1766 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); in radius_server_receive_auth()
1799 char abuf[50]; radius_server_receive_acct() local
2442 char abuf[50], mbuf[50]; radius_server_get_mib() local
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares_expand_name.c40 const unsigned char *abuf, in ares__expand_name_validated()
48 if (encoded == NULL || abuf == NULL || alen == 0 || enclen == NULL) { in ares__expand_name_validated()
52 if (encoded < abuf || encoded >= abuf + alen) { in ares__expand_name_validated()
63 buf = ares__buf_create_const(abuf, alen); in ares__expand_name_validated()
69 status = ares__buf_set_position(buf, (size_t)(encoded - abuf)); in ares__expand_name_validated()
87 int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, in ares_expand_name() argument
98 status = ares__expand_name_validated(encoded, abuf, (size_t)alen, s, in ares_expand_name()
107 const unsigned char *abuf, in ares__expand_name_for_response()
113 ares__expand_name_validated(encoded, abuf, ale in ares__expand_name_for_response()
39 ares__expand_name_validated(const unsigned char *encoded, const unsigned char *abuf, size_t alen, char **s, size_t *enclen, ares_bool_t is_hostname) ares__expand_name_validated() argument
106 ares__expand_name_for_response(const unsigned char *encoded, const unsigned char *abuf, size_t alen, char **s, size_t *enclen, ares_bool_t is_hostname) ares__expand_name_for_response() argument
[all...]
H A Dares_expand_string.c45 const unsigned char *abuf, size_t alen, in ares_expand_string_ex()
53 if (encoded == NULL || abuf == NULL || alen == 0 || enclen == NULL) { in ares_expand_string_ex()
57 if (encoded < abuf || encoded >= abuf + alen) { in ares_expand_string_ex()
68 buf = ares__buf_create_const(abuf, alen); in ares_expand_string_ex()
74 status = ares__buf_set_position(buf, (size_t)(encoded - abuf)); in ares_expand_string_ex()
97 int ares_expand_string(const unsigned char *encoded, const unsigned char *abuf, in ares_expand_string() argument
107 status = ares_expand_string_ex(encoded, abuf, (size_t)alen, s, &temp_enclen); in ares_expand_string()
44 ares_expand_string_ex(const unsigned char *encoded, const unsigned char *abuf, size_t alen, unsigned char **s, size_t *enclen) ares_expand_string_ex() argument
H A Dares_parse_txt_reply.c32 static int ares__parse_txt_reply(const unsigned char *abuf, size_t alen, in ares__parse_txt_reply() argument
44 status = ares_dns_parse(abuf, alen, 0, &dnsrec); in ares__parse_txt_reply()
120 int ares_parse_txt_reply(const unsigned char *abuf, int alen, in ares_parse_txt_reply() argument
126 return ares__parse_txt_reply(abuf, (size_t)alen, ARES_FALSE, in ares_parse_txt_reply()
130 int ares_parse_txt_reply_ext(const unsigned char *abuf, int alen, in ares_parse_txt_reply_ext() argument
136 return ares__parse_txt_reply(abuf, (size_t)alen, ARES_TRUE, (void **)txt_out); in ares_parse_txt_reply_ext()
H A Dares_query.c45 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf,
99 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, in qcallback() argument
107 qquery->callback(qquery->arg, status, timeouts, abuf, alen); in qcallback()
110 rcode = DNS_HEADER_RCODE(abuf); in qcallback()
111 ancount = DNS_HEADER_ANCOUNT(abuf); in qcallback()
136 qquery->callback(qquery->arg, status, timeouts, abuf, alen); in qcallback()
H A Dares_send.c60 unsigned char *abuf = NULL; in ares_send_ex() local
74 status = ares_qcache_fetch(channel, &now, qbuf, qlen, &abuf, &alen); in ares_send_ex()
78 callback(arg, (int)status, 0, abuf, (int)alen); in ares_send_ex()
79 ares_free(abuf); in ares_send_ex()
H A Dares_search.c56 unsigned char *abuf, int alen);
58 unsigned char *abuf, size_t alen);
173 unsigned char *abuf, int alen) in search_callback()
184 end_squery(squery, (ares_status_t)status, abuf, (size_t)alen); in search_callback()
232 unsigned char *abuf, size_t alen) in end_squery()
234 squery->callback(squery->arg, (int)status, (int)squery->timeouts, abuf, in end_squery()
172 search_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) search_callback() argument
231 end_squery(struct search_query *squery, ares_status_t status, unsigned char *abuf, size_t alen) end_squery() argument
H A Dares_gethostbyaddr.c64 unsigned char *abuf, int alen);
163 unsigned char *abuf, int alen) in addr_callback()
173 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addr.addr4, in addr_callback()
177 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addr.addr6, in addr_callback()
162 addr_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) addr_callback() argument
H A Dares_parse_mx_reply.c32 int ares_parse_mx_reply(const unsigned char *abuf, int alen_int, in ares_parse_mx_reply() argument
51 status = ares_dns_parse(abuf, alen, 0, &dnsrec); in ares_parse_mx_reply()
H A Dares_parse_aaaa_reply.c56 int ares_parse_aaaa_reply(const unsigned char *abuf, int alen, in ares_parse_aaaa_reply() argument
76 status = ares__parse_into_addrinfo(abuf, (size_t)alen, 0, 0, &ai); in ares_parse_aaaa_reply()
H A Dares_parse_a_reply.c54 int ares_parse_a_reply(const unsigned char *abuf, int alen, in ares_parse_a_reply() argument
74 status = ares__parse_into_addrinfo(abuf, (size_t)alen, 0, 0, &ai); in ares_parse_a_reply()
/third_party/cares/include/
H A Dares.h293 unsigned char *abuf,
496 const unsigned char *abuf,
502 const unsigned char *abuf,
638 ** Parse the buffer, starting at *abuf and of length alen bytes, previously
645 CARES_EXTERN int ares_parse_a_reply(const unsigned char *abuf,
651 CARES_EXTERN int ares_parse_aaaa_reply(const unsigned char *abuf,
657 CARES_EXTERN int ares_parse_caa_reply(const unsigned char* abuf,
661 CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
668 CARES_EXTERN int ares_parse_ns_reply(const unsigned char *abuf,
672 CARES_EXTERN int ares_parse_srv_reply(const unsigned char* abuf,
[all...]
/third_party/node/deps/cares/include/
H A Dares.h357 unsigned char *abuf, int alen);
524 const unsigned char *abuf, int alen, char **s,
528 const unsigned char *abuf, int alen,
671 ** Parse the buffer, starting at *abuf and of length alen bytes, previously
678 CARES_EXTERN int ares_parse_a_reply(const unsigned char *abuf, int alen,
683 CARES_EXTERN int ares_parse_aaaa_reply(const unsigned char *abuf, int alen,
688 CARES_EXTERN int ares_parse_caa_reply(const unsigned char *abuf, int alen,
691 CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf, int alen,
695 CARES_EXTERN int ares_parse_ns_reply(const unsigned char *abuf, int alen,
698 CARES_EXTERN int ares_parse_srv_reply(const unsigned char *abuf, in
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dnameservercheck_client.c391 unsigned char qbuf[2][280], abuf[2][4800]; in main() local
393 unsigned char *ap[2] = { abuf[0], abuf[1] }; in main()
420 if (res_msend_rc_ext(0, nqueries, qp, qlens, ap, alens, sizeof *abuf, &conf, 1) < 0) { in main()
423 if (strcmp((char*)&abuf[0], (char*)&target)) { in main()
424 t_error("%s invalid answer %s, target: %s\n", __func__, abuf[0], target); in main()
427 memset(abuf[0], 0, sizeof *abuf); in main()
429 if (res_msend_rc_ext(0, nqueries, qp, qlens, ap, alens, sizeof *abuf, &conf, 0) < 0) { in main()
432 if (!strcmp((char*)&abuf[ in main()
[all...]
/third_party/node/deps/openssl/openssl/crypto/pkcs7/
H A Dpk7_doit.c846 unsigned char *abuf = NULL; in PKCS7_dataFinal() local
849 abuf = OPENSSL_malloc(abuflen); in PKCS7_dataFinal()
850 if (abuf == NULL) in PKCS7_dataFinal()
853 if (!EVP_SignFinal_ex(ctx_tmp, abuf, &abuflen, si->pkey, in PKCS7_dataFinal()
856 OPENSSL_free(abuf); in PKCS7_dataFinal()
860 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); in PKCS7_dataFinal()
910 unsigned char *abuf = NULL; in PKCS7_SIGNER_INFO_sign() local
932 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr, &abuf, in PKCS7_SIGNER_INFO_sign()
934 if (!abuf) in PKCS7_SIGNER_INFO_sign()
936 if (EVP_DigestSignUpdate(mctx, abuf, ale in PKCS7_SIGNER_INFO_sign()
1075 unsigned char md_dat[EVP_MAX_MD_SIZE], *abuf = NULL; PKCS7_signatureVerify() local
[all...]
/third_party/openssl/crypto/pkcs7/
H A Dpk7_doit.c846 unsigned char *abuf = NULL; in PKCS7_dataFinal() local
849 abuf = OPENSSL_malloc(abuflen); in PKCS7_dataFinal()
850 if (abuf == NULL) in PKCS7_dataFinal()
853 if (!EVP_SignFinal_ex(ctx_tmp, abuf, &abuflen, si->pkey, in PKCS7_dataFinal()
856 OPENSSL_free(abuf); in PKCS7_dataFinal()
860 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); in PKCS7_dataFinal()
910 unsigned char *abuf = NULL; in PKCS7_SIGNER_INFO_sign() local
932 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr, &abuf, in PKCS7_SIGNER_INFO_sign()
934 if (!abuf) in PKCS7_SIGNER_INFO_sign()
936 if (EVP_DigestSignUpdate(mctx, abuf, ale in PKCS7_SIGNER_INFO_sign()
1026 unsigned char *abuf = NULL; PKCS7_signatureVerify() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_sd.c789 unsigned char *abuf = NULL; in CMS_SignerInfo_sign() local
819 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf, in CMS_SignerInfo_sign()
821 if (!abuf) in CMS_SignerInfo_sign()
823 if (EVP_DigestSignUpdate(mctx, abuf, alen) <= 0) in CMS_SignerInfo_sign()
827 OPENSSL_free(abuf); in CMS_SignerInfo_sign()
828 abuf = OPENSSL_malloc(siglen); in CMS_SignerInfo_sign()
829 if (abuf == NULL) in CMS_SignerInfo_sign()
831 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0) in CMS_SignerInfo_sign()
836 ASN1_STRING_set0(si->signature, abuf, siglen); in CMS_SignerInfo_sign()
841 OPENSSL_free(abuf); in CMS_SignerInfo_sign()
849 unsigned char *abuf = NULL; CMS_SignerInfo_verify() local
[all...]
/third_party/openssl/crypto/cms/
H A Dcms_sd.c786 unsigned char *abuf = NULL; in CMS_SignerInfo_sign() local
817 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf, in CMS_SignerInfo_sign()
819 if (!abuf) in CMS_SignerInfo_sign()
821 if (EVP_DigestSignUpdate(mctx, abuf, alen) <= 0) in CMS_SignerInfo_sign()
825 OPENSSL_free(abuf); in CMS_SignerInfo_sign()
826 abuf = OPENSSL_malloc(siglen); in CMS_SignerInfo_sign()
827 if (abuf == NULL) in CMS_SignerInfo_sign()
829 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0) in CMS_SignerInfo_sign()
834 ASN1_STRING_set0(si->signature, abuf, siglen); in CMS_SignerInfo_sign()
839 OPENSSL_free(abuf); in CMS_SignerInfo_sign()
847 unsigned char *abuf = NULL; CMS_SignerInfo_verify() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_mcompand.c557 AVFrame *out, *abuf, *bbuf, *cbuf; in filter_frame() local
580 for (band = 0, abuf = in, bbuf = s->band_buf2, cbuf = s->band_buf1; band < s->nb_bands; band++) { in filter_frame()
584 crossover(ch, &b->filter, (double *)abuf->extended_data[ch], in filter_frame()
587 bbuf = abuf; in filter_frame()
588 abuf = cbuf; in filter_frame()
591 if (abuf == in) in filter_frame()
592 abuf = s->band_buf3; in filter_frame()
593 mcompand_channel(s, b, (double *)bbuf->extended_data[ch], (double *)abuf->extended_data[ch], out->nb_samples, ch); in filter_frame()
594 a = (double *)abuf->extended_data[ch]; in filter_frame()
599 FFSWAP(AVFrame *, abuf, cbu in filter_frame()
[all...]

Completed in 21 milliseconds

123