Lines Matching refs:comprLen

37 void test_deflate       OF((Byte *compr, uLong comprLen));
38 void test_inflate OF((Byte *compr, uLong comprLen,
40 void test_large_deflate OF((Byte *compr, uLong comprLen,
42 void test_large_inflate OF((Byte *compr, uLong comprLen,
44 void test_flush OF((Byte *compr, uLong *comprLen));
45 void test_sync OF((Byte *compr, uLong comprLen,
47 void test_dict_deflate OF((Byte *compr, uLong comprLen));
48 void test_dict_inflate OF((Byte *compr, uLong comprLen,
80 void test_compress OF((Byte *compr, uLong comprLen,
88 void test_compress(compr, comprLen, uncompr, uncomprLen)
90 uLong comprLen, uncomprLen;
95 err = compress(compr, &comprLen, (const Bytef*)hello, len);
100 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
200 void test_deflate(compr, comprLen)
202 uLong comprLen;
218 while (c_stream.total_in != len && c_stream.total_out < comprLen) {
238 void test_inflate(compr, comprLen, uncompr, uncomprLen)
240 uLong comprLen, uncomprLen;
258 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
279 void test_large_deflate(compr, comprLen, uncompr, uncomprLen)
281 uLong comprLen, uncomprLen;
294 c_stream.avail_out = (uInt)comprLen;
311 c_stream.avail_in = (uInt)comprLen/2;
334 void test_large_inflate(compr, comprLen, uncompr, uncomprLen)
336 uLong comprLen, uncomprLen;
348 d_stream.avail_in = (uInt)comprLen;
364 if (d_stream.total_out != 2*uncomprLen + comprLen/2) {
375 void test_flush(compr, comprLen)
377 uLong *comprLen;
393 c_stream.avail_out = (uInt)*comprLen;
407 *comprLen = c_stream.total_out;
413 void test_sync(compr, comprLen, uncompr, uncomprLen)
415 uLong comprLen, uncomprLen;
438 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */
457 void test_dict_deflate(compr, comprLen)
459 uLong comprLen;
477 c_stream.avail_out = (uInt)comprLen;
494 void test_dict_inflate(compr, comprLen, uncompr, uncomprLen)
496 uLong comprLen, uncomprLen;
508 d_stream.avail_in = (uInt)comprLen;
550 uLong comprLen = 10000*sizeof(int); /* don't overflow on MSDOS */
551 uLong uncomprLen = comprLen;
565 compr = (Byte*)calloc((uInt)comprLen, 1);
578 test_compress(compr, comprLen, uncompr, uncomprLen);
584 test_deflate(compr, comprLen);
585 test_inflate(compr, comprLen, uncompr, uncomprLen);
587 test_large_deflate(compr, comprLen, uncompr, uncomprLen);
588 test_large_inflate(compr, comprLen, uncompr, uncomprLen);
590 test_flush(compr, &comprLen);
591 test_sync(compr, comprLen, uncompr, uncomprLen);
592 comprLen = uncomprLen;
594 test_dict_deflate(compr, comprLen);
595 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);