Lines Matching refs:comprLen
54 void test_deflate OF((Byte *compr, uLong comprLen));
55 void test_inflate OF((Byte *compr, uLong comprLen,
57 void test_large_deflate OF((Byte *compr, uLong comprLen,
59 void test_large_inflate OF((Byte *compr, uLong comprLen,
61 void test_flush OF((Byte *compr, uLong *comprLen));
62 void test_sync OF((Byte *compr, uLong comprLen,
64 void test_dict_deflate OF((Byte *compr, uLong comprLen));
65 void test_dict_inflate OF((Byte *compr, uLong comprLen,
97 void test_compress OF((Byte *compr, uLong comprLen,
105 void test_compress(compr, comprLen, uncompr, uncomprLen) in test_compress() argument
107 uLong comprLen, uncomprLen;
112 err = compress(compr, &comprLen, (const Bytef*)hello, len);
117 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
217 void test_deflate(compr, comprLen) in test_deflate() argument
219 uLong comprLen;
235 while (c_stream.total_in != len && c_stream.total_out < comprLen) {
255 void test_inflate(compr, comprLen, uncompr, uncomprLen) in test_inflate() argument
257 uLong comprLen, uncomprLen;
275 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
296 void test_large_deflate(compr, comprLen, uncompr, uncomprLen) in test_large_deflate() argument
298 uLong comprLen, uncomprLen;
311 c_stream.avail_out = (uInt)comprLen;
328 c_stream.avail_in = (uInt)comprLen/2;
351 void test_large_inflate(compr, comprLen, uncompr, uncomprLen) in test_large_inflate() argument
353 uLong comprLen, uncomprLen;
365 d_stream.avail_in = (uInt)comprLen;
381 if (d_stream.total_out != 2*uncomprLen + comprLen/2) {
392 void test_flush(compr, comprLen) in test_flush() argument
394 uLong *comprLen;
410 c_stream.avail_out = (uInt)*comprLen;
424 *comprLen = c_stream.total_out;
430 void test_sync(compr, comprLen, uncompr, uncomprLen) in test_sync() argument
432 uLong comprLen, uncomprLen;
455 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */
474 void test_dict_deflate(compr, comprLen) in test_dict_deflate() argument
476 uLong comprLen;
494 c_stream.avail_out = (uInt)comprLen;
511 void test_dict_inflate(compr, comprLen, uncompr, uncomprLen) in test_dict_inflate() argument
513 uLong comprLen, uncomprLen;
525 d_stream.avail_in = (uInt)comprLen;
567 uLong comprLen = 10000*sizeof(int); /* don't overflow on MSDOS */ local
568 uLong uncomprLen = comprLen;
582 compr = (Byte*)calloc((uInt)comprLen, 1);
595 test_compress(compr, comprLen, uncompr, uncomprLen);
601 test_deflate(compr, comprLen);
602 test_inflate(compr, comprLen, uncompr, uncomprLen);
604 test_large_deflate(compr, comprLen, uncompr, uncomprLen);
605 test_large_inflate(compr, comprLen, uncompr, uncomprLen);
607 test_flush(compr, &comprLen);
608 test_sync(compr, comprLen, uncompr, uncomprLen);
609 comprLen = uncomprLen;
611 test_dict_deflate(compr, comprLen);
612 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);