Home
last modified time | relevance | path

Searched refs:PNG_UINT_31_MAX (Results 1 – 19 of 19) sorted by relevance

/external/libpng/
Dpngwutil.c182 if (length > PNG_UINT_31_MAX) in png_write_complete_chunk()
545 if (output_len + prefix_len > PNG_UINT_31_MAX) in png_text_compress()
602 if (output_len + prefix_len >= PNG_UINT_31_MAX) in png_text_compress()
1549 if (text_len > PNG_UINT_31_MAX - (key_len+1)) in png_write_tEXt()
1676 if (lang_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt()
1677 prefix_len = PNG_UINT_31_MAX; in png_write_iTXt()
1681 if (lang_key_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt()
1682 prefix_len = PNG_UINT_31_MAX; in png_write_iTXt()
1696 if (comp.input_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt()
Dpngget.c212 info_ptr->x_pixels_per_unit <= PNG_UINT_31_MAX && in png_get_pixel_aspect_ratio_fixed()
213 info_ptr->y_pixels_per_unit <= PNG_UINT_31_MAX) in png_get_pixel_aspect_ratio_fixed()
339 if (ppm <= PNG_UINT_31_MAX && png_muldiv(&result, (png_int_32)ppm, 127, in ppi_from_ppm()
Dpngrutil.c26 if (uval > PNG_UINT_31_MAX) in png_get_uint_31()
45 if (uval <= PNG_UINT_31_MAX) in png_get_fixed_point()
3155 png_alloc_size_t limit = PNG_UINT_31_MAX; in png_check_chunk_length()
3167 png_alloc_size_t idat_limit = PNG_UINT_31_MAX; in png_check_chunk_length()
3175 idat_limit = PNG_UINT_31_MAX; in png_check_chunk_length()
3180 idat_limit=idat_limit < PNG_UINT_31_MAX? idat_limit : PNG_UINT_31_MAX; in png_check_chunk_length()
Dpngtest.c176 if (png_ptr == NULL || row_number > PNG_UINT_31_MAX) in read_row_callback()
201 if (png_ptr == NULL || row_number > PNG_UINT_31_MAX || pass > 7) in write_row_callback()
Dpng.c2561 if (width > PNG_UINT_31_MAX)
2605 if (height > PNG_UINT_31_MAX)
Dpngset.c1571 if (size == 0 || size > PNG_UINT_31_MAX) in png_set_compression_buffer_size()
Dpng.h649 #define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL) macro
Dlibpng-manual.txt4689 PNG_MAX_UINT was replaced with PNG_UINT_31_MAX. It has been
DCHANGES1445 Renamed PNG_MAX_UINT to PNG_UINT_31_MAX.
/external/pdfium/third_party/libpng16/
Dpngwutil.c182 if (length > PNG_UINT_31_MAX) in png_write_complete_chunk()
545 if (output_len + prefix_len > PNG_UINT_31_MAX) in png_text_compress()
602 if (output_len + prefix_len >= PNG_UINT_31_MAX) in png_text_compress()
1549 if (text_len > PNG_UINT_31_MAX - (key_len+1)) in png_write_tEXt()
1676 if (lang_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt()
1677 prefix_len = PNG_UINT_31_MAX; in png_write_iTXt()
1681 if (lang_key_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt()
1682 prefix_len = PNG_UINT_31_MAX; in png_write_iTXt()
1696 if (comp.input_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt()
Dpngget.c212 info_ptr->x_pixels_per_unit <= PNG_UINT_31_MAX && in png_get_pixel_aspect_ratio_fixed()
213 info_ptr->y_pixels_per_unit <= PNG_UINT_31_MAX) in png_get_pixel_aspect_ratio_fixed()
339 if (ppm <= PNG_UINT_31_MAX && png_muldiv(&result, (png_int_32)ppm, 127, in ppi_from_ppm()
Dpngrutil.c26 if (uval > PNG_UINT_31_MAX) in png_get_uint_31()
45 if (uval <= PNG_UINT_31_MAX) in png_get_fixed_point()
3155 png_alloc_size_t limit = PNG_UINT_31_MAX; in png_check_chunk_length()
3167 png_alloc_size_t idat_limit = PNG_UINT_31_MAX; in png_check_chunk_length()
3175 idat_limit = PNG_UINT_31_MAX; in png_check_chunk_length()
3180 idat_limit=idat_limit < PNG_UINT_31_MAX? idat_limit : PNG_UINT_31_MAX; in png_check_chunk_length()
Dpng.c2562 if (width > PNG_UINT_31_MAX)
2606 if (height > PNG_UINT_31_MAX)
Dpngset.c1571 if (size == 0 || size > PNG_UINT_31_MAX) in png_set_compression_buffer_size()
Dpng.h649 #define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL) macro
/external/libpng/contrib/libtests/
Dtimepng.c412 nfiles &= PNG_UINT_31_MAX; in main()
Dtarith.c682 ok = fpround <= PNG_UINT_31_MAX && in validation_muldiv()
683 fpround >= -1-(long long int)PNG_UINT_31_MAX; in validation_muldiv()
Dpngvalid.c11505 if (v == PNG_UINT_31_MAX) in perform_interlace_macro_validation()
11509 if (v >= PNG_UINT_31_MAX) in perform_interlace_macro_validation()
11510 v = PNG_UINT_31_MAX-1; in perform_interlace_macro_validation()
/external/ImageMagick/coders/
Dpng.c524 #ifndef PNG_UINT_31_MAX
525 #define PNG_UINT_31_MAX (png_uint_32) 0x7fffffffL macro
1594 mng_info->object_clip[i].right=(ssize_t) PNG_UINT_31_MAX; in MngInfoDiscardObject()
1596 mng_info->object_clip[i].bottom=(ssize_t) PNG_UINT_31_MAX; in MngInfoDiscardObject()
2456 png_set_user_limits(ping,(png_uint_32) MagickMin(PNG_UINT_31_MAX, in ReadOnePNGImage()
2458 MagickMin(PNG_UINT_31_MAX,GetMagickResourceLimit(HeightResource))); in ReadOnePNGImage()
4558 if (length > PNG_UINT_31_MAX || count == 0) in ReadOneJNGImage()
5432 mng_info->object_clip[i].right=(ssize_t) PNG_UINT_31_MAX; in ReadOneMNGImage()
5433 mng_info->object_clip[i].bottom=(ssize_t) PNG_UINT_31_MAX; in ReadOneMNGImage()
5484 if ((length > PNG_UINT_31_MAX) || (length > GetBlobSize(image)) || in ReadOneMNGImage()
[all …]