Lines Matching refs:profile_length
1971 png_const_charp name, png_uint_32 profile_length)
1973 if (profile_length < 132)
1974 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1982 png_const_charp name, png_uint_32 profile_length)
1984 if (!icc_check_length(png_ptr, colorspace, name, profile_length))
1995 png_ptr->user_chunk_malloc_max < profile_length)
1996 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
1999 else if (PNG_USER_CHUNK_MALLOC_MAX < profile_length)
2000 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
2004 else if (PNG_SIZE_MAX < profile_length)
2005 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
2015 png_const_charp name, png_uint_32 profile_length,
2026 if (temp != profile_length)
2031 if (temp > 3 && (profile_length & 3))
2032 return png_icc_profile_error(png_ptr, colorspace, name, profile_length,
2037 profile_length < 132+12*temp) /* truncated tag table */
2198 png_const_charp name, png_uint_32 profile_length,
2224 if (tag_start > profile_length || tag_length > profile_length - tag_start)
2443 png_const_charp name, png_uint_32 profile_length, png_const_bytep profile,
2449 if (icc_check_length(png_ptr, colorspace, name, profile_length) != 0 &&
2450 png_icc_check_header(png_ptr, colorspace, name, profile_length, profile,
2452 png_icc_check_tag_table(png_ptr, colorspace, name, profile_length,