/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() 420 size_t frag_off, frag_len, msg_len; in dtls1_preprocess_fragment() local 424 frag_len = msg_hdr->frag_len; in dtls1_preprocess_fragment() 427 if ((frag_off + frag_len) > msg_len in dtls1_preprocess_fragment() 501 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 | 132 .frag_len = 0, in mps_reader_zero() 226 rd->frag_len = new_frag_len; in mbedtls_mps_reader_feed() 239 mbedtls_mps_size_t frag_len, frag_offset, end, frag_fetched, frag_remaining; in mbedtls_mps_reader_get() local 359 frag_len = rd->frag_len; in mbedtls_mps_reader_get() 363 frag_remaining = frag_len - frag_fetched; /* Remaining data in fragment */ in mbedtls_mps_reader_get() 422 mbedtls_mps_size_t acc_len, frag_offset, frag_len; in mbedtls_mps_reader_reclaim() local 435 frag_len = rd->frag_len; in mbedtls_mps_reader_reclaim() 445 if( commit < frag_offset || commit - frag_offset < frag_len ) in mbedtls_mps_reader_reclaim() 490 frag_backup_len = frag_len; in mbedtls_mps_reader_reclaim() 498 frag_backup_len = frag_len - frag_backup_offset; in mbedtls_mps_reader_reclaim() [all …]
|
D | mps_reader.h | 148 mbedtls_mps_stored_size_t frag_len; member
|
D | ssl_msg.c | 2548 uint32_t msg_len, frag_off, frag_len; in ssl_check_hs_header() local 2552 frag_len = ssl_get_hs_frag_len( ssl ); in ssl_check_hs_header() 2557 if( frag_len > msg_len - frag_off ) in ssl_check_hs_header() 2560 if( frag_len + 12 > ssl->in_msglen ) in ssl_check_hs_header() 3929 size_t frag_len, frag_off; in ssl_buffer_message() local 3939 frag_len = ssl_get_hs_frag_len( ssl ); in ssl_buffer_message() 3943 frag_off, frag_len ) ); in ssl_buffer_message() 3944 memcpy( msg + frag_off, ssl->in_msg + 12, frag_len ); in ssl_buffer_message() 3949 ssl_bitmask_set( bitmask, frag_off, frag_len ); in ssl_buffer_message()
|
/third_party/lwip/src/netif/ |
D | lowpan6.c | 346 u16_t frag_len, remaining_len, max_data_len; in lowpan6_frag() local 416 frag_len = data_len + lowpan6_header_len; in lowpan6_frag() 418 …pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len + 4, frag_len - lowpan6_header_… in lowpan6_frag() 419 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag() 421 datagram_offset = frag_len - lowpan6_header_len + hidden_header_len; in lowpan6_frag() 425 p_frag->len = p_frag->tot_len = ieee_header_len + 4 + frag_len + 2; /* add 2 bytes for crc*/ in lowpan6_frag() 446 frag_len = (127 - ieee_header_len - 5 - 2) & 0xf8; in lowpan6_frag() 447 if (frag_len > remaining_len) { in lowpan6_frag() 448 frag_len = remaining_len; in lowpan6_frag() 451 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 | 1742 size_t frag_len; in gas_serv_rx_gas_comeback_req() local 1768 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req() 1769 if (frag_len > hapd->conf->gas_frag_limit) { in gas_serv_rx_gas_comeback_req() 1770 frag_len = hapd->conf->gas_frag_limit; in gas_serv_rx_gas_comeback_req() 1774 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req() 1776 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req() 1788 10 + 2 + frag_len); in gas_serv_rx_gas_comeback_req() 1791 wpabuf_put_le16(tx_buf, frag_len); in gas_serv_rx_gas_comeback_req() 1807 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req() 1809 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 | 1730 size_t frag_len; member 2409 size_t frag_off, size_t frag_len);
|
/third_party/openssl/ |
D | CHANGES | 5573 *) Keep a copy of frag->msg_header.frag_len so it can be used after the
|