Home
last modified time | relevance | path

Searched refs:sourceLen (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/zlib/
H A Dcompress.c23 uLong sourceLen, int level) { in compress2() argument
50 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen; in compress2()
51 sourceLen -= stream.avail_in; in compress2()
53 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in compress2()
64 uLong sourceLen) { in compress() argument
65 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
72 uLong ZEXPORT compressBound(uLong sourceLen) { in compressBound() argument
73 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in compressBound()
74 (sourceLen >> 25) + 13; in compressBound()
H A Duncompr.c28 uLong *sourceLen) { in uncompress2() argument
35 len = *sourceLen; in uncompress2()
69 *sourceLen -= len + stream.avail_in; in uncompress2()
83 uLong sourceLen) { in uncompress() argument
84 return uncompress2(dest, destLen, source, &sourceLen); in uncompress()
H A Dzlib.h762 uLong sourceLen);
1233 const Bytef *source, uLong sourceLen);
1248 const Bytef *source, uLong sourceLen,
1263 ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
1271 const Bytef *source, uLong sourceLen);
1289 const Bytef *source, uLong *sourceLen);
H A Ddeflate.c834 uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen) { in deflateBound() argument
841 fixedlen = sourceLen + (sourceLen >> 3) + (sourceLen >> 8) + in deflateBound()
842 (sourceLen >> 9) + 4; in deflateBound()
846 storelen = sourceLen + (sourceLen >> 5) + (sourceLen >> 7) + in deflateBound()
847 (sourceLen >> 11) + 7; in deflateBound()
895 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in deflateBound()
896 (sourceLen >> 25) + 13 - 6 + wraplen; in deflateBound()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zlib.c97 size_t sourceLen, int level) in z_compress_level() argument
103 stream.avail_in = (uInt)sourceLen; in z_compress_level()
151 z_uncompress(void *dest, size_t *destLen, const void *source, size_t sourceLen) in z_uncompress() argument
157 stream.avail_in = (uInt)sourceLen; in z_uncompress()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c132 size_t sourceLen, int level) in z_compress_level() argument
138 stream.avail_in = (uInt)sourceLen; in z_compress_level()
186 z_uncompress(void *dest, size_t *destLen, const void *source, size_t sourceLen) in z_uncompress() argument
192 stream.avail_in = (uInt)sourceLen; in z_uncompress()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dzmod.h63 size_t sourceLen, int level);
65 size_t sourceLen);
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c487 uLong sourceLen)) in z_deflateBound() argument
490 return deflateBound(strm, sourceLen); in z_deflateBound()
492 return ZSTD_compressBound(sourceLen); in z_deflateBound()
1100 const Bytef *source, uLong sourceLen)) in z_compress() argument
1103 return compress(dest, destLen, source, sourceLen); in z_compress()
1107 source, sourceLen, in z_compress()
1110 (int)sourceLen, (int)dstCapacity); in z_compress()
1119 const Bytef *source, uLong sourceLen, in z_compress2() argument
1123 return compress2(dest, destLen, source, sourceLen, level); in z_compress2()
1126 size_t const cSize = ZSTD_compress(dest, dstCapacity, source, sourceLen, level); in z_compress2()
[all …]
/freebsd/contrib/bzip2/
H A Dbzlib.h208 unsigned int sourceLen,
218 unsigned int sourceLen,
H A Dbzlib.c1256 unsigned int sourceLen, in BZ_API()
1281 strm.avail_in = sourceLen; in BZ_API()
1308 unsigned int sourceLen, in BZ_API()
1329 strm.avail_in = sourceLen; in BZ_API()
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c77 const Bytef *source, uLong sourceLen);
79 const Bytef *source, uLong sourceLen);