Lines Matching defs:comprLen

62 static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr,
68 err = compress(compr, &comprLen, (const Bytef*)hello, len);
73 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
170 static void test_deflate(Byte *compr, uLong comprLen)
186 while (c_stream.total_in != len && c_stream.total_out < comprLen) {
209 static void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr,
228 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
252 static void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr,
266 c_stream.avail_out = (uInt)comprLen;
306 static void test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr,
319 d_stream.avail_in = (uInt)comprLen;
349 static void test_flush(Byte *compr, uLong *comprLen)
365 c_stream.avail_out = (uInt)*comprLen;
379 *comprLen = c_stream.total_out;
385 static void test_sync(Byte *compr, uLong comprLen, Byte *uncompr,
409 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */
427 static void test_dict_deflate(Byte *compr, uLong comprLen)
445 c_stream.avail_out = (uInt)comprLen;
462 static void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr,
475 d_stream.avail_in = (uInt)comprLen;
519 uLong comprLen = 3 * uncomprLen;
534 compr = (Byte*)calloc((uInt)comprLen, 1);
548 test_compress(compr, comprLen, uncompr, uncomprLen);
554 test_deflate(compr, comprLen);
555 test_inflate(compr, comprLen, uncompr, uncomprLen);
557 test_large_deflate(compr, comprLen, uncompr, uncomprLen);
558 test_large_inflate(compr, comprLen, uncompr, uncomprLen);
560 test_flush(compr, &comprLen);
561 test_sync(compr, comprLen, uncompr, uncomprLen);
562 comprLen = THREE * uncomprLen;
564 test_dict_deflate(compr, comprLen);
565 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);