/third_party/openssl/ssl/statem/ |
D | statem_dtls.c | 47 size_t frag_len); 53 size_t frag_len); 56 static hm_fragment *dtls1_hm_fragment_new(size_t frag_len, int reassembly) in dtls1_hm_fragment_new() argument 67 if (frag_len) { in dtls1_hm_fragment_new() 68 if ((buf = OPENSSL_malloc(frag_len)) == NULL) { in dtls1_hm_fragment_new() 80 bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new() 441 size_t frag_off, frag_len, msg_len; in dtls1_preprocess_fragment() local 445 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment() 448 if ((frag_off + frag_len) > msg_len in dtls1_preprocess_fragment() 560 size_t frag_len = frag->msg_header.frag_len; in dtls1_retrieve_buffered_fragment() local [all …]
|
/third_party/node/deps/openssl/openssl/ssl/statem/ |
D | statem_dtls.c | 47 size_t frag_len); 53 size_t frag_len); 56 static hm_fragment *dtls1_hm_fragment_new(size_t frag_len, int reassembly) in dtls1_hm_fragment_new() argument 67 if (frag_len) { in dtls1_hm_fragment_new() 68 if ((buf = OPENSSL_malloc(frag_len)) == NULL) { in dtls1_hm_fragment_new() 80 bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new() 437 size_t frag_off, frag_len, msg_len; in dtls1_preprocess_fragment() local 441 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment() 444 if ((frag_off + frag_len) > msg_len in dtls1_preprocess_fragment() 556 size_t frag_len = frag->msg_header.frag_len; in dtls1_retrieve_buffered_fragment() local [all …]
|
/third_party/ffmpeg/libavformat/ |
D | rtpenc_vc2hq.c | 54 uint16_t frag_len; in send_picture() local 78 frag_len = (get_bits_count(&gc) + 7) / 8; /* length of transform parameters */ in send_picture() 83 AV_WB16(&info_hdr[ 8], frag_len); in send_picture() 85 … send_packet(ctx, DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT, 12, buf, frag_len, interlaced, second_field, 0); in send_picture() 86 buf += frag_len; in send_picture() 87 size -= frag_len; in send_picture() 90 frag_len = FFMIN(rtp_ctx->max_payload_size - 20 /* pl header */, size); in send_picture() 91 AV_WB16(&info_hdr[ 8], frag_len); in send_picture() 96 size -= frag_len; in send_picture() 97 …send_packet(ctx, DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT, 16, buf, frag_len, interlaced, second_field, siz… in send_picture() [all …]
|
D | rtpdec_vc2hq.c | 98 uint16_t frag_len; in vc2hq_handle_frame_fragment() local 108 frag_len = AV_RB16(&buf[12]); in vc2hq_handle_frame_fragment() 118 if (len < frag_len + 16) { in vc2hq_handle_frame_fragment() 140 avio_write(pl_ctx->buf, buf + 16 /* skip pl header */, frag_len); in vc2hq_handle_frame_fragment() 141 pl_ctx->frame_size += frag_len; in vc2hq_handle_frame_fragment() 145 if (len < frag_len + 20) { in vc2hq_handle_frame_fragment() 154 avio_write(pl_ctx->buf, buf + 20 /* skip pl header */, frag_len); in vc2hq_handle_frame_fragment() 155 pl_ctx->frame_size += frag_len; in vc2hq_handle_frame_fragment()
|
/third_party/mbedtls/library/ |
D | mps_reader.c | 129 .frag_len = 0, in mps_reader_zero() 222 rd->frag_len = new_frag_len; in mbedtls_mps_reader_feed() 235 mbedtls_mps_size_t frag_len, frag_offset, end, frag_fetched, frag_remaining; in mbedtls_mps_reader_get() local 354 frag_len = rd->frag_len; in mbedtls_mps_reader_get() 358 frag_remaining = frag_len - frag_fetched; /* Remaining data in fragment */ in mbedtls_mps_reader_get() 416 mbedtls_mps_size_t acc_len, frag_offset, frag_len; in mbedtls_mps_reader_reclaim() local 431 frag_len = rd->frag_len; in mbedtls_mps_reader_reclaim() 440 if (commit < frag_offset || commit - frag_offset < frag_len) { in mbedtls_mps_reader_reclaim() 480 frag_backup_len = frag_len; in mbedtls_mps_reader_reclaim() 486 frag_backup_len = frag_len - frag_backup_offset; in mbedtls_mps_reader_reclaim() [all …]
|
D | mps_reader.h | 147 mbedtls_mps_stored_size_t frag_len; member
|
D | ssl_msg.c | 2897 uint32_t msg_len, frag_off, frag_len; in ssl_check_hs_header() local 2901 frag_len = ssl_get_hs_frag_len(ssl); in ssl_check_hs_header() 2907 if (frag_len > msg_len - frag_off) { in ssl_check_hs_header() 2911 if (frag_len + 12 > ssl->in_msglen) { in ssl_check_hs_header() 4274 size_t frag_len, frag_off; in ssl_buffer_message() local 4284 frag_len = ssl_get_hs_frag_len(ssl); in ssl_buffer_message() 4288 frag_off, frag_len)); in ssl_buffer_message() 4289 memcpy(msg + frag_off, ssl->in_msg + 12, frag_len); in ssl_buffer_message() 4293 ssl_bitmask_set(bitmask, frag_off, frag_len); in ssl_buffer_message()
|
/third_party/lwip/src/netif/ |
D | lowpan6.c | 371 u16_t frag_len, remaining_len, max_data_len; in lowpan6_frag() local 441 frag_len = data_len + lowpan6_header_len; in lowpan6_frag() 443 …pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len + 4, frag_len - lowpan6_header_… in lowpan6_frag() 444 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag() 446 datagram_offset = frag_len - lowpan6_header_len + hidden_header_len; in lowpan6_frag() 450 p_frag->len = p_frag->tot_len = ieee_header_len + 4 + frag_len + 2; /* add 2 bytes for crc*/ in lowpan6_frag() 471 frag_len = (127 - ieee_header_len - 5 - 2) & 0xf8; in lowpan6_frag() 472 if (frag_len > remaining_len) { in lowpan6_frag() 473 frag_len = remaining_len; in lowpan6_frag() 476 pbuf_copy_partial(p, buffer + ieee_header_len + 5, frag_len, p->tot_len - remaining_len); in lowpan6_frag() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p_group.c | 194 size_t frag_len = end - pos; in p2p_group_encaps_probe_resp() local 195 if (frag_len > 251) in p2p_group_encaps_probe_resp() 196 frag_len = 251; in p2p_group_encaps_probe_resp() 198 wpabuf_put_u8(ie, 4 + frag_len); in p2p_group_encaps_probe_resp() 200 wpabuf_put_data(ie, pos, frag_len); in p2p_group_encaps_probe_resp() 201 pos += frag_len; in p2p_group_encaps_probe_resp() 271 size_t frag_len = end - pos; in wifi_display_encaps() local 272 if (frag_len > 251) in wifi_display_encaps() 273 frag_len = 251; in wifi_display_encaps() 275 wpabuf_put_u8(ie, 4 + frag_len); in wifi_display_encaps() [all …]
|
D | p2p_sd.c | 626 size_t frag_len, max_len; in p2p_rx_gas_comeback_req() local 656 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req() 657 if (frag_len > max_len) { in p2p_rx_gas_comeback_req() 658 frag_len = max_len; in p2p_rx_gas_comeback_req() 664 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req() 670 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req() 672 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p_group.c | 194 size_t frag_len = end - pos; in p2p_group_encaps_probe_resp() local 195 if (frag_len > 251) in p2p_group_encaps_probe_resp() 196 frag_len = 251; in p2p_group_encaps_probe_resp() 198 wpabuf_put_u8(ie, 4 + frag_len); in p2p_group_encaps_probe_resp() 200 wpabuf_put_data(ie, pos, frag_len); in p2p_group_encaps_probe_resp() 201 pos += frag_len; in p2p_group_encaps_probe_resp() 271 size_t frag_len = end - pos; in wifi_display_encaps() local 272 if (frag_len > 251) in wifi_display_encaps() 273 frag_len = 251; in wifi_display_encaps() 275 wpabuf_put_u8(ie, 4 + frag_len); in wifi_display_encaps() [all …]
|
D | p2p_sd.c | 626 size_t frag_len, max_len; in p2p_rx_gas_comeback_req() local 656 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req() 657 if (frag_len > max_len) { in p2p_rx_gas_comeback_req() 658 frag_len = max_len; in p2p_rx_gas_comeback_req() 664 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req() 670 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req() 672 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_build.c | 470 size_t frag_len = end - pos; in wps_ie_encapsulate() local 471 if (frag_len > 251) in wps_ie_encapsulate() 472 frag_len = 251; in wps_ie_encapsulate() 474 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate() 476 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate() 477 pos += frag_len; in wps_ie_encapsulate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_build.c | 479 size_t frag_len = end - pos; in wps_ie_encapsulate() local 480 if (frag_len > 251) in wps_ie_encapsulate() 481 frag_len = 251; in wps_ie_encapsulate() 483 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate() 485 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate() 486 pos += frag_len; in wps_ie_encapsulate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | gas_serv.c | 1747 size_t frag_len; in gas_serv_rx_gas_comeback_req() local 1776 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req() 1777 if (frag_len > hapd->conf->gas_frag_limit) { in gas_serv_rx_gas_comeback_req() 1778 frag_len = hapd->conf->gas_frag_limit; in gas_serv_rx_gas_comeback_req() 1782 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req() 1784 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req() 1796 10 + 2 + frag_len); in gas_serv_rx_gas_comeback_req() 1799 wpabuf_put_le16(tx_buf, frag_len); in gas_serv_rx_gas_comeback_req() 1815 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req() 1817 dialog->sd_resp_pos += frag_len; in gas_serv_rx_gas_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | gas_serv.c | 1739 size_t frag_len; in gas_serv_rx_gas_comeback_req() local 1765 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req() 1766 if (frag_len > hapd->conf->gas_frag_limit) { in gas_serv_rx_gas_comeback_req() 1767 frag_len = hapd->conf->gas_frag_limit; in gas_serv_rx_gas_comeback_req() 1771 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req() 1773 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req() 1785 10 + frag_len); in gas_serv_rx_gas_comeback_req() 1803 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req() 1805 dialog->sd_resp_pos += frag_len; in gas_serv_rx_gas_comeback_req()
|
/third_party/libwebsockets/lib/roles/http/ |
D | parsers.c | 762 unsigned short frag_len; in issue_char() local 767 frag_len = wsi->http.ah->frags[wsi->http.ah->nfrag].len; in issue_char() 773 frag_len < wsi->http.ah->current_token_limit) { in issue_char() 780 if (frag_len == wsi->http.ah->current_token_limit) { in issue_char()
|
/third_party/openssl/ssl/ |
D | ssl_local.h | 1866 size_t frag_len; member 2552 size_t frag_off, size_t frag_len);
|
/third_party/node/deps/openssl/openssl/ssl/ |
D | ssl_local.h | 1922 size_t frag_len; member 2608 size_t frag_off, size_t frag_len);
|
/third_party/node/deps/openssl/openssl/ |
D | CHANGES.md | 10236 * Keep a copy of frag->msg_header.frag_len so it can be used after the
|
/third_party/openssl/ |
D | CHANGES.md | 10058 * Keep a copy of frag->msg_header.frag_len so it can be used after the
|