Home
last modified time | relevance | path

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

/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dcompress.c26 uLong sourceLen, in compress2() argument
55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen; in compress2()
56 sourceLen -= stream.avail_in; in compress2()
58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in compress2()
72 uLong sourceLen) in compress() argument
74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
82 uLong sourceLen) in compressBound() argument
84 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in compressBound()
85 (sourceLen >> 25) + 13; in compressBound()
H A Duncompr.c31 uLong *sourceLen) in uncompress2() argument
39 len = *sourceLen; in uncompress2()
73 *sourceLen -= len + stream.avail_in; in uncompress2()
90 uLong sourceLen) in uncompress() argument
92 return uncompress2(dest, destLen, source, &sourceLen); in uncompress()
H A Dzlib.h761 uLong sourceLen));
1230 const Bytef *source, uLong sourceLen));
1245 const Bytef *source, uLong sourceLen,
1260 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1268 const Bytef *source, uLong sourceLen));
1286 const Bytef *source, uLong *sourceLen));
H A Ddeflate.c697 uLong sourceLen) in deflateBound() argument
705 fixedlen = sourceLen + (sourceLen >> 3) + (sourceLen >> 8) + in deflateBound()
706 (sourceLen >> 9) + 4; in deflateBound()
710 storelen = sourceLen + (sourceLen >> 5) + (sourceLen >> 7) + in deflateBound()
711 (sourceLen >> 11) + 7; in deflateBound()
758 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in deflateBound()
759 (sourceLen >> 25) + 13 - 6 + wraplen; in deflateBound()
/openbsd/lib/libz/
H A Dcompress.c21 uLong sourceLen, int level) { in compress2() argument
48 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen; in compress2()
49 sourceLen -= stream.avail_in; in compress2()
51 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in compress2()
62 uLong sourceLen) { in compress() argument
63 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
70 uLong ZEXPORT compressBound(uLong sourceLen) { in compressBound() argument
71 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in compressBound()
72 (sourceLen >> 25) + 13; in compressBound()
H A Duncompr.c26 uLong *sourceLen) { in uncompress2() argument
33 len = *sourceLen; in uncompress2()
67 *sourceLen -= len + stream.avail_in; in uncompress2()
81 uLong sourceLen) { in uncompress() argument
82 return uncompress2(dest, destLen, source, &sourceLen); in uncompress()
H A Dzlib.h765 uLong sourceLen);
1236 const Bytef *source, uLong sourceLen);
1251 const Bytef *source, uLong sourceLen,
1266 ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
1274 const Bytef *source, uLong sourceLen);
1292 const Bytef *source, uLong *sourceLen);
H A Ddeflate.c830 uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen) { in deflateBound() argument
837 fixedlen = sourceLen + (sourceLen >> 3) + (sourceLen >> 8) + in deflateBound()
838 (sourceLen >> 9) + 4; in deflateBound()
842 storelen = sourceLen + (sourceLen >> 5) + (sourceLen >> 7) + in deflateBound()
843 (sourceLen >> 11) + 7; in deflateBound()
891 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in deflateBound()
892 (sourceLen >> 25) + 13 - 6 + wraplen; in deflateBound()
/openbsd/sys/lib/libz/
H A Dcompress.c21 uLong sourceLen, int level) { in compress2() argument
48 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen; in compress2()
49 sourceLen -= stream.avail_in; in compress2()
51 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in compress2()
62 uLong sourceLen) { in compress() argument
63 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
70 uLong ZEXPORT compressBound(uLong sourceLen) { in compressBound() argument
71 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in compressBound()
72 (sourceLen >> 25) + 13; in compressBound()
H A Dzlib.h765 uLong sourceLen);
1236 const Bytef *source, uLong sourceLen);
1251 const Bytef *source, uLong sourceLen,
1266 ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
1274 const Bytef *source, uLong sourceLen);
1292 const Bytef *source, uLong *sourceLen);
H A Ddeflate.c830 uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen) { in deflateBound() argument
837 fixedlen = sourceLen + (sourceLen >> 3) + (sourceLen >> 8) + in deflateBound()
838 (sourceLen >> 9) + 4; in deflateBound()
842 storelen = sourceLen + (sourceLen >> 5) + (sourceLen >> 7) + in deflateBound()
843 (sourceLen >> 11) + 7; in deflateBound()
891 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in deflateBound()
892 (sourceLen >> 25) + 13 - 6 + wraplen; in deflateBound()
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Bzip2/bzip2-src/
H A Dbzlib.h208 unsigned int sourceLen,
218 unsigned int sourceLen,
H A Dbzlib.c1258 unsigned int sourceLen, in BZ_API()
1283 strm.avail_in = sourceLen; in BZ_API()
1310 unsigned int sourceLen, in BZ_API()
1331 strm.avail_in = sourceLen; in BZ_API()