Lines Matching refs:source_len
353 mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len) in mz_deflateBound() argument
357 …return MZ_MAX(128 + (source_len * 110) / 100, 128 + source_len + ((source_len / (31 * 1024)) + 1) … in mz_deflateBound()
360 …ned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) in mz_compress2() argument
367 if ((source_len | *pDest_len) > 0xFFFFFFFFU) return MZ_PARAM_ERROR; in mz_compress2()
370 stream.avail_in = (mz_uint32)source_len; in mz_compress2()
388 …press(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) in mz_compress() argument
390 return mz_compress2(pDest, pDest_len, pSource, source_len, MZ_DEFAULT_COMPRESSION); in mz_compress()
393 mz_ulong mz_compressBound(mz_ulong source_len) in mz_compressBound() argument
395 return mz_deflateBound(NULL, source_len); in mz_compressBound()
545 …press(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) in mz_uncompress() argument
552 if ((source_len | *pDest_len) > 0xFFFFFFFFU) return MZ_PARAM_ERROR; in mz_uncompress()
555 stream.avail_in = (mz_uint32)source_len; in mz_uncompress()