Home
last modified time | relevance | path

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

/external/libpng/
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.h1589 png_uint_32 profile_length, png_const_bytep profile, int color_type),
1597 png_uint_32 profile_length), PNG_EMPTY);
1601 png_uint_32 profile_length,
1606 png_uint_32 profile_length,
Dpngrutil.c1444 const png_uint_32 profile_length = in png_handle_iCCP() local
1448 keyword, profile_length) != 0) in png_handle_iCCP()
1454 keyword, profile_length, profile_header, in png_handle_iCCP()
1465 profile_length, 2/*silent*/); in png_handle_iCCP()
1484 &png_ptr->colorspace, keyword, profile_length, in png_handle_iCCP()
1490 size = profile_length - (sizeof profile_header) in png_handle_iCCP()
1538 profile_length; in png_handle_iCCP()
/external/skia/third_party/libpng/
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,
1947 png_const_charp name, png_uint_32 profile_length,
1958 if (temp != profile_length)
1963 if (temp > 3 && (profile_length & 3))
1964 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1969 profile_length < 132+12*temp) /* truncated tag table */
2130 png_const_charp name, png_uint_32 profile_length,
2165 if (tag_start > profile_length || tag_length > profile_length - tag_start)
[all …]
Dpngpriv.h1539 png_uint_32 profile_length, png_const_bytep profile, int color_type),
1546 png_uint_32 profile_length), PNG_EMPTY);
1549 png_uint_32 profile_length,
1554 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/pdfium/third_party/libpng16/
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,
1947 png_const_charp name, png_uint_32 profile_length,
1958 if (temp != profile_length)
1963 if (temp > 3 && (profile_length & 3))
1964 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1969 profile_length < 132+12*temp) /* truncated tag table */
2130 png_const_charp name, png_uint_32 profile_length,
2165 if (tag_start > profile_length || tag_length > profile_length - tag_start)
[all …]
Dpngpriv.h1539 png_uint_32 profile_length, png_const_bytep profile, int color_type),
1546 png_uint_32 profile_length), PNG_EMPTY);
1549 png_uint_32 profile_length,
1554 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/syslinux/com32/lib/libpng/
Dpngrutil.c1050 png_uint_32 profile_size, profile_length; in png_handle_iCCP() local
1126 profile_length = data_length - prefix_length; in png_handle_iCCP()
1128 if ( prefix_length > data_length || profile_length < 4) in png_handle_iCCP()
1143 if (profile_size < profile_length) in png_handle_iCCP()
1144 profile_length = profile_size; in png_handle_iCCP()
1146 if (profile_size > profile_length) in png_handle_iCCP()
1155 compression_type, png_ptr->chunkdata + prefix_length, profile_length); in png_handle_iCCP()
/external/ImageMagick/MagickCore/
Didentify.c1248 profile_length; in IdentifyImage() local
1250 profile_length=GetStringInfoLength(profile); in IdentifyImage()
1251 for (i=0; i < (ssize_t) profile_length; i+=(ssize_t) length) in IdentifyImage()
/external/ImageMagick/coders/
Djson.c1379 profile_length; in EncodeImageAttributes() local
1381 profile_length=GetStringInfoLength(profile); in EncodeImageAttributes()
1382 for (i=0; i < (ssize_t) profile_length; i+=(ssize_t) length) in EncodeImageAttributes()
Djpeg.c726 profile_length; in ReadProfile() local
728 profile_length=GetStringInfoLength(profile); in ReadProfile()
733 profile_length); in ReadProfile()
Dpng.c2462 profile_length; in ReadOnePNGImage() local
2465 &profile_length); in ReadOnePNGImage()
2467 if (profile_length != 0) in ReadOnePNGImage()
2476 profile=BlobToStringInfo(info,profile_length); in ReadOnePNGImage()