Lines Matching refs:source_len
1126 mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len);
1132 const unsigned char *pSource, mz_ulong source_len);
1134 const unsigned char *pSource, mz_ulong source_len, int level);
1138 mz_ulong mz_compressBound(mz_ulong source_len);
1185 const unsigned char *pSource, mz_ulong source_len);
2148 mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len) {
2152 return MZ_MAX(128 + (source_len * 110) / 100,
2153 128 + source_len + ((source_len / (31 * 1024)) + 1) * 5);
2157 const unsigned char *pSource, mz_ulong source_len, int level) {
2163 if ((source_len | *pDest_len) > 0xFFFFFFFFU) return MZ_PARAM_ERROR;
2166 stream.avail_in = (mz_uint32)source_len;
2184 const unsigned char *pSource, mz_ulong source_len) {
2185 return mz_compress2(pDest, pDest_len, pSource, source_len,
2189 mz_ulong mz_compressBound(mz_ulong source_len) {
2190 return mz_deflateBound(NULL, source_len);
2365 const unsigned char *pSource, mz_ulong source_len) {
2371 if ((source_len | *pDest_len) > 0xFFFFFFFFU) return MZ_PARAM_ERROR;
2374 stream.avail_in = (mz_uint32)source_len;