Lines Matching refs:profile_length
1936 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)
2376 png_const_charp name, png_uint_32 profile_length, png_const_bytep profile,
2382 if (png_icc_check_length(png_ptr, colorspace, name, profile_length) != 0 &&
2383 png_icc_check_header(png_ptr, colorspace, name, profile_length, profile,
2385 png_icc_check_tag_table(png_ptr, colorspace, name, profile_length,