/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/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/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/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/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()
|