Home
last modified time | relevance | path

Searched refs:profile_length (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/third_party/libpng16/
D0004-invalid-icc.patch13 png_const_charp name, png_uint_32 profile_length)
15 if (profile_length < 132)
23 + png_const_charp name, png_uint_32 profile_length)
25 + if (!icc_check_length(png_ptr, colorspace, name, profile_length))
36 + png_ptr->user_chunk_malloc_max < profile_length)
37 + return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
40 + else if (PNG_USER_CHUNK_MALLOC_MAX < profile_length)
41 + return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
45 + else if (PNG_SIZE_MAX < profile_length)
46 + return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
[all …]
Dpng.c1936 png_const_charp name, png_uint_32 profile_length)
1938 if (profile_length < 132)
1939 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1948 png_const_charp name, png_uint_32 profile_length)
1950 if (!icc_check_length(png_ptr, colorspace, name, profile_length))
1961 png_ptr->user_chunk_malloc_max < profile_length)
1962 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1965 else if (PNG_USER_CHUNK_MALLOC_MAX < profile_length)
1966 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1970 else if (PNG_SIZE_MAX < profile_length)
[all …]
Dpngpriv.h1539 png_uint_32 profile_length, png_const_bytep profile, int color_type),
1547 png_uint_32 profile_length), PNG_EMPTY);
1551 png_uint_32 profile_length,
1556 png_uint_32 profile_length,
Dpngrutil.c1442 const png_uint_32 profile_length = in png_handle_iCCP() local
1446 keyword, profile_length) != 0) in png_handle_iCCP()
1452 keyword, profile_length, profile_header, in png_handle_iCCP()
1463 profile_length, 2/*silent*/); in png_handle_iCCP()
1482 &png_ptr->colorspace, keyword, profile_length, in png_handle_iCCP()
1488 size = profile_length - (sizeof profile_header) in png_handle_iCCP()
1536 profile_length; in png_handle_iCCP()
/external/libpng/
Dpng.c1977 png_const_charp name, png_uint_32 profile_length)
1979 if (profile_length < 132)
1980 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1988 png_const_charp name, png_uint_32 profile_length)
1990 if (!icc_check_length(png_ptr, colorspace, name, profile_length))
2001 png_ptr->user_chunk_malloc_max < profile_length)
2002 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
2005 else if (PNG_USER_CHUNK_MALLOC_MAX < profile_length)
2006 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
2010 else if (PNG_SIZE_MAX < profile_length)
[all …]
Dpngpriv.h1664 png_uint_32 profile_length, png_const_bytep profile, int color_type),
1672 png_uint_32 profile_length), PNG_EMPTY);
1676 png_uint_32 profile_length,
1681 png_uint_32 profile_length,
Dpngrutil.c1464 const png_uint_32 profile_length = in png_handle_iCCP() local
1468 keyword, profile_length) != 0) in png_handle_iCCP()
1474 keyword, profile_length, profile_header, in png_handle_iCCP()
1485 profile_length, 2/*silent*/); in png_handle_iCCP()
1504 &png_ptr->colorspace, keyword, profile_length, in png_handle_iCCP()
1510 size = profile_length - (sizeof profile_header) in png_handle_iCCP()
1558 profile_length; in png_handle_iCCP()
/external/ImageMagick/MagickCore/
Didentify.c1337 profile_length; in IdentifyImage() local
1339 profile_length=GetStringInfoLength(profile); in IdentifyImage()
1340 for (i=0; i < (ssize_t) profile_length-5; i+=(ssize_t) length) in IdentifyImage()
1409 length=MagickMin(length,profile_length-i); in IdentifyImage()
/external/ImageMagick/coders/
Djson.c763 profile_length; in EncodeIptcProfile() local
767 profile_length=GetStringInfoLength(profile); in EncodeIptcProfile()
768 for (i=0; i < (ssize_t) profile_length; i+=(ssize_t) length) in EncodeIptcProfile()
Ddng.c504 raw_info->color.profile_length); in ReadDNGImage()
Djpeg.c797 profile_length; in ReadProfile() local
799 profile_length=GetStringInfoLength(profile); in ReadProfile()
804 profile_length); in ReadProfile()
Dpng.c2722 profile_length; in ReadOnePNGImage() local
2725 &profile_length); in ReadOnePNGImage()
2727 if (profile_length != 0) in ReadOnePNGImage()
2736 profile=BlobToStringInfo(info,(const size_t) profile_length); in ReadOnePNGImage()
2758 profile_length=(png_uint_32) GetStringInfoLength(profile); in ReadOnePNGImage()
2762 if (profile_length == sRGB_info[icheck].len) in ReadOnePNGImage()
2768 (unsigned long) profile_length); in ReadOnePNGImage()
2771 profile_crc=crc32(0,data,profile_length); in ReadOnePNGImage()
2798 (unsigned long) profile_length); in ReadOnePNGImage()