Home
last modified time | relevance | path

Searched refs:png_alloc_size_t (Results 1 – 25 of 37) sorted by relevance

12

/external/libpng/
Dpngmem.c50 png_calloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
68 png_malloc_base,(png_const_structrp png_ptr, png_alloc_size_t size),
112 png_alloc_size_t req = (png_alloc_size_t)nelements; /* known to be > 0 */ in png_malloc_array_checked()
172 png_malloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
189 png_malloc_default,(png_const_structrp png_ptr, png_alloc_size_t size),
212 png_malloc_warn,(png_const_structrp png_ptr, png_alloc_size_t size),
Dpngerror.c134 png_alloc_size_t number) in png_format_number()
256 png_alloc_size_t value) in png_warning_parameter_unsigned()
266 png_alloc_size_t u; in png_warning_parameter_signed()
271 u = (png_alloc_size_t)value; in png_warning_parameter_signed()
Dpngrutil.c298 png_read_buffer(png_structrp png_ptr, png_alloc_size_t new_size, int warn) in png_read_buffer()
487 /* OUTPUT: */ png_bytep output, png_alloc_size_t *output_size_ptr) in png_inflate()
492 png_alloc_size_t avail_out = *output_size_ptr; in png_inflate()
612 png_alloc_size_t *newlength /* must be initialized to the maximum! */, in png_decompress_chunk()
622 png_alloc_size_t limit = PNG_SIZE_MAX; in png_decompress_chunk()
669 png_alloc_size_t new_size = *newlength; in png_decompress_chunk()
670 png_alloc_size_t buffer_size = prefix_size + new_size + in png_decompress_chunk()
775 png_uint_32p chunk_bytes, png_bytep next_out, png_alloc_size_t *out_size, in png_inflate_read()
1452 png_alloc_size_t size = (sizeof profile_header); in png_handle_iCCP()
1750 (png_alloc_size_t) new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()
[all …]
Dpngconf.h554 typedef png_uint_32 png_alloc_size_t; typedef
556 typedef png_size_t png_alloc_size_t; typedef
Dpng.h899 png_alloc_size_t));
1748 png_alloc_size_t size), PNG_ALLOCATED);
1751 png_alloc_size_t size), PNG_ALLOCATED);
1755 png_alloc_size_t size), PNG_ALLOCATED);
1798 png_alloc_size_t size), PNG_ALLOCATED PNG_DEPRECATED);
2405 png_alloc_size_t user_chunk_cache_max));
2406 PNG_EXPORT(192, png_alloc_size_t, png_get_chunk_malloc_max,
3118 png_alloc_size_t * PNG_RESTRICT memory_bytes, int convert_to_8_bit,
3182 PNG_ZLIB_MAX_SIZE((png_alloc_size_t)PNG_IMAGE_DATA_SIZE(image))
Dpngwutil.c204 static png_alloc_size_t
221 png_alloc_size_t cb_base; in png_image_size()
251 optimize_cmf(png_bytep data, png_alloc_size_t data_size) in optimize_cmf()
294 png_alloc_size_t data_size) in png_deflate_claim()
473 png_alloc_size_t input_len; /* Its length */
480 png_alloc_size_t input_len) in png_text_compress_init()
517 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress()
933 png_alloc_size_t input_len, int flush) in png_compress_IDAT()
1775 (png_alloc_size_t)((png_alloc_size_t)nparams * (sizeof (png_size_t)))); in png_write_pCAL()
1910 png_alloc_size_t buf_size; in png_write_start_row()
Dpngstruct.h442 png_alloc_size_t user_chunk_malloc_max;
459 png_alloc_size_t read_buffer_size; /* current size of the buffer */
Dpngwrite.c1064 png_alloc_size_t buf_size; in png_set_filter()
1519 png_alloc_size_t memory_bytes; /* not used for STDIO */
1520 png_alloc_size_t output_bytes; /* running total */
2170 const png_alloc_size_t ob = display->output_bytes;
2173 if (size <= ((png_alloc_size_t)-1) - ob)
2214 png_alloc_size_t * PNG_RESTRICT memory_bytes, int convert_to_8bit, in png_image_write_to_memory()
Dpngpriv.h999 png_alloc_size_t size),PNG_ALLOCATED);
1120 png_const_bytep row_data, png_alloc_size_t row_data_length, int flush),
1364 png_bytep output, png_alloc_size_t avail_out),PNG_EMPTY);
1736 png_charp end, int format, png_alloc_size_t number),PNG_EMPTY);
1774 (png_warning_parameters p, int number, int format, png_alloc_size_t value),
Dpng.c100 png_alloc_size_t num_bytes = size;
105 if (items >= (~(png_alloc_size_t)0)/size)
1813 is_ICC_signature_char(png_alloc_size_t it)
1820 is_ICC_signature(png_alloc_size_t it)
1830 png_const_charp name, png_alloc_size_t value, png_const_charp reason)
1916 (png_alloc_size_t)intent, "invalid sRGB rendering intent");
1921 (png_alloc_size_t)intent, "inconsistent rendering intents");
Dpngrtran.c433 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize()
450 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize()
584 (png_alloc_size_t)((png_uint_32)num_palette * in png_set_quantize()
587 (png_alloc_size_t)((png_uint_32)num_palette * in png_set_quantize()
597 hash = (png_dsortpp)png_calloc(png_ptr, (png_alloc_size_t)(769 * in png_set_quantize()
628 (png_alloc_size_t)(sizeof (png_dsort))); in png_set_quantize()
753 (png_alloc_size_t)(num_entries * (sizeof (png_byte)))); in png_set_quantize()
755 distance = (png_bytep)png_malloc(png_ptr, (png_alloc_size_t)(num_entries * in png_set_quantize()
Dpngtest.c502 png_alloc_size_t size;
515 png_alloc_size_t size));
519 PNGCBAPI png_debug_malloc(png_structp png_ptr, png_alloc_size_t size) in png_debug_malloc()
/external/pdfium/third_party/libpng16/
Dpngmem.c53 png_calloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
71 png_malloc_base,(png_const_structrp png_ptr, png_alloc_size_t size),
115 png_alloc_size_t req = nelements; /* known to be > 0 */ in png_malloc_array_checked()
175 png_malloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
192 png_malloc_default,(png_const_structrp png_ptr, png_alloc_size_t size),
215 png_malloc_warn,(png_const_structrp png_ptr, png_alloc_size_t size),
Dpngerror.c134 png_alloc_size_t number) in png_format_number()
256 png_alloc_size_t value) in png_warning_parameter_unsigned()
266 png_alloc_size_t u; in png_warning_parameter_signed()
271 u = (png_alloc_size_t)value; in png_warning_parameter_signed()
Dpngconf.h554 typedef png_uint_32 png_alloc_size_t; typedef
556 typedef png_size_t png_alloc_size_t; typedef
Dpng.h903 png_alloc_size_t));
1752 png_alloc_size_t size), PNG_ALLOCATED);
1755 png_alloc_size_t size), PNG_ALLOCATED);
1759 png_alloc_size_t size), PNG_ALLOCATED);
1801 png_alloc_size_t size), PNG_ALLOCATED PNG_DEPRECATED);
2397 png_alloc_size_t user_chunk_cache_max));
2398 PNG_EXPORT(192, png_alloc_size_t, png_get_chunk_malloc_max,
3104 png_alloc_size_t * PNG_RESTRICT memory_bytes, int convert_to_8_bit,
3168 PNG_ZLIB_MAX_SIZE((png_alloc_size_t)PNG_IMAGE_DATA_SIZE(image))
Dpngstruct.h442 png_alloc_size_t user_chunk_malloc_max;
459 png_alloc_size_t read_buffer_size; /* current size of the buffer */
Dpngrutil.c295 png_read_buffer(png_structrp png_ptr, png_alloc_size_t new_size, int warn) in png_read_buffer()
478 /* OUTPUT: */ png_bytep output, png_alloc_size_t *output_size_ptr) in png_inflate()
483 png_alloc_size_t avail_out = *output_size_ptr; in png_inflate()
603 png_alloc_size_t *newlength /* must be initialized to the maximum! */, in png_decompress_chunk()
613 png_alloc_size_t limit = PNG_SIZE_MAX; in png_decompress_chunk()
660 png_alloc_size_t new_size = *newlength; in png_decompress_chunk()
661 png_alloc_size_t buffer_size = prefix_size + new_size + in png_decompress_chunk()
765 png_uint_32p chunk_bytes, png_bytep next_out, png_alloc_size_t *out_size, in png_inflate_read()
1430 png_alloc_size_t size = (sizeof profile_header); in png_handle_iCCP()
2569 png_alloc_size_t uncompressed_length = PNG_SIZE_MAX; in png_handle_zTXt()
[all …]
Dpngwutil.c204 static png_alloc_size_t
221 png_alloc_size_t cb_base; in png_image_size()
251 optimize_cmf(png_bytep data, png_alloc_size_t data_size) in optimize_cmf()
294 png_alloc_size_t data_size) in png_deflate_claim()
473 png_alloc_size_t input_len; /* Its length */
480 png_alloc_size_t input_len) in png_text_compress_init()
517 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress()
928 png_alloc_size_t input_len, int flush) in png_compress_IDAT()
1745 (png_alloc_size_t)(nparams * (sizeof (png_size_t)))); in png_write_pCAL()
1880 png_alloc_size_t buf_size; in png_write_start_row()
Dpngpriv.h925 png_alloc_size_t size),PNG_ALLOCATED);
1046 png_const_bytep row_data, png_alloc_size_t row_data_length, int flush),
1247 png_bytep output, png_alloc_size_t avail_out),PNG_EMPTY);
1611 png_charp end, int format, png_alloc_size_t number),PNG_EMPTY);
1649 (png_warning_parameters p, int number, int format, png_alloc_size_t value),
Dpngwrite.c1053 png_alloc_size_t buf_size; in png_set_filter()
1508 png_alloc_size_t memory_bytes; /* not used for STDIO */
1509 png_alloc_size_t output_bytes; /* running total */
2157 const png_alloc_size_t ob = display->output_bytes;
2160 if (size <= ((png_alloc_size_t)-1) - ob)
2201 png_alloc_size_t * PNG_RESTRICT memory_bytes, int convert_to_8bit, in png_image_write_to_memory()
Dpng.c80 png_alloc_size_t num_bytes = size;
85 if (items >= (~(png_alloc_size_t)0)/size)
1772 is_ICC_signature_char(png_alloc_size_t it)
1779 is_ICC_signature(png_alloc_size_t it)
1789 png_const_charp name, png_alloc_size_t value, png_const_charp reason)
/external/libpng/contrib/tools/
Dpngcp.c406 png_alloc_size_t read_size;
423 # define MAX_SIZE ((png_alloc_size_t)(-1))
424 png_alloc_size_t write_size;
425 png_alloc_size_t best_size;
429 png_alloc_size_t size;
465 png_alloc_size_t best_size; /* Best so far for this option */
466 png_alloc_size_t lo_size;
467 png_alloc_size_t hi_size;
942 png_alloc_size_t best_size = dp->stack[sp].best_size; in next_opt()
975 png_alloc_size_t lo_size = dp->stack[sp].lo_size; in next_opt()
[all …]
/external/libpng/contrib/intel/
Dintel_sse.patch167 png_bytep output, png_alloc_size_t avail_out),PNG_EMPTY);
/external/pdfium/third_party/libpng16/contrib/intel/
Dintel_sse.patch163 png_bytep output, png_alloc_size_t avail_out),PNG_EMPTY);

12