Home
last modified time | relevance | path

Searched refs:PNG_SIZE_MAX (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/third_party/libpng16/
Dpngmem.c86 if (size > 0 && size <= PNG_SIZE_MAX
117 if (req <= PNG_SIZE_MAX/element_size) in png_malloc_array_checked()
Dpngrutil.c622 png_alloc_size_t limit = PNG_SIZE_MAX; in png_decompress_chunk()
1738 max_dl = PNG_SIZE_MAX / (sizeof (png_sPLT_entry)); in png_handle_sPLT()
2666 png_alloc_size_t uncompressed_length = PNG_SIZE_MAX; in png_handle_zTXt()
2811 uncompressed_length = PNG_SIZE_MAX; in png_handle_iTXt()
2865 png_alloc_size_t limit = PNG_SIZE_MAX; in png_cache_unknown_chunk()
4645 if (png_ptr->rowbytes > (PNG_SIZE_MAX - 1)) in png_read_start_row()
Dpngpread.c488 if (png_ptr->save_buffer_size > PNG_SIZE_MAX - in png_push_save_buffer()
Dpngwutil.c2568 mins = PNG_SIZE_MAX - 256/* so we can detect potential overflow of the in png_write_find_filter()
2601 if (PNG_SIZE_MAX/128 <= row_bytes) in png_write_find_filter()
Dpng.c2004 else if (PNG_SIZE_MAX < profile_length)
2569 ((PNG_SIZE_MAX
Dpng.h651 #define PNG_SIZE_MAX ((size_t)(-1)) macro
/external/libpng/
Dpngmem.c83 if (size > 0 && size <= PNG_SIZE_MAX
114 if (req <= PNG_SIZE_MAX/element_size) in png_malloc_array_checked()
Dpngrutil.c622 png_alloc_size_t limit = PNG_SIZE_MAX; in png_decompress_chunk()
1738 max_dl = PNG_SIZE_MAX / (sizeof (png_sPLT_entry)); in png_handle_sPLT()
2666 png_alloc_size_t uncompressed_length = PNG_SIZE_MAX; in png_handle_zTXt()
2811 uncompressed_length = PNG_SIZE_MAX; in png_handle_iTXt()
2865 png_alloc_size_t limit = PNG_SIZE_MAX; in png_cache_unknown_chunk()
4645 if (png_ptr->rowbytes > (PNG_SIZE_MAX - 1)) in png_read_start_row()
Dexample.c962 if (height > PNG_SIZE_MAX / (width * bytes_per_pixel))
Dpngpread.c488 if (png_ptr->save_buffer_size > PNG_SIZE_MAX - in png_push_save_buffer()
Dpngwutil.c2568 mins = PNG_SIZE_MAX - 256/* so we can detect potential overflow of the in png_write_find_filter()
2601 if (PNG_SIZE_MAX/128 <= row_bytes) in png_write_find_filter()
Dpng.c2004 else if (PNG_SIZE_MAX < profile_length)
2568 ((PNG_SIZE_MAX
Dpng.h651 #define PNG_SIZE_MAX ((size_t)(-1)) macro
Dlibpng-manual.txt1208 if (height > PNG_SIZE_MAX/(width*pixel_size)) {
2189 if (number_of_rows > PNG_SIZE_MAX/(width*pixel_size)) {
DCHANGES1438 Added PNG_SIZE_MAX (maximum value of a png_size_t variable.
5610 list. The fix to the first problem is simply to provide PNG_SIZE_MAX as
/external/ImageMagick/coders/
Dpng.c2472 png_set_chunk_malloc_max(ping,(png_alloc_size_t) MagickMin(PNG_SIZE_MAX, in ReadOnePNGImage()