Home
last modified time | relevance | path

Searched refs:chunk_len (Results 1 – 18 of 18) sorted by relevance

/third_party/lwip/src/apps/snmp/
Dsnmp_pbuf_stream.c112 u16_t chunk_len; in snmp_pbuf_stream_writeto() local
121 chunk_len = LWIP_MIN(len, pbuf->len); in snmp_pbuf_stream_writeto()
122 … snmp_pbuf_stream_writebuf(target_pbuf_stream, &((u8_t *)pbuf->payload)[target_offset], chunk_len); in snmp_pbuf_stream_writeto()
127 pbuf_stream->offset += chunk_len; in snmp_pbuf_stream_writeto()
128 pbuf_stream->length -= chunk_len; in snmp_pbuf_stream_writeto()
129 len -= chunk_len; in snmp_pbuf_stream_writeto()
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dbench-c-deflate-fragmentation.c152 uint32_t chunk_len = load_u32be(p + 0); in process_png_chunks() local
158 if (n < chunk_len) { in process_png_chunks()
163 if (chunk_len != 13) { in process_png_chunks()
209 memcpy(idat_buffer + idat_splits[num_idat_chunks], p, chunk_len); in process_png_chunks()
211 idat_splits[num_idat_chunks] + chunk_len; in process_png_chunks()
215 p += chunk_len; in process_png_chunks()
216 n -= chunk_len; in process_png_chunks()
/third_party/ltp/testcases/network/sctp/
Dsctp_big_chunk.c89 uint16_t chunk_len; in setup_client() local
121 chunk_len = htons(pkt_len - cmn_hdr_off); in setup_client()
122 memcpy(packet + cmn_hdr_off + 2, &chunk_len, 2); in setup_client()
/third_party/ffmpeg/libavcodec/
Ddca_lbr.c1182 int i, ch, sb, sf, ret, group, chunk_id, chunk_len; in ff_dca_lbr_parse() local
1213 chunk_len = (chunk_id & 0x80) ? bytestream2_get_be16(&gb) : bytestream2_get_byte(&gb); in ff_dca_lbr_parse()
1215 if (chunk_len > bytestream2_get_bytes_left(&gb)) { in ff_dca_lbr_parse()
1216 chunk_len = bytestream2_get_bytes_left(&gb); in ff_dca_lbr_parse()
1222 bytestream2_init(&gb, gb.buffer, chunk_len); in ff_dca_lbr_parse()
1229 res += (chunk_len >> 8) & 0xff; in ff_dca_lbr_parse()
1230 res += chunk_len & 0xff; in ff_dca_lbr_parse()
1231 for (i = 0; i < chunk_len - 2; i++) in ff_dca_lbr_parse()
1285 chunk_len = (chunk_id & 0x80) ? bytestream2_get_be16(&gb) : bytestream2_get_byte(&gb); in ff_dca_lbr_parse()
1288 if (chunk_len > bytestream2_get_bytes_left(&gb)) { in ff_dca_lbr_parse()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.c2067 uint16_t *padding_len, uint16_t *chunk_len) in sctp_add_addresses_to_i_ia() argument
2178 if ((chunk_len != NULL) && in sctp_add_addresses_to_i_ia()
2181 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); in sctp_add_addresses_to_i_ia()
2183 *chunk_len += *padding_len; in sctp_add_addresses_to_i_ia()
2186 m_at = sctp_add_addr_to_mbuf(m_at, sctp_ifap, chunk_len); in sctp_add_addresses_to_i_ia()
2256 if ((chunk_len != NULL) && in sctp_add_addresses_to_i_ia()
2259 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); in sctp_add_addresses_to_i_ia()
2261 *chunk_len += *padding_len; in sctp_add_addresses_to_i_ia()
2264 m_at = sctp_add_addr_to_mbuf(m_at, laddr->ifa, chunk_len); in sctp_add_addresses_to_i_ia()
5084 uint16_t num_ext, chunk_len, padding_len, parameter_len; local
[all …]
Dsctp_output.h54 uint16_t *padding_len, uint16_t *chunk_len);
Dsctputil.c4186 uint16_t chunk_len; in sctp_notify_remote_error() local
4193 chunk_len = ntohs(chunk->ch.chunk_length); in sctp_notify_remote_error()
4198 if (chunk_len > SCTP_CHUNK_BUFFER_SIZE) { in sctp_notify_remote_error()
4199 chunk_len = SCTP_CHUNK_BUFFER_SIZE; in sctp_notify_remote_error()
4202 chunk_len = 0; in sctp_notify_remote_error()
4204 notif_len = (unsigned int)(sizeof(struct sctp_remote_error) + chunk_len); in sctp_notify_remote_error()
4223 memcpy(sre->sre_data, chunk, chunk_len); in sctp_notify_remote_error()
4224 sre->sre_length += chunk_len; in sctp_notify_remote_error()
/third_party/gstreamer/gstplugins_bad/gst/midi/
Dmidiparse.c896 guint32 chunk_len; in find_midi_chunk() local
902 chunk_len = GST_READ_UINT32_LE (data + 4); in find_midi_chunk()
905 if (riff_len < chunk_len) in find_midi_chunk()
911 riff_len -= chunk_len; in find_midi_chunk()
914 *length = chunk_len; in find_midi_chunk()
918 data += chunk_len; in find_midi_chunk()
919 size -= chunk_len; in find_midi_chunk()
/third_party/ffmpeg/libavformat/
Dmmsh.c80 int chunk_len, res, ext_header_len; in get_chunk_header() local
88 chunk_len = AV_RL16(chunk_header + 2); in get_chunk_header()
109 *len = chunk_len - ext_header_len; in get_chunk_header()
Dwtvenc.c174 int64_t chunk_len = avio_tell(pb) - (wctx->last_chunk_pos + wctx->timeline_start_pos); in finish_chunk_noindex() local
175 avio_seek(pb, -(chunk_len - 16), SEEK_CUR); in finish_chunk_noindex()
176 avio_wl32(pb, chunk_len); in finish_chunk_noindex()
177 avio_seek(pb, chunk_len - (16 + 4), SEEK_CUR); in finish_chunk_noindex()
179 write_pad(pb, WTV_PAD8(chunk_len) - chunk_len); in finish_chunk_noindex()
Dasfdec_o.c1385 uint16_t chunk_len = asf->asf_st[st_num]->virtual_chunk_len; in asf_deinterleave() local
1386 int nchunks = pkt_len / chunk_len; in asf_deinterleave()
1405 if ((pos + chunk_len) >= asf_pkt->data_size) in asf_deinterleave()
1408 p + (j * nchunks + l) * chunk_len, in asf_deinterleave()
1409 chunk_len); in asf_deinterleave()
1410 pos += chunk_len; in asf_deinterleave()
/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.function25 size_t chunk_len;
32 * the format that mbedtls_mpi_read_string understands and is chunk_len long.
43 if( random->pos + random->chunk_len > random->data->len
44 || random->chunk_len > len )
56 memcpy( buf + len - random->chunk_len, &random->data->x[random->pos],
57 random->chunk_len );
59 random->pos += random->chunk_len;
1113 int chunk_len, int rounds )
1122 rand.chunk_len = chunk_len;
1132 rand.chunk_len = chunk_len;
/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurlhttpsrc.c2421 size_t chunk_len = size * nmemb; local
2423 "Received curl chunk for URI %s of size %d", s->uri, (int) chunk_len);
2428 gst_curl_http_src_update_position(s, (guint64)chunk_len);
2433 return chunk_len;
2436 g_realloc (s->buffer, (s->buffer_len + chunk_len + 1) * sizeof (char));
2441 memcpy (s->buffer + s->buffer_len, chunk, chunk_len);
2442 s->buffer_len += chunk_len;
2445 return chunk_len;
/third_party/openssl/test/
Devp_test.c2311 int output_len, chunk_len; in encode_test_run() local
2327 if (!TEST_true(EVP_EncodeUpdate(encode_ctx, encode_out, &chunk_len, in encode_test_run()
2331 output_len = chunk_len; in encode_test_run()
2333 EVP_EncodeFinal(encode_ctx, encode_out + chunk_len, &chunk_len); in encode_test_run()
2334 output_len += chunk_len; in encode_test_run()
2347 if (EVP_DecodeUpdate(decode_ctx, decode_out, &chunk_len, expected->output, in encode_test_run()
2352 output_len = chunk_len; in encode_test_run()
2354 if (EVP_DecodeFinal(decode_ctx, decode_out + chunk_len, &chunk_len) != 1) { in encode_test_run()
2358 output_len += chunk_len; in encode_test_run()
/third_party/skia/third_party/externals/brotli/c/enc/
Dhash_rolling_inc.h49 uint32_t chunk_len; member
/third_party/node/deps/brotli/c/enc/
Dhash_rolling_inc.h49 uint32_t chunk_len; member
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctions.c78 guint chunk_len = MAX (DATA_SCAN_CTX_CHUNK_SIZE, min_len); in data_scan_ctx_ensure_data() local
83 data = gst_type_find_peek (tf, c->offset, chunk_len); in data_scan_ctx_ensure_data()
86 c->size = chunk_len; in data_scan_ctx_ensure_data()
95 len = CLAMP (len - c->offset, min_len, chunk_len); in data_scan_ctx_ensure_data()
/third_party/python/Objects/
Dunicodeobject.c8184 int chunk_len, ret, done; in encode_code_page() local
8208 chunk_len = DECODING_CHUNK_SIZE; in encode_code_page()
8214 chunk_len = (int)len; in encode_code_page()
8219 unicode, offset, chunk_len, in encode_code_page()
8224 chunk_len, errors); in encode_code_page()
8230 offset += chunk_len; in encode_code_page()
8231 len -= chunk_len; in encode_code_page()