Lines Matching refs:comprLen
59 void test_deflate OF((Byte *compr, uLong comprLen));
60 void test_inflate OF((Byte *compr, uLong comprLen,
62 void test_large_deflate OF((Byte *compr, uLong comprLen,
64 void test_large_inflate OF((Byte *compr, uLong comprLen,
66 void test_flush OF((Byte *compr, uLong *comprLen));
67 void test_sync OF((Byte *compr, uLong comprLen,
69 void test_dict_deflate OF((Byte *compr, uLong comprLen));
70 void test_dict_inflate OF((Byte *compr, uLong comprLen,
105 void test_compress OF((Byte *compr, uLong comprLen,
113 void test_compress(compr, comprLen, uncompr, uncomprLen) in test_compress() argument
115 uLong comprLen, uncomprLen;
120 err = compress(compr, &comprLen, (const Bytef*)hello, len);
125 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
225 void test_deflate(compr, comprLen) in test_deflate() argument
227 uLong comprLen;
243 while (c_stream.total_in != len && c_stream.total_out < comprLen) {
263 void test_inflate(compr, comprLen, uncompr, uncomprLen) in test_inflate() argument
265 uLong comprLen, uncomprLen;
283 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
304 void test_large_deflate(compr, comprLen, uncompr, uncomprLen) in test_large_deflate() argument
306 uLong comprLen, uncomprLen;
319 c_stream.avail_out = (uInt)comprLen;
336 c_stream.avail_in = (uInt)comprLen/2;
359 void test_large_inflate(compr, comprLen, uncompr, uncomprLen) in test_large_inflate() argument
361 uLong comprLen, uncomprLen;
373 d_stream.avail_in = (uInt)comprLen;
389 if (d_stream.total_out != 2*uncomprLen + comprLen/2) {
400 void test_flush(compr, comprLen) in test_flush() argument
402 uLong *comprLen;
418 c_stream.avail_out = (uInt)*comprLen;
432 *comprLen = c_stream.total_out;
438 void test_sync(compr, comprLen, uncompr, uncomprLen) in test_sync() argument
440 uLong comprLen, uncomprLen;
463 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */
482 void test_dict_deflate(compr, comprLen) in test_dict_deflate() argument
484 uLong comprLen;
502 c_stream.avail_out = (uInt)comprLen;
519 void test_dict_inflate(compr, comprLen, uncompr, uncomprLen) in test_dict_inflate() argument
521 uLong comprLen, uncomprLen;
533 d_stream.avail_in = (uInt)comprLen;
575 uLong comprLen = 10000*sizeof(int); /* don't overflow on MSDOS */ local
576 uLong uncomprLen = comprLen;
591 compr = (Byte*)calloc((uInt)comprLen, 1);
604 test_compress(compr, comprLen, uncompr, uncomprLen);
610 test_deflate(compr, comprLen);
611 test_inflate(compr, comprLen, uncompr, uncomprLen);
613 test_large_deflate(compr, comprLen, uncompr, uncomprLen);
614 test_large_inflate(compr, comprLen, uncompr, uncomprLen);
617 test_flush(compr, &comprLen);
618 test_sync(compr, comprLen, uncompr, uncomprLen);
620 comprLen = uncomprLen;
622 test_dict_deflate(compr, comprLen);
623 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);