Lines Matching refs:sourceLen
22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument
26 uLong sourceLen;
55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
56 sourceLen -= stream.avail_in;
58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
68 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument
72 uLong sourceLen;
74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
81 uLong ZEXPORT compressBound (sourceLen) in compressBound() argument
82 uLong sourceLen; in compressBound()
84 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) +
85 (sourceLen >> 25) + 13;