/third_party/ffmpeg/libavcodec/ |
D | png_parser.c | 33 uint32_t chunk_length; ///< length of the current chunk member 75 ppc->chunk_length = ppc->pc.state; in png_parse() 76 if (ppc->chunk_length > 0x7fffffff) { in png_parse() 80 ppc->chunk_length += 4; in png_parse() 82 if (ppc->chunk_length >= buf_size - i) in png_parse() 83 ppc->remaining_size = ppc->chunk_length - buf_size + i + 1; in png_parse() 88 next = ppc->chunk_length + i + 1; in png_parse() 95 i += ppc->chunk_length; in png_parse()
|
/third_party/nghttp2/lib/ |
D | nghttp2_buf.c | 91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() argument 102 rv = nghttp2_buf_init2(&(*chain)->buf, chunk_length, mem); in buf_chain_new() 116 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, in nghttp2_bufs_init() argument 118 return nghttp2_bufs_init2(bufs, chunk_length, max_chunk, 0, mem); in nghttp2_bufs_init() 121 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init2() argument 123 return nghttp2_bufs_init3(bufs, chunk_length, max_chunk, max_chunk, offset, in nghttp2_bufs_init2() 127 int nghttp2_bufs_init3(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init3() argument 133 if (chunk_keep == 0 || max_chunk < chunk_keep || chunk_length < offset) { in nghttp2_bufs_init3() 137 rv = buf_chain_new(&chain, chunk_length, mem); in nghttp2_bufs_init3() 150 bufs->chunk_length = chunk_length; in nghttp2_bufs_init3() [all …]
|
D | nghttp2_buf.h | 144 size_t chunk_length; member 161 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, 168 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, 190 int nghttp2_bufs_init3(nghttp2_bufs *bufs, size_t chunk_length, 257 int nghttp2_bufs_realloc(nghttp2_bufs *bufs, size_t chunk_length);
|
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_buf.c | 91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() argument 102 rv = nghttp2_buf_init2(&(*chain)->buf, chunk_length, mem); in buf_chain_new() 116 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, in nghttp2_bufs_init() argument 118 return nghttp2_bufs_init2(bufs, chunk_length, max_chunk, 0, mem); in nghttp2_bufs_init() 121 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init2() argument 123 return nghttp2_bufs_init3(bufs, chunk_length, max_chunk, max_chunk, offset, in nghttp2_bufs_init2() 127 int nghttp2_bufs_init3(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init3() argument 133 if (chunk_keep == 0 || max_chunk < chunk_keep || chunk_length < offset) { in nghttp2_bufs_init3() 137 rv = buf_chain_new(&chain, chunk_length, mem); in nghttp2_bufs_init3() 150 bufs->chunk_length = chunk_length; in nghttp2_bufs_init3() [all …]
|
D | nghttp2_buf.h | 144 size_t chunk_length; member 161 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, 168 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, 190 int nghttp2_bufs_init3(nghttp2_bufs *bufs, size_t chunk_length, 257 int nghttp2_bufs_realloc(nghttp2_bufs *bufs, size_t chunk_length);
|
/third_party/libsnd/src/ |
D | wavlike.c | 955 wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length) in wavlike_subchunk_parse() argument 962 if (chunk_length <= 8) in wavlike_subchunk_parse() 964 psf_log_printf (psf, "%M : %u (weird length)\n", chunk, chunk_length) ; in wavlike_subchunk_parse() 965 psf_binheader_readf (psf, "mj", &chunk, chunk_length - 4) ; in wavlike_subchunk_parse() 970 if (current_pos + chunk_length > psf->filelength) in wavlike_subchunk_parse() 971 …{ psf_log_printf (psf, "%M : %u (should be %d)\n", chunk, chunk_length, (int) (psf->filelength - c… in wavlike_subchunk_parse() 972 chunk_length = psf->filelength - current_pos ; in wavlike_subchunk_parse() 975 psf_log_printf (psf, "%M : %u\n", chunk, chunk_length) ; in wavlike_subchunk_parse() 977 while (bytesread < chunk_length) in wavlike_subchunk_parse() 993 if (chunk_length > bytesread) in wavlike_subchunk_parse() [all …]
|
/third_party/skia/third_party/externals/libpng/ |
D | pngpread.c | 182 png_byte chunk_length[4]; in png_push_read_chunk() local 186 png_push_fill_buffer(png_ptr, chunk_length, 4); in png_push_read_chunk() 187 png_ptr->push_length = png_get_uint_31(png_ptr, chunk_length); in png_push_read_chunk() 538 png_byte chunk_length[4]; in png_push_read_IDAT() local 543 png_push_fill_buffer(png_ptr, chunk_length, 4); in png_push_read_IDAT() 544 png_ptr->push_length = png_get_uint_31(png_ptr, chunk_length); in png_push_read_IDAT()
|
D | pngpriv.h | 1543 png_uint_32 chunk_length),PNG_EMPTY);
|
D | CHANGES | 1178 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
D | pngfix.c | 1556 png_uint_32 chunk_length; /* From header (or modified below) */ member 1598 chunk->chunk_length = file->length; in chunk_init() 1673 length = chunk->chunk_length; in process_zTXt_iCCP() 1702 length = chunk->chunk_length; in process_iTXt() 1952 list->lengths[(list->count)++] = file->chunk->chunk_length; in process_IDAT() 1997 file->chunk->chunk_length = rechunk_length(idat, 1/*start*/); in process_IDAT() 2592 assert(zlib->rewrite_offset < chunk->chunk_length); in zlib_run() 2594 rc = zlib_advance(zlib, chunk->chunk_length - zlib->rewrite_offset); in zlib_run() 2601 chunk->chunk_length -= zlib->extra_bytes; in zlib_run() 2857 file->chunk->chunk_length = file->length; in process_chunk() [all …]
|
/third_party/skia/third_party/externals/piex/src/ |
D | tiff_parser.cc | 333 size_t chunk_length = kChunkSize; in GetData() local 335 chunk_length = length - data.size(); in GetData() 338 data.resize(processed_data + chunk_length); in GetData() 339 *error = stream->GetData(offset + processed_data, chunk_length, in GetData() 342 processed_data += chunk_length; in GetData()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_asconf.c | 640 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_chunk)) { in sctp_handle_asconf() 643 ntohs(cp->ch.chunk_length)); in sctp_handle_asconf() 664 asconf_limit = offset + ntohs(cp->ch.chunk_length); in sctp_handle_asconf() 702 ack_cp->ch.chunk_length = sizeof(struct sctp_asconf_ack_chunk); in sctp_handle_asconf() 800 ack_cp->ch.chunk_length += SCTP_BUF_LEN(m_result); in sctp_handle_asconf() 822 ack_cp->ch.chunk_length = htons(ack_cp->ch.chunk_length); in sctp_handle_asconf() 1716 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_ack_chunk)) { in sctp_handle_asconf_ack() 1719 ntohs(cp->ch.chunk_length)); in sctp_handle_asconf_ack() 1762 ack_length = ntohs(cp->ch.chunk_length) - in sctp_handle_asconf_ack() 2404 asconf_limit = ntohs(acp->ch.chunk_length); in sctp_is_addr_pending() [all …]
|
D | sctp_input.c | 112 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_init_chunk)) { in sctp_handle_init() 174 offset + ntohs(cp->ch.chunk_length))) { in sctp_handle_init() 525 initack_limit = offset + ntohs(cp->ch.chunk_length); in sctp_process_init_ack() 626 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_heartbeat_chunk)) { in sctp_handle_heartbeat_ack() 861 len = ntohs(abort->ch.chunk_length); in sctp_handle_abort() 970 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_shutdown_chunk)) { in sctp_handle_shutdown() 1246 remaining_length = ntohs(ch->chunk_length); in sctp_handle_error() 1431 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_init_ack_chunk)) { in sctp_handle_init_ack() 1654 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_existing() 2202 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); [all …]
|
D | sctp_output.c | 5141 init->ch.chunk_length = 0; 5338 init->ch.chunk_length = htons(chunk_len); 5399 limit = ntohs(cp->chunk_length) - sizeof(struct sctp_init_chunk); 6340 initack->ch.chunk_length = 0; 6625 initack->ch.chunk_length = htons(chunk_len); 8157 dchkh->ch.chunk_length = htons(chk->send_size); 8170 ndchkh->ch.chunk_length = htons(chk->send_size); 9480 uint32_t chunk_length; local 9489 chunk_length = 0; 9491 chunk_length += SCTP_BUF_LEN(mat); [all …]
|
D | sctp.h | 74 uint16_t chunk_length; /* chunk length */ member
|
D | sctputil.c | 3282 abort_len = ntohs(abort->ch.chunk_length); in sctp_notify_assoc_change() 3564 chk_len = ntohs(chkhdr->chunk_length); in sctp_notify_send_failed() 4193 chunk_len = ntohs(chunk->ch.chunk_length); in sctp_notify_remote_error() 4813 chk_length = ntohs(ch->chunk_length); 4875 chk_length = ntohs(ch->chunk_length);
|
D | sctp_auth.c | 1634 chunklen = ntohs(auth->ch.chunk_length);
|
D | sctp_indata.c | 2769 chk_length = ntohs(ch->chunk_length); in sctp_process_data() 5612 if ((fwd_sz = ntohs(fwd->ch.chunk_length)) < sizeof(struct sctp_forward_tsn_chunk)) {
|
/third_party/toybox/toys/posix/ |
D | file.c | 224 int chunk_length = peek_be(s, 4); in do_regular_file() local 230 if (chunk_length == 13 && strstart(&s, "IHDR")) { in do_regular_file()
|