Lines Matching refs:compr
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
114 Byte *compr, *uncompr; in test_compress()
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
226 Byte *compr; in test_deflate()
241 c_stream.next_out = compr;
263 void test_inflate(compr, comprLen, uncompr, uncomprLen) in test_inflate() argument
264 Byte *compr, *uncompr; in test_inflate()
276 d_stream.next_in = compr;
304 void test_large_deflate(compr, comprLen, uncompr, uncomprLen) in test_large_deflate() argument
305 Byte *compr, *uncompr; in test_large_deflate()
318 c_stream.next_out = compr;
335 c_stream.next_in = compr;
359 void test_large_inflate(compr, comprLen, uncompr, uncomprLen) in test_large_inflate() argument
360 Byte *compr, *uncompr; in test_large_inflate()
372 d_stream.next_in = compr;
400 void test_flush(compr, comprLen) in test_flush() argument
401 Byte *compr; in test_flush()
416 c_stream.next_out = compr;
422 compr[3]++; /* force an error in first compressed block */
438 void test_sync(compr, comprLen, uncompr, uncomprLen) in test_sync() argument
439 Byte *compr, *uncompr; in test_sync()
451 d_stream.next_in = compr;
482 void test_dict_deflate(compr, comprLen) in test_dict_deflate() argument
483 Byte *compr; in test_dict_deflate()
501 c_stream.next_out = compr;
519 void test_dict_inflate(compr, comprLen, uncompr, uncomprLen) in test_dict_inflate() argument
520 Byte *compr, *uncompr; in test_dict_inflate()
532 d_stream.next_in = compr;
574 Byte *compr, *uncompr; local
591 compr = (Byte*)calloc((uInt)comprLen, 1);
596 if (compr == Z_NULL || uncompr == Z_NULL) {
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);
622 test_dict_deflate(compr, comprLen);
623 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);
625 free(compr);