Lines Matching refs:sourceLen
13 parameter has the same meaning as in deflateInit. sourceLen is the byte
15 destination buffer, which must be at least 0.1% larger than sourceLen plus
22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
26 uLong sourceLen;
33 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
62 int ZEXPORT compress (dest, destLen, source, sourceLen)
66 uLong sourceLen;
68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
75 uLong ZEXPORT compressBound (sourceLen)
76 uLong sourceLen;
78 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + 11;