Home
last modified time | relevance | path

Searched refs:chunk_len (Results 1 – 13 of 13) 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/ffmpeg/libavcodec/
Ddca_lbr.c1173 int i, ch, sb, sf, ret, group, chunk_id, chunk_len; in ff_dca_lbr_parse() local
1204 chunk_len = (chunk_id & 0x80) ? bytestream2_get_be16(&gb) : bytestream2_get_byte(&gb); in ff_dca_lbr_parse()
1206 if (chunk_len > bytestream2_get_bytes_left(&gb)) { in ff_dca_lbr_parse()
1207 chunk_len = bytestream2_get_bytes_left(&gb); in ff_dca_lbr_parse()
1213 bytestream2_init(&gb, gb.buffer, chunk_len); in ff_dca_lbr_parse()
1220 res += (chunk_len >> 8) & 0xff; in ff_dca_lbr_parse()
1221 res += chunk_len & 0xff; in ff_dca_lbr_parse()
1222 for (i = 0; i < chunk_len - 2; i++) in ff_dca_lbr_parse()
1276 chunk_len = (chunk_id & 0x80) ? bytestream2_get_be16(&gb) : bytestream2_get_byte(&gb); in ff_dca_lbr_parse()
1279 if (chunk_len > bytestream2_get_bytes_left(&gb)) { in ff_dca_lbr_parse()
[all …]
/third_party/ltp/testcases/network/sctp/
Dsctp_big_chunk.c118 uint16_t chunk_len; in setup_client() local
150 chunk_len = htons(pkt_len - cmn_hdr_off); in setup_client()
151 memcpy(packet + cmn_hdr_off + 2, &chunk_len, 2); in setup_client()
/third_party/node/deps/v8/src/snapshot/embedded/
Dplatform-embedded-file-writer-win.cc219 int chunk_len = ::RoundUp(chunk_end - chunk_start, kInstrSize);
221 while (chunk_len > 0) {
223 std::min(chunk_len, win64_unwindinfo::kMaxFunctionLength);
224 chunk_len -= win64_unwindinfo::kMaxFunctionLength;
/third_party/mbedtls/tests/suites/
Dtest_suite_bignum.function38 size_t chunk_len;
45 * the format that mbedtls_mpi_read_string understands and is chunk_len long.
57 if (random->pos + random->chunk_len > random->data->len
58 || random->chunk_len > len) {
69 memcpy(buf + len - random->chunk_len, &random->data->x[random->pos],
70 random->chunk_len);
72 random->pos += random->chunk_len;
1101 int chunk_len, int rounds)
1110 rand.chunk_len = chunk_len;
1120 rand.chunk_len = chunk_len;
/third_party/ffmpeg/libavformat/
Dmmsh.c79 int chunk_len, res, ext_header_len; in get_chunk_header() local
87 chunk_len = AV_RL16(chunk_header + 2); in get_chunk_header()
108 *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.c1279 uint16_t chunk_len = asf->asf_st[st_num]->virtual_chunk_len; in asf_deinterleave() local
1280 int nchunks = pkt_len / chunk_len; in asf_deinterleave()
1299 if ((pos + chunk_len) >= asf_pkt->data_size) in asf_deinterleave()
1302 p + (j * nchunks + l) * chunk_len, in asf_deinterleave()
1303 chunk_len); in asf_deinterleave()
1304 pos += chunk_len; in asf_deinterleave()
/third_party/curl/lib/
Dbufq.c43 static size_t chunk_len(const struct buf_chunk *chunk) in chunk_len() function
267 len += chunk_len(chunk); in Curl_bufq_len()
465 clen = chunk_len(c); in Curl_bufq_peek_at()
/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/node/deps/brotli/c/enc/
Dhash_rolling_inc.h49 uint32_t chunk_len; member
/third_party/skia/third_party/externals/brotli/c/enc/
Dhash_rolling_inc.h49 uint32_t chunk_len; member
/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()