Home
last modified time | relevance | path

Searched refs:packet_len (Results 1 - 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Ddvdsub_parser.c31 int packet_len; member
51 pc->packet_len = AV_RB16(buf); in dvdsub_parse()
52 if (pc->packet_len == 0) /* HD-DVD subpicture packet */ in dvdsub_parse()
53 pc->packet_len = AV_RB32(buf+2); in dvdsub_parse()
55 if ((unsigned)pc->packet_len > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE) { in dvdsub_parse()
56 av_log(avctx, AV_LOG_ERROR, "packet length %d is invalid\n", pc->packet_len); in dvdsub_parse()
59 pc->packet = av_malloc(pc->packet_len + AV_INPUT_BUFFER_PADDING_SIZE); in dvdsub_parse()
62 if (pc->packet_index + buf_size <= pc->packet_len) { in dvdsub_parse()
65 if (pc->packet_index >= pc->packet_len) { in dvdsub_parse()
67 *poutbuf_size = pc->packet_len; in dvdsub_parse()
[all...]
/third_party/ffmpeg/libavformat/
H A Drtspenc.c154 uint32_t packet_len = AV_RB32(ptr); in ff_rtsp_tcp_write_packet() local
164 if (packet_len > size || packet_len < 2) in ff_rtsp_tcp_write_packet()
172 AV_WB16(interleave_header + 2, packet_len); in ff_rtsp_tcp_write_packet()
173 ffurl_write(rt->rtsp_hd_out, interleaved_packet, 4 + packet_len); in ff_rtsp_tcp_write_packet()
174 ptr += packet_len; in ff_rtsp_tcp_write_packet()
175 size -= packet_len; in ff_rtsp_tcp_write_packet()
H A Dmovenchint.c327 uint32_t packet_len = AV_RB32(data); in write_hint_packets() local
334 if (packet_len > size || packet_len <= 12) in write_hint_packets()
338 data += packet_len; in write_hint_packets()
339 size -= packet_len; in write_hint_packets()
343 if (packet_len > trk->max_packet_size) in write_hint_packets()
344 trk->max_packet_size = packet_len; in write_hint_packets()
379 packet_len -= 12; in write_hint_packets()
383 describe_payload(data, packet_len, out, &entries, &trk->sample_queue); in write_hint_packets()
384 data += packet_len; in write_hint_packets()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Deth_p_oui.c166 size_t packet_len; in eth_p_oui_send() local
170 packet_len = sizeof(*ethhdr) + sizeof(global_oui) + 1 + len; in eth_p_oui_send()
171 packet = os_zalloc(packet_len); in eth_p_oui_send()
188 ret = l2_packet_send(iface->l2, NULL, 0, packet, packet_len); in eth_p_oui_send()
H A Dwpa_auth_ft.c516 * @packet_len: Pointer to return the length of the allocated buffer in octets
525 u8 **packet, size_t *packet_len) in wpa_ft_rrb_build()
539 *packet_len = sizeof(u16) + auth_len + plain_len; in wpa_ft_rrb_build()
541 *packet_len += AES_BLOCK_SIZE; in wpa_ft_rrb_build()
543 if (*packet_len < RRB_MIN_MSG_LEN) { in wpa_ft_rrb_build()
544 pad_len = RRB_MIN_MSG_LEN - *packet_len; in wpa_ft_rrb_build()
549 (int) *packet_len, (int) (*packet_len + pad_len)); in wpa_ft_rrb_build()
550 *packet_len += pad_len; in wpa_ft_rrb_build()
564 *packet = os_zalloc(*packet_len); in wpa_ft_rrb_build()
519 wpa_ft_rrb_build(const u8 *key, const size_t key_len, const struct tlv_list *tlvs_enc0, const struct tlv_list *tlvs_enc1, const struct tlv_list *tlvs_auth, const struct vlan_description *vlan, const u8 *src_addr, u8 type, u8 **packet, size_t *packet_len) wpa_ft_rrb_build() argument
939 size_t packet_len; wpa_ft_rrb_seq_req() local
1937 size_t packet_len, key_len; wpa_ft_pull_pmk_r1() local
3730 wpa_ft_rrb_build_r0(const u8 *key, const size_t key_len, const struct tlv_list *tlvs, const struct wpa_ft_pmk_r0_sa *pmk_r0, const u8 *r1kh_id, const u8 *s1kh_id, const struct tlv_list *tlv_auth, const u8 *src_addr, u8 type, u8 **packet, size_t *packet_len) wpa_ft_rrb_build_r0() argument
3809 size_t plain_len = 0, packet_len = 0; wpa_ft_rrb_rx_pull() local
4390 size_t packet_len = 0, key_len = 0; wpa_ft_rrb_rx_seq_req() local
4733 size_t packet_len; wpa_ft_generate_pmk_r1() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Deth_p_oui.c166 size_t packet_len; in eth_p_oui_send() local
170 packet_len = sizeof(*ethhdr) + sizeof(global_oui) + 1 + len; in eth_p_oui_send()
171 packet = os_zalloc(packet_len); in eth_p_oui_send()
188 ret = l2_packet_send(iface->l2, NULL, 0, packet, packet_len); in eth_p_oui_send()
H A Dwpa_auth_ft.c515 * @packet_len: Pointer to return the length of the allocated buffer in octets
524 u8 **packet, size_t *packet_len) in wpa_ft_rrb_build()
538 *packet_len = sizeof(u16) + auth_len + plain_len; in wpa_ft_rrb_build()
540 *packet_len += AES_BLOCK_SIZE; in wpa_ft_rrb_build()
542 if (*packet_len < RRB_MIN_MSG_LEN) { in wpa_ft_rrb_build()
543 pad_len = RRB_MIN_MSG_LEN - *packet_len; in wpa_ft_rrb_build()
548 (int) *packet_len, (int) (*packet_len + pad_len)); in wpa_ft_rrb_build()
549 *packet_len += pad_len; in wpa_ft_rrb_build()
563 *packet = os_zalloc(*packet_len); in wpa_ft_rrb_build()
518 wpa_ft_rrb_build(const u8 *key, const size_t key_len, const struct tlv_list *tlvs_enc0, const struct tlv_list *tlvs_enc1, const struct tlv_list *tlvs_auth, const struct vlan_description *vlan, const u8 *src_addr, u8 type, u8 **packet, size_t *packet_len) wpa_ft_rrb_build() argument
938 size_t packet_len; wpa_ft_rrb_seq_req() local
1935 size_t packet_len, key_len; wpa_ft_pull_pmk_r1() local
3503 wpa_ft_rrb_build_r0(const u8 *key, const size_t key_len, const struct tlv_list *tlvs, const struct wpa_ft_pmk_r0_sa *pmk_r0, const u8 *r1kh_id, const u8 *s1kh_id, const struct tlv_list *tlv_auth, const u8 *src_addr, u8 type, u8 **packet, size_t *packet_len) wpa_ft_rrb_build_r0() argument
3585 size_t plain_len = 0, packet_len = 0; wpa_ft_rrb_rx_pull() local
4162 size_t packet_len = 0, key_len = 0; wpa_ft_rrb_rx_seq_req() local
4510 size_t packet_len; wpa_ft_generate_pmk_r1() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dpacket.c123 pkt->subs->packet_len = 0; in wpacket_intern_init_len()
250 if ((pkt->curr - sub->lenbytes) == sub->packet_len) { in wpacket_intern_close()
256 sub->packet_len = 0; in wpacket_intern_close()
265 && !put_value(&buf[sub->packet_len], packlen, in wpacket_intern_close()
365 sub->packet_len = 0; in WPACKET_start_sub_packet_len__()
369 sub->packet_len = pkt->written; in WPACKET_start_sub_packet_len__()
/third_party/openssl/crypto/
H A Dpacket.c123 pkt->subs->packet_len = 0; in wpacket_intern_init_len()
250 if ((pkt->curr - sub->lenbytes) == sub->packet_len) { in wpacket_intern_close()
256 sub->packet_len = 0; in wpacket_intern_close()
265 && !put_value(&buf[sub->packet_len], packlen, in wpacket_intern_close()
365 sub->packet_len = 0; in WPACKET_start_sub_packet_len__()
369 sub->packet_len = pkt->written; in WPACKET_start_sub_packet_len__()
/third_party/libfuse/test/
H A Dtest_custom_io.py53 packet_len, _, unique_res = struct.unpack(
57 response_payload = sock_recvall(sock, packet_len - len(response_header))
/third_party/libfuse/example/
H A Dhello_ll_uds.c268 uint32_t packet_len = ((struct fuse_in_header *)buf)->len; in stream_read()
269 if (packet_len > buf_len) in stream_read()
275 packet_len - sizeof(struct fuse_in_header)); in stream_read()
/third_party/node/deps/openssl/openssl/include/internal/
H A Dpacket.h641 size_t packet_len; member
643 /* Number of bytes in the packet_len or 0 if we don't write the length */
/third_party/openssl/include/internal/
H A Dpacket.h641 size_t packet_len; member
643 /* Number of bytes in the packet_len or 0 if we don't write the length */

Completed in 15 milliseconds