/third_party/ffmpeg/libavformat/ |
D | rtpdec_xiph.c | 66 int ident, fragmented, tdt, num_pkts, pkt_len, ret; in xiph_handle_packet() local 74 pkt_len = AV_RB16(data->split_buf + data->split_pos); in xiph_handle_packet() 76 if (pkt_len > data->split_buf_len - data->split_pos) { in xiph_handle_packet() 80 if ((ret = av_new_packet(pkt, pkt_len)) < 0) { in xiph_handle_packet() 85 memcpy(pkt->data, data->split_buf + data->split_pos, pkt_len); in xiph_handle_packet() 86 data->split_pos += pkt_len; in xiph_handle_packet() 101 pkt_len = AV_RB16(buf + 4); in xiph_handle_packet() 103 if (pkt_len > len - 6) { in xiph_handle_packet() 105 "Invalid packet length %d in %d byte packet\n", pkt_len, in xiph_handle_packet() 126 if ((ret = av_new_packet(pkt, pkt_len)) < 0) { in xiph_handle_packet() [all …]
|
D | gxf.c | 285 static void gxf_read_index(AVFormatContext *s, int pkt_len) { in gxf_read_index() argument 290 if (pkt_len < 8) in gxf_read_index() 294 pkt_len -= 8; in gxf_read_index() 296 avio_skip(pb, pkt_len); in gxf_read_index() 306 if (pkt_len < 4 * map_cnt) { in gxf_read_index() 308 avio_skip(pb, pkt_len); in gxf_read_index() 311 pkt_len -= 4 * map_cnt; in gxf_read_index() 316 avio_skip(pb, pkt_len); in gxf_read_index() 501 int pkt_len; in gxf_packet() local 509 if (!parse_packet_header(pb, &pkt_type, &pkt_len)) { in gxf_packet() [all …]
|
D | rdt.c | 201 int pkt_len; in ff_rdt_parse_header() local 206 pkt_len = AV_RB16(buf+3); in ff_rdt_parse_header() 207 buf += pkt_len; in ff_rdt_parse_header() 208 len -= pkt_len; in ff_rdt_parse_header() 209 consumed += pkt_len; in ff_rdt_parse_header()
|
D | asfdec_o.c | 1384 uint16_t pkt_len = asf->asf_st[st_num]->virtual_pkt_len; in asf_deinterleave() local 1386 int nchunks = pkt_len / chunk_len; in asf_deinterleave() 1396 while (asf_pkt->data_size >= asf_st->span * pkt_len + pos) { in asf_deinterleave() 1400 for (l = 0; l < pkt_len; l++) { in asf_deinterleave() 1413 p += asf_st->span * pkt_len; in asf_deinterleave()
|
/third_party/ltp/testcases/network/sctp/ |
D | sctp_big_chunk.c | 31 static int pkt_len; variable 118 pkt_len = off; in setup_client() 120 tst_res(TINFO, "set chunk length %zu", pkt_len - cmn_hdr_off); in setup_client() 121 chunk_len = htons(pkt_len - cmn_hdr_off); in setup_client() 125 uint32_t csum = tst_crc32c(packet + ip6_hdr_len, pkt_len - ip6_hdr_len); in setup_client() 129 ip6.ip6_plen = htons(pkt_len - ip6_hdr_len); in setup_client() 166 SAFE_SENDTO(1, cfd, packet, pkt_len, 0, (struct sockaddr *)&rmt, in run()
|
/third_party/libsnd/src/ |
D | ogg.h | 47 int pkt_len ; member
|
D | ogg_vorbis.c | 241 vdata->pcm_start = odata->pkt [odata->pkt_len - 1].granulepos ; in vorbis_read_header() 645 if (odata->pkt_indx == odata->pkt_len) in vorbis_read_sample() 652 vdata->loc = odata->pkt [odata->pkt_len - 1].granulepos ; in vorbis_read_sample() 839 odata->pkt_len = 0 ; in vorbis_seek() 886 for (i = 0 ; i < odata->pkt_len ; i++) in vorbis_calculate_page_duration()
|
D | ogg_opus.c | 931 for (i = 0 , ppkt = odata->pkt ; i < odata->pkt_len ; i++, ppkt++) in ogg_opus_calculate_page_duration() 948 oopus->pg_pos = odata->pkt [odata->pkt_len - 1].granulepos ; in ogg_opus_unpack_next_page() 955 oopus->pg_pos = odata->pkt [odata->pkt_len - 1].granulepos ; in ogg_opus_unpack_next_page() 981 if (odata->pkt_indx == odata->pkt_len) in ogg_opus_read_refill() 987 if (odata->pkt_indx == odata->pkt_len) in ogg_opus_read_refill() 1749 { if (odata->pkt_indx == odata->pkt_len) in ogg_opus_byterate() 1754 if (odata->pkt_indx < odata->pkt_len) in ogg_opus_byterate()
|
D | ogg.c | 356 { odata->pkt_len = 0 ; in ogg_stream_unpack_page() 395 odata->pkt_len = i ; in ogg_stream_unpack_page()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_misc_state.c | 795 int pkt_len = devinfo->ver >= 10 ? 22 : (devinfo->ver >= 9 ? 19 : 16); in brw_upload_state_base_address() local 797 BEGIN_BATCH(pkt_len); in brw_upload_state_base_address() 798 OUT_BATCH(CMD_STATE_BASE_ADDRESS << 16 | (pkt_len - 2)); in brw_upload_state_base_address()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
D | wpa_i.h | 398 const u8 *pkt, size_t pkt_len) in wpa_sm_fils_hlp_rx() argument 401 sm->ctx->fils_hlp_rx(sm->ctx->ctx, dst, src, pkt, pkt_len); in wpa_sm_fils_hlp_rx()
|
D | wpa.h | 85 const u8 *pkt, size_t pkt_len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
D | wpa_i.h | 455 const u8 *pkt, size_t pkt_len) in wpa_sm_fils_hlp_rx() argument 458 sm->ctx->fils_hlp_rx(sm->ctx->ctx, dst, src, pkt, pkt_len); in wpa_sm_fils_hlp_rx()
|
D | wpa.h | 90 const u8 *pkt, size_t pkt_len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | wpas_glue.c | 1171 const u8 *pkt, size_t pkt_len) in wpa_supplicant_fils_hlp_rx() argument 1177 hexlen = pkt_len * 2 + 1; in wpa_supplicant_fils_hlp_rx() 1181 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | wpas_glue.c | 1244 const u8 *pkt, size_t pkt_len) in wpa_supplicant_fils_hlp_rx() argument 1250 hexlen = pkt_len * 2 + 1; in wpa_supplicant_fils_hlp_rx() 1254 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
|