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) { in mz_deflateBound() argument
2152 return MZ_MAX(128 + (source_len * 110) / 100, in mz_deflateBound()
2153 128 + source_len + ((source_len / (31 * 1024)) + 1) * 5); in mz_deflateBound()
2157 const unsigned char *pSource, mz_ulong source_len, int level) { in mz_compress2() argument
2163 if ((source_len | *pDest_len) > 0xFFFFFFFFU) return MZ_PARAM_ERROR; in mz_compress2()
2166 stream.avail_in = (mz_uint32)source_len; in mz_compress2()
2184 const unsigned char *pSource, mz_ulong source_len) { in mz_compress() argument
2185 return mz_compress2(pDest, pDest_len, pSource, source_len, in mz_compress()
2189 mz_ulong mz_compressBound(mz_ulong source_len) { in mz_compressBound() argument
2190 return mz_deflateBound(NULL, source_len); in mz_compressBound()
2365 const unsigned char *pSource, mz_ulong source_len) { in mz_uncompress() argument
2371 if ((source_len | *pDest_len) > 0xFFFFFFFFU) return MZ_PARAM_ERROR; in mz_uncompress()
2374 stream.avail_in = (mz_uint32)source_len; in mz_uncompress()