Lines Matching refs:compr
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
106 Byte *compr, *uncompr; in test_compress()
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
218 Byte *compr; in test_deflate()
233 c_stream.next_out = compr;
255 void test_inflate(compr, comprLen, uncompr, uncomprLen) in test_inflate() argument
256 Byte *compr, *uncompr; in test_inflate()
268 d_stream.next_in = compr;
296 void test_large_deflate(compr, comprLen, uncompr, uncomprLen) in test_large_deflate() argument
297 Byte *compr, *uncompr; in test_large_deflate()
310 c_stream.next_out = compr;
327 c_stream.next_in = compr;
351 void test_large_inflate(compr, comprLen, uncompr, uncomprLen) in test_large_inflate() argument
352 Byte *compr, *uncompr; in test_large_inflate()
364 d_stream.next_in = compr;
392 void test_flush(compr, comprLen) in test_flush() argument
393 Byte *compr; in test_flush()
408 c_stream.next_out = compr;
414 compr[3]++; /* force an error in first compressed block */
430 void test_sync(compr, comprLen, uncompr, uncomprLen) in test_sync() argument
431 Byte *compr, *uncompr; in test_sync()
443 d_stream.next_in = compr;
474 void test_dict_deflate(compr, comprLen) in test_dict_deflate() argument
475 Byte *compr; in test_dict_deflate()
493 c_stream.next_out = compr;
511 void test_dict_inflate(compr, comprLen, uncompr, uncomprLen) in test_dict_inflate() argument
512 Byte *compr, *uncompr; in test_dict_inflate()
524 d_stream.next_in = compr;
566 Byte *compr, *uncompr; local
582 compr = (Byte*)calloc((uInt)comprLen, 1);
587 if (compr == Z_NULL || uncompr == Z_NULL) {
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);
611 test_dict_deflate(compr, comprLen);
612 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);
614 free(compr);