| /third_party/libwebsockets/lib/tls/ |
| H A D | tls-jit-trust.c | 627 lws_tls_jit_trust_blob_queury_skid(const void *_blob, size_t blen, in lws_tls_jit_trust_blob_queury_skid() argument 637 if (blen < 32768 || in lws_tls_jit_trust_blob_queury_skid() 639 lws_ser_ru32be(blob + LJT_OFS_END) != blen) { in lws_tls_jit_trust_blob_queury_skid() 664 assert(pskids < blob + blen); in lws_tls_jit_trust_blob_queury_skid() 665 assert(pder < blob + blen); in lws_tls_jit_trust_blob_queury_skid() 666 assert(pskidlen < blob + blen); in lws_tls_jit_trust_blob_queury_skid() 667 assert((uint8_t *)pderlen < blob + blen); in lws_tls_jit_trust_blob_queury_skid()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
| H A D | aes-siv.c | 42 static void xorend(u8 *a, int alen, const u8 *b, int blen) in xorend() argument 46 if (alen < blen) in xorend() 49 for (i = 0; i < blen; i++) in xorend() 50 a[alen - blen + i] ^= b[i]; in xorend()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
| H A D | aes-siv.c | 42 static void xorend(u8 *a, int alen, const u8 *b, int blen) in xorend() argument 46 if (alen < blen) in xorend() 49 for (i = 0; i < blen; i++) in xorend() 50 a[alen - blen + i] ^= b[i]; in xorend()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
| H A D | wpabuf.c | 278 size_t blen; in wpabuf_zeropad() local 283 blen = wpabuf_len(buf); in wpabuf_zeropad() 284 if (blen >= len) in wpabuf_zeropad() 289 os_memset(wpabuf_put(ret, len - blen), 0, len - blen); in wpabuf_zeropad()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
| H A D | wpabuf.c | 278 size_t blen; in wpabuf_zeropad() local 283 blen = wpabuf_len(buf); in wpabuf_zeropad() 284 if (blen >= len) in wpabuf_zeropad() 289 os_memset(wpabuf_put(ret, len - blen), 0, len - blen); in wpabuf_zeropad()
|
| /third_party/curl/lib/ |
| H A D | sendf.c | 156 size_t blen, in Curl_nwrite() 176 blen = CURLMIN(blen, altsize); in Curl_nwrite() 180 nwritten = conn->send[sockindex](data, sockindex, buf, blen, &result); in Curl_nwrite() 385 int type, char *buf, size_t blen) in Curl_client_write() 395 blen = convert_lineends(data, buf, blen); in Curl_client_write() 414 return Curl_cwriter_write(data, data->req.writer_stack, type, buf, blen); in Curl_client_write() 153 Curl_nwrite(struct Curl_easy *data, int sockindex, const void *buf, size_t blen, ssize_t *pnwritten) Curl_nwrite() argument 384 Curl_client_write(struct Curl_easy *data, int type, char *buf, size_t blen) Curl_client_write() argument
|
| H A D | cf-h2-proxy.c | 294 const uint8_t *buf, size_t blen, 443 size_t blen; in proxy_h2_process_pending_input() local 446 while(Curl_bufq_peek(&ctx->inbufq, &buf, &blen)) { in proxy_h2_process_pending_input() 448 rv = nghttp2_session_mem_recv(ctx->h2, (const uint8_t *)buf, blen); in proxy_h2_process_pending_input() 449 CURL_TRC_CF(data, cf, "[0] %zu bytes to nghttp2 -> %zd", blen, rv); in proxy_h2_process_pending_input() 538 const uint8_t *buf, size_t blen, int flags, in on_session_send() 551 nwritten = Curl_bufq_write_pass(&ctx->outbufq, buf, blen, in on_session_send() 569 char *buffer, size_t blen) in proxy_h2_fr_print() 573 return msnprintf(buffer, blen, in proxy_h2_fr_print() 580 return msnprintf(buffer, blen, in proxy_h2_fr_print() 537 on_session_send(nghttp2_session *h2, const uint8_t *buf, size_t blen, int flags, void *userp) on_session_send() argument 568 proxy_h2_fr_print(const nghttp2_frame *frame, char *buffer, size_t blen) proxy_h2_fr_print() argument [all...] |
| H A D | http2.c | 547 size_t blen; in h2_process_pending_input() local 550 while(Curl_bufq_peek(&ctx->inbufq, &buf, &blen)) { in h2_process_pending_input() 552 rv = nghttp2_session_mem_recv(ctx->h2, (const uint8_t *)buf, blen); in h2_process_pending_input() 686 const uint8_t *buf, size_t blen, int flags, in send_callback() 699 nwritten = Curl_bufq_write_pass(&ctx->outbufq, buf, blen, in send_callback() 964 const char *buf, size_t blen) in recvbuf_write_hds() 972 (const unsigned char *)buf, blen, &result); in recvbuf_write_hds() 976 DEBUGASSERT((size_t)nwritten == blen); in recvbuf_write_hds() 1096 static int fr_print(const nghttp2_frame *frame, char *buffer, size_t blen) in fr_print() argument 1100 return msnprintf(buffer, blen, in fr_print() 685 send_callback(nghttp2_session *h2, const uint8_t *buf, size_t blen, int flags, void *userp) send_callback() argument 962 recvbuf_write_hds(struct Curl_cfilter *cf, struct Curl_easy *data, const char *buf, size_t blen) recvbuf_write_hds() argument 1630 size_t blen; Curl_http2_request_upgrade() local [all...] |
| H A D | content_encoding.c | 864 void Curl_all_content_encodings(char *buf, size_t blen) in Curl_all_content_encodings() argument 871 DEBUGASSERT(blen); in Curl_all_content_encodings() 881 if(blen >= sizeof(CONTENT_ENCODING_DEFAULT)) in Curl_all_content_encodings() 884 else if(blen > len) { in Curl_all_content_encodings() 1043 void Curl_all_content_encodings(char *buf, size_t blen) in Curl_all_content_encodings() argument 1046 DEBUGASSERT(blen); in Curl_all_content_encodings() 1047 if(blen < sizeof(CONTENT_ENCODING_DEFAULT)) in Curl_all_content_encodings()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
| H A D | driver_hostap.c | 407 size_t blen; in wpa_driver_hostap_set_key() local 410 blen = sizeof(*param) + key_len; in wpa_driver_hostap_set_key() 411 buf = os_zalloc(blen); in wpa_driver_hostap_set_key() 447 if (hostapd_ioctl(drv, param, blen)) { in wpa_driver_hostap_set_key() 463 size_t blen; in hostap_get_seqnum() local 466 blen = sizeof(*param) + 32; in hostap_get_seqnum() 467 buf = os_zalloc(blen); in hostap_get_seqnum() 479 if (hostapd_ioctl(drv, param, blen)) { in hostap_get_seqnum() 711 size_t blen, elem_len; in hostapd_ioctl_set_generic_elem() local 714 blen in hostapd_ioctl_set_generic_elem() [all...] |
| H A D | driver_ndis.c | 818 size_t blen, count, i; in wpa_driver_ndis_get_scan_results() local 824 blen = 65535; in wpa_driver_ndis_get_scan_results() 825 b = os_zalloc(blen); in wpa_driver_ndis_get_scan_results() 828 len = ndis_get_oid(drv, OID_802_11_BSSID_LIST, (char *) b, blen); in wpa_driver_ndis_get_scan_results() 858 if (((char *) bss->IEs) + bss->IELength > (char *) b + blen) { in wpa_driver_ndis_get_scan_results() 892 if (pos > (char *) b + blen) in wpa_driver_ndis_get_scan_results() 1347 size_t blen, i; in wpa_driver_ndis_get_associnfo() local 1408 blen = 65535; in wpa_driver_ndis_get_associnfo() 1409 b = os_zalloc(blen); in wpa_driver_ndis_get_associnfo() 1412 len = ndis_get_oid(drv, OID_802_11_BSSID_LIST, (char *) b, blen); in wpa_driver_ndis_get_associnfo() 2026 size_t blen = sizeof(*b) + 1024; wpa_driver_ndis_get_names() local 2959 size_t blen = sizeof(*b) + 1024; wpa_driver_ndis_get_interfaces() local [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
| H A D | driver_hostap.c | 405 size_t blen; in wpa_driver_hostap_set_key() local 414 blen = sizeof(*param) + key_len; in wpa_driver_hostap_set_key() 415 buf = os_zalloc(blen); in wpa_driver_hostap_set_key() 451 if (hostapd_ioctl(drv, param, blen)) { in wpa_driver_hostap_set_key() 467 size_t blen; in hostap_get_seqnum() local 470 blen = sizeof(*param) + 32; in hostap_get_seqnum() 471 buf = os_zalloc(blen); in hostap_get_seqnum() 483 if (hostapd_ioctl(drv, param, blen)) { in hostap_get_seqnum() 715 size_t blen, elem_len; in hostapd_ioctl_set_generic_elem() local 718 blen in hostapd_ioctl_set_generic_elem() [all...] |
| H A D | driver_ndis.c | 818 size_t blen, count, i; in wpa_driver_ndis_get_scan_results() local 824 blen = 65535; in wpa_driver_ndis_get_scan_results() 825 b = os_zalloc(blen); in wpa_driver_ndis_get_scan_results() 828 len = ndis_get_oid(drv, OID_802_11_BSSID_LIST, (char *) b, blen); in wpa_driver_ndis_get_scan_results() 858 if (((char *) bss->IEs) + bss->IELength > (char *) b + blen) { in wpa_driver_ndis_get_scan_results() 892 if (pos > (char *) b + blen) in wpa_driver_ndis_get_scan_results() 1359 size_t blen, i; in wpa_driver_ndis_get_associnfo() local 1420 blen = 65535; in wpa_driver_ndis_get_associnfo() 1421 b = os_zalloc(blen); in wpa_driver_ndis_get_associnfo() 1424 len = ndis_get_oid(drv, OID_802_11_BSSID_LIST, (char *) b, blen); in wpa_driver_ndis_get_associnfo() 2038 size_t blen = sizeof(*b) + 1024; wpa_driver_ndis_get_names() local 2977 size_t blen = sizeof(*b) + 1024; wpa_driver_ndis_get_interfaces() local [all...] |
| /third_party/node/deps/openssl/openssl/crypto/asn1/ |
| H A D | asn_mime.c | 56 static int mime_bound_check(char *line, int linelen, const char *bound, int blen); 611 int len, blen; in multi_split() local 617 blen = strlen(bound); in multi_split() 626 state = mime_bound_check(linebuf, len, bound, blen); in multi_split() 982 static int mime_bound_check(char *line, int linelen, const char *bound, int blen) in mime_bound_check() argument 986 if (blen == -1) in mime_bound_check() 987 blen = strlen(bound); in mime_bound_check() 989 if (blen + 2 > linelen) in mime_bound_check() 993 && strncmp(line + 2, bound, blen) == 0) { in mime_bound_check() 994 if (strncmp(line + blen in mime_bound_check() [all...] |
| /third_party/openssl/crypto/asn1/ |
| H A D | asn_mime.c | 56 static int mime_bound_check(char *line, int linelen, const char *bound, int blen); 605 int len, blen; in multi_split() local 611 blen = strlen(bound); in multi_split() 620 state = mime_bound_check(linebuf, len, bound, blen); in multi_split() 976 static int mime_bound_check(char *line, int linelen, const char *bound, int blen) in mime_bound_check() argument 980 if (blen == -1) in mime_bound_check() 981 blen = strlen(bound); in mime_bound_check() 983 if (blen + 2 > linelen) in mime_bound_check() 987 && strncmp(line + 2, bound, blen) == 0) { in mime_bound_check() 988 if (strncmp(line + blen in mime_bound_check() [all...] |
| /third_party/curl/src/ |
| H A D | tool_doswin.c | 569 size_t blen = strlen(base); in rename_if_reserved_dos_device_name() local 570 if(blen) { in rename_if_reserved_dos_device_name() 572 --blen; in rename_if_reserved_dos_device_name() 573 if(!(flags & SANITIZE_ALLOW_TRUNCATE) || truncate_dryrun(base, blen)) in rename_if_reserved_dos_device_name() 575 base[blen] = '\0'; in rename_if_reserved_dos_device_name() 577 memmove(base + 1, base, blen + 1); in rename_if_reserved_dos_device_name()
|
| /third_party/toybox/toys/posix/ |
| H A D | paste.c | 47 size_t blen; in paste_files() local 55 if (!ff || 0>=(len = getline(&buf, &blen, ff))) { in paste_files()
|
| /third_party/node/deps/openssl/openssl/crypto/bio/ |
| H A D | bss_mem.c | 217 int blen; in mem_write() local 231 blen = bbm->readp->length; in mem_write() 233 if (BUF_MEM_grow_clean(bbm->buf, blen + inl) == 0) in mem_write() 235 memcpy(bbm->buf->data + blen, in, inl); in mem_write()
|
| /third_party/openssl/crypto/bio/ |
| H A D | bss_mem.c | 217 int blen; in mem_write() local 231 blen = bbm->readp->length; in mem_write() 233 if (BUF_MEM_grow_clean(bbm->buf, blen + inl) == 0) in mem_write() 235 memcpy(bbm->buf->data + blen, in, inl); in mem_write()
|
| /third_party/libwebsockets/lib/secure-streams/protocols/ |
| H A D | ss-mqtt.c | 964 size_t blen; in secstream_connect_munge_mqtt() local 972 if (b && (blen = lws_system_blob_get_size(b))) { in secstream_connect_munge_mqtt() 973 if (blen > LWS_MQTT_MAX_CIDLEN) { in secstream_connect_munge_mqtt() 978 p = (uint8_t *)lws_zalloc(blen+1, __func__); in secstream_connect_munge_mqtt() 981 n = lws_system_blob_get(b, p, &blen, 0); in secstream_connect_munge_mqtt() 998 if (b && (blen = lws_system_blob_get_size(b))) { in secstream_connect_munge_mqtt() 999 p = (uint8_t *)lws_zalloc(blen+1, __func__); in secstream_connect_munge_mqtt() 1002 n = lws_system_blob_get(b, p, &blen, 0); in secstream_connect_munge_mqtt() 1016 if (b && (blen = lws_system_blob_get_size(b))) { in secstream_connect_munge_mqtt() 1017 p = (uint8_t *)lws_zalloc(blen in secstream_connect_munge_mqtt() [all...] |
| /third_party/node/deps/openssl/openssl/apps/ |
| H A D | engine.c | 65 const int blen = strlen(p); in append_buf() local 67 if (blen > 0) in append_buf() 68 len += 2 + blen; in append_buf() 81 if (blen > 0) { in append_buf() 82 p += blen; in append_buf()
|
| /third_party/openssl/apps/ |
| H A D | engine.c | 65 const int blen = strlen(p); in append_buf() local 67 if (blen > 0) in append_buf() 68 len += 2 + blen; in append_buf() 81 if (blen > 0) { in append_buf() 82 p += blen; in append_buf()
|
| /third_party/curl/lib/vquic/ |
| H A D | vquic.c | 281 size_t blen, sent; in vquic_flush() local 285 while(Curl_bufq_peek(&qctx->sendbuf, &buf, &blen)) { in vquic_flush() 289 if(blen > qctx->split_len) in vquic_flush() 290 blen = qctx->split_len; in vquic_flush() 293 result = vquic_send_packets(cf, data, qctx, buf, blen, gsolen, &sent); in vquic_flush() 295 blen, gsolen, result, sent); in vquic_flush()
|
| /third_party/python/Lib/email/ |
| H A D | _encoded_words.py | 227 blen = _cte_encode_length['b'](bstring) 229 encoding = 'q' if qlen - blen < 5 else 'b'
|
| /third_party/libwebsockets/lib/roles/h2/ |
| H A D | ops-h2.c | 804 size_t blen; in lws_h2_bind_for_post_before_action() local 884 (blen = lws_buflist_next_segment_len(&wsi->buflist, &buffered))) { in lws_h2_bind_for_post_before_action() 886 if ((size_t)wsi->http.rx_content_length < blen) in lws_h2_bind_for_post_before_action() 887 blen = (size_t)wsi->http.rx_content_length; in lws_h2_bind_for_post_before_action() 890 wsi->user_space, buffered, blen)) in lws_h2_bind_for_post_before_action() 892 lws_buflist_use_segment(&wsi->buflist, blen); in lws_h2_bind_for_post_before_action() 894 wsi->http.rx_content_length -= blen; in lws_h2_bind_for_post_before_action()
|