Home
last modified time | relevance | path

Searched refs:size_left (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/asfmux/
Dgstrtpasfpay.c132 guint32 size_left; in gst_rtp_asf_pay_handle_packet() local
205 size_left = gst_rtp_buffer_get_payload_len (&rtp) - rtpasfpay->cur_off; in gst_rtp_asf_pay_handle_packet()
214 GST_DEBUG_OBJECT (rtpasfpay, "Size left: %" G_GUINT32_FORMAT, size_left); in gst_rtp_asf_pay_handle_packet()
234 if (size_left >= packet_util_size + 8) { in gst_rtp_asf_pay_handle_packet()
250 size_left -= packet_util_size + 8; in gst_rtp_asf_pay_handle_packet()
260 gst_buffer_extract (buffer, packet_offset, data + 8, size_left - 8); in gst_rtp_asf_pay_handle_packet()
263 rtpasfpay->cur_off += size_left; in gst_rtp_asf_pay_handle_packet()
264 packet_offset += size_left - 8; in gst_rtp_asf_pay_handle_packet()
265 packet_util_size -= size_left - 8; in gst_rtp_asf_pay_handle_packet()
266 size_left = 0; in gst_rtp_asf_pay_handle_packet()
[all …]
Dgstasfmux.c1469 guint64 size_left; in gst_asf_mux_flush_payloads() local
1491 size_left = asfmux->packet_size - asfmux->payload_parsing_info_size - 1; in gst_asf_mux_flush_payloads()
1499 if (size_left < payload_size) { in gst_asf_mux_flush_payloads()
1563 size_left -= payload_size; in gst_asf_mux_flush_payloads()
1583 if (asfmux->payloads && size_left > ASF_MULTIPLE_PAYLOAD_HEADER_SIZE) { in gst_asf_mux_flush_payloads()
1596 bytes_writen = gst_asf_put_subpayload (data, payload, size_left); in gst_asf_mux_flush_payloads()
1602 size_left -= (bytes_writen + ASF_MULTIPLE_PAYLOAD_HEADER_SIZE); in gst_asf_mux_flush_payloads()
1632 GST_WRITE_UINT32_LE (data + offset, asfmux->packet_size - size_left); in gst_asf_mux_flush_payloads()
1637 GST_WRITE_UINT16_LE (data + offset, asfmux->packet_size - size_left); in gst_asf_mux_flush_payloads()
1641 GST_WRITE_UINT32_LE (data + offset, size_left); in gst_asf_mux_flush_payloads()
[all …]
/third_party/ltp/lib/
Dtst_rtnetlink.c174 int i, size_left, msgcount; in tst_rtnl_recv() local
212 size_left = bufsize; in tst_rtnl_recv()
215 for (; size_left > 0 && NLMSG_OK(ptr, size_left); msgcount++) in tst_rtnl_recv()
216 ptr = NLMSG_NEXT(ptr, size_left); in tst_rtnl_recv()
228 size_left = bufsize; in tst_rtnl_recv()
230 for (i = 0; i < msgcount; i++, ptr = NLMSG_NEXT(ptr, size_left)) { in tst_rtnl_recv()
366 int size_left = ctx->datalen; in tst_rtnl_check_acks() local
368 for (; size_left > 0 && NLMSG_OK(msg, size_left); in tst_rtnl_check_acks()
369 msg = NLMSG_NEXT(msg, size_left)) { in tst_rtnl_check_acks()
/third_party/ffmpeg/libavformat/
Dasfdec_o.c72 int size_left; member
1131 asf_pkt->size_left = 0; in reset_packet()
1151 asf_pkt->data_size = asf_pkt->size_left = data_size; in asf_read_replicated_data()
1190 p = asf_pkt->avpkt->data + asf_pkt->data_size - asf_pkt->size_left; in asf_read_multiple_payload()
1191 if (pay_len > asf_pkt->size_left) { in asf_read_multiple_payload()
1194 pay_len, asf_pkt->size_left); in asf_read_multiple_payload()
1195 skip = pay_len - asf_pkt->size_left; in asf_read_multiple_payload()
1196 pay_len = asf_pkt->size_left; in asf_read_multiple_payload()
1198 if (asf_pkt->size_left <= 0) in asf_read_multiple_payload()
1205 asf_pkt->size_left -= pay_len; in asf_read_multiple_payload()
[all …]
Dmovenccenc.c94 int size_left = size; in mov_cenc_write_encrypted() local
97 while (size_left > 0) { in mov_cenc_write_encrypted()
98 cur_size = FFMIN(size_left, sizeof(chunk)); in mov_cenc_write_encrypted()
102 size_left -= cur_size; in mov_cenc_write_encrypted()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dvp8_dec.c207 size_t size_left = size; in ParsePartitions() local
218 size_left -= last_part * 3; in ParsePartitions()
221 if (psize > size_left) psize = size_left; in ParsePartitions()
224 size_left -= psize; in ParsePartitions()
227 VP8InitBitReader(dec->parts_ + last_part, part_start, size_left); in ParsePartitions()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dvp8_dec.c207 size_t size_left = size; in ParsePartitions() local
218 size_left -= last_part * 3; in ParsePartitions()
221 if (psize > size_left) psize = size_left; in ParsePartitions()
224 size_left -= psize; in ParsePartitions()
227 VP8InitBitReader(dec->parts_ + last_part, part_start, size_left); in ParsePartitions()
/third_party/ffmpeg/libavcodec/
Dvmnc.c334 int dx, dy, w, h, depth, enc, chunks, res, size_left, ret; in decode_frame() local
394 size_left = bytestream2_get_bytes_left(gb); in decode_frame()
401 if (size_left < 2 + w * h * c->bpp2 * 2) { in decode_frame()
404 2 + w * h * c->bpp2 * 2, size_left); in decode_frame()
470 if (size_left < w * h * c->bpp2) { in decode_frame()
473 w * h * c->bpp2, size_left); in decode_frame()
/third_party/boost/boost/log/detail/
Dattachable_sstream_buf.hpp165 size_type size_left() const BOOST_NOEXCEPT in size_left() function in boost::aux::basic_ostringstreambuf
180 size_type left = size_left(); in append()
206 const size_type left = size_left(); in append()
Dcode_conversion.hpp75 …std::size_t size_left = str2.size() < max_size ? max_size - str2.size() : static_cast< std::size_t… in code_convert() local
76 const bool overflow = len > size_left; in code_convert()
77 str2.append(reinterpret_cast< const TargetCharT* >(str1), overflow ? size_left : len); in code_convert()
/third_party/boost/boost/xpressive/detail/utility/
Dsequence_stack.hpp215 std::size_t size_left = static_cast< std::size_t >(this->end_ - this->curr_); in push_sequence() local
216 if (size_left < count) in push_sequence()
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c1180 size_t size_left = size; in altcp_mbedtls_bio_send() local
1188 while (size_left) { in altcp_mbedtls_bio_send()
1189 u16_t write_len = (u16_t)LWIP_MIN(size_left, 0xFFFF); in altcp_mbedtls_bio_send()
1193 size_left -= write_len; in altcp_mbedtls_bio_send()
/third_party/boost/libs/filesystem/src/
Doperations.cpp439 off_t size_left = size - offset; in copy_file_data_sendfile() local
441 if (size_left < static_cast< off_t >(max_send_size)) in copy_file_data_sendfile()
442 size_to_copy = static_cast< std::size_t >(size_left); in copy_file_data_sendfile()
472 loff_t size_left = size - offset; in copy_file_data_copy_file_range() local
474 if (size_left < static_cast< off_t >(max_send_size)) in copy_file_data_copy_file_range()
475 size_to_copy = static_cast< std::size_t >(size_left); in copy_file_data_copy_file_range()