Home
last modified time | relevance | path

Searched refs:profile_length (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/libpng/
H A Dpng.c1971 png_const_charp name, png_uint_32 profile_length) in icc_check_length()
1973 if (profile_length < 132) in icc_check_length()
1974 return png_icc_profile_error(png_ptr, colorspace, name, profile_length, in icc_check_length()
1982 png_const_charp name, png_uint_32 profile_length) in png_icc_check_length()
1984 if (!icc_check_length(png_ptr, colorspace, name, profile_length)) in png_icc_check_length()
1995 png_ptr->user_chunk_malloc_max < profile_length) in png_icc_check_length()
1996 return png_icc_profile_error(png_ptr, colorspace, name, profile_length, in png_icc_check_length()
1999 else if (PNG_USER_CHUNK_MALLOC_MAX < profile_length) in png_icc_check_length()
2000 return png_icc_profile_error(png_ptr, colorspace, name, profile_length, in png_icc_check_length()
2004 else if (PNG_SIZE_MAX < profile_length) in png_icc_check_length()
1970 icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) icc_check_length() argument
1981 png_icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) png_icc_check_length() argument
2014 png_icc_check_header(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile , int color_type) png_icc_check_header() argument
2197 png_icc_check_tag_table(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile ) png_icc_check_tag_table() argument
2442 png_colorspace_set_ICC(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type) png_colorspace_set_ICC() argument
[all...]
H A Dpngrutil.c1463 png_uint_32 profile_length = png_get_uint_32(profile_header); in png_handle_iCCP() local
1466 keyword, profile_length) != 0) in png_handle_iCCP()
1472 keyword, profile_length, profile_header, in png_handle_iCCP()
1483 profile_length, 2/*silent*/); in png_handle_iCCP()
1502 &png_ptr->colorspace, keyword, profile_length, in png_handle_iCCP()
1508 size = profile_length - (sizeof profile_header) in png_handle_iCCP()
1556 profile_length; in png_handle_iCCP()
H A Dpngpriv.h1705 png_uint_32 profile_length, png_const_bytep profile, int color_type),
1713 png_uint_32 profile_length), PNG_EMPTY);
1717 png_uint_32 profile_length,
1722 png_uint_32 profile_length,
/third_party/mbedtls/library/
H A Dssl_tls12_server.c550 size_t profile_length; in ssl_parse_use_srtp_ext() local
588 profile_length = (buf[0] << 8) | buf[1]; in ssl_parse_use_srtp_ext()
592 if (profile_length > len - size_of_lengths || in ssl_parse_use_srtp_ext()
593 profile_length % 2 != 0) { /* profiles are 2 bytes long, so the length must be even */ in ssl_parse_use_srtp_ext()
602 for (j = 0; j < profile_length; j += 2) { in ssl_parse_use_srtp_ext()
627 buf += profile_length; /* buf points to the mki length */ in ssl_parse_use_srtp_ext()
632 mki_length + profile_length + size_of_lengths != len) { in ssl_parse_use_srtp_ext()

Completed in 16 milliseconds