Home
last modified time | relevance | path

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

/external/libpng/
Dpng.c1971 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)
[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.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()
/external/mbedtls/library/
Dssl_tls12_server.c564 size_t profile_length; in ssl_parse_use_srtp_ext() local
604 profile_length = ( buf[0] << 8 ) | buf[1]; in ssl_parse_use_srtp_ext()
608 if( profile_length > len - size_of_lengths || in ssl_parse_use_srtp_ext()
609 profile_length % 2 != 0 ) /* profiles are 2 bytes long, so the length must be even */ in ssl_parse_use_srtp_ext()
619 for( j = 0; j < profile_length; j += 2 ) in ssl_parse_use_srtp_ext()
649 buf += profile_length; /* buf points to the mki length */ in ssl_parse_use_srtp_ext()
654 mki_length + profile_length + size_of_lengths != len ) in ssl_parse_use_srtp_ext()
/external/ImageMagick/MagickCore/
Didentify.c1368 profile_length; in IdentifyImage() local
1370 profile_length=GetStringInfoLength(profile); in IdentifyImage()
1371 for (i=0; i < (ssize_t) profile_length-5; i+=(ssize_t) length) in IdentifyImage()
1440 length=MagickMin(length,profile_length-i); in IdentifyImage()
/external/openthread/third_party/mbedtls/repo/library/
Dssl_srv.c788 size_t profile_length; in ssl_parse_use_srtp_ext() local
828 profile_length = ( buf[0] << 8 ) | buf[1]; in ssl_parse_use_srtp_ext()
832 if( profile_length > len - size_of_lengths || in ssl_parse_use_srtp_ext()
833 profile_length % 2 != 0 ) /* profiles are 2 bytes long, so the length must be even */ in ssl_parse_use_srtp_ext()
843 for( j = 0; j < profile_length; j += 2 ) in ssl_parse_use_srtp_ext()
873 buf += profile_length; /* buf points to the mki length */ in ssl_parse_use_srtp_ext()
878 mki_length + profile_length + size_of_lengths != len ) in ssl_parse_use_srtp_ext()
/external/ImageMagick/coders/
Dyaml.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()
Djson.c765 profile_length; in EncodeIptcProfile() local
769 profile_length=GetStringInfoLength(profile); in EncodeIptcProfile()
770 for (i=0; i < (ssize_t) profile_length; i+=(ssize_t) length) in EncodeIptcProfile()
Ddng.c520 raw_info->color.profile_length); in ReadDNGImage()
Dpng.c2729 profile_length; in ReadOnePNGImage() local
2732 &profile_length); in ReadOnePNGImage()
2734 if (profile_length != 0) in ReadOnePNGImage()
2743 profile=BlobToStringInfo(info,(const size_t) profile_length); in ReadOnePNGImage()
2765 profile_length=(png_uint_32) GetStringInfoLength(profile); in ReadOnePNGImage()
2769 if (profile_length == sRGB_info[icheck].len) in ReadOnePNGImage()
2775 (unsigned long) profile_length); in ReadOnePNGImage()
2778 profile_crc=crc32(0,data,profile_length); in ReadOnePNGImage()
2805 (unsigned long) profile_length); in ReadOnePNGImage()