Lines Matching refs:comprLen

60 static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr,  in test_compress()  argument
65 err = compress(compr, &comprLen, (const Bytef*)hello, len); in test_compress()
70 err = uncompress(uncompr, &uncomprLen, compr, comprLen); in test_compress()
166 static void test_deflate(Byte *compr, uLong comprLen) { in test_deflate() argument
181 while (c_stream.total_in != len && c_stream.total_out < comprLen) { in test_deflate()
201 static void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_inflate() argument
219 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) { in test_inflate()
240 static void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_large_deflate() argument
253 c_stream.avail_out = (uInt)comprLen; in test_large_deflate()
293 static void test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_large_inflate() argument
305 d_stream.avail_in = (uInt)comprLen; in test_large_inflate()
332 static void test_flush(Byte *compr, uLong *comprLen) { in test_flush() argument
347 c_stream.avail_out = (uInt)*comprLen; in test_flush()
361 *comprLen = c_stream.total_out; in test_flush()
367 static void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, in test_sync() argument
390 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */ in test_sync()
408 static void test_dict_deflate(Byte *compr, uLong comprLen) { in test_dict_deflate() argument
425 c_stream.avail_out = (uInt)comprLen; in test_dict_deflate()
442 static void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_dict_inflate() argument
454 d_stream.avail_in = (uInt)comprLen; in test_dict_inflate()
494 uLong comprLen = 3 * uncomprLen; in main() local
509 compr = (Byte*)calloc((uInt)comprLen, 1); in main()
523 test_compress(compr, comprLen, uncompr, uncomprLen); in main()
529 test_deflate(compr, comprLen); in main()
530 test_inflate(compr, comprLen, uncompr, uncomprLen); in main()
532 test_large_deflate(compr, comprLen, uncompr, uncomprLen); in main()
533 test_large_inflate(compr, comprLen, uncompr, uncomprLen); in main()
535 test_flush(compr, &comprLen); in main()
536 test_sync(compr, comprLen, uncompr, uncomprLen); in main()
537 comprLen = 3 * uncomprLen; in main()
539 test_dict_deflate(compr, comprLen); in main()
540 test_dict_inflate(compr, comprLen, uncompr, uncomprLen); in main()