Lines Matching refs:compr
37 void test_deflate OF((Byte *compr, uLong comprLen));
38 void test_inflate OF((Byte *compr, uLong comprLen,
40 void test_large_deflate OF((Byte *compr, uLong comprLen,
42 void test_large_inflate OF((Byte *compr, uLong comprLen,
44 void test_flush OF((Byte *compr, uLong *comprLen));
45 void test_sync OF((Byte *compr, uLong comprLen,
47 void test_dict_deflate OF((Byte *compr, uLong comprLen));
48 void test_dict_inflate OF((Byte *compr, uLong comprLen,
80 void test_compress OF((Byte *compr, uLong comprLen,
88 void test_compress(compr, comprLen, uncompr, uncomprLen) in test_compress() argument
89 Byte *compr, *uncompr; in test_compress()
95 err = compress(compr, &comprLen, (const Bytef*)hello, len);
100 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
200 void test_deflate(compr, comprLen) in test_deflate() argument
201 Byte *compr; in test_deflate()
216 c_stream.next_out = compr;
238 void test_inflate(compr, comprLen, uncompr, uncomprLen) in test_inflate() argument
239 Byte *compr, *uncompr; in test_inflate()
251 d_stream.next_in = compr;
279 void test_large_deflate(compr, comprLen, uncompr, uncomprLen) in test_large_deflate() argument
280 Byte *compr, *uncompr; in test_large_deflate()
293 c_stream.next_out = compr;
310 c_stream.next_in = compr;
334 void test_large_inflate(compr, comprLen, uncompr, uncomprLen) in test_large_inflate() argument
335 Byte *compr, *uncompr; in test_large_inflate()
347 d_stream.next_in = compr;
375 void test_flush(compr, comprLen) in test_flush() argument
376 Byte *compr; in test_flush()
391 c_stream.next_out = compr;
397 compr[3]++; /* force an error in first compressed block */
413 void test_sync(compr, comprLen, uncompr, uncomprLen) in test_sync() argument
414 Byte *compr, *uncompr; in test_sync()
426 d_stream.next_in = compr;
457 void test_dict_deflate(compr, comprLen) in test_dict_deflate() argument
458 Byte *compr; in test_dict_deflate()
476 c_stream.next_out = compr;
494 void test_dict_inflate(compr, comprLen, uncompr, uncomprLen) in test_dict_inflate() argument
495 Byte *compr, *uncompr; in test_dict_inflate()
507 d_stream.next_in = compr;
549 Byte *compr, *uncompr; local
565 compr = (Byte*)calloc((uInt)comprLen, 1);
570 if (compr == Z_NULL || uncompr == Z_NULL) {
579 test_compress(compr, comprLen, uncompr, uncomprLen);
585 test_deflate(compr, comprLen);
586 test_inflate(compr, comprLen, uncompr, uncomprLen);
588 test_large_deflate(compr, comprLen, uncompr, uncomprLen);
589 test_large_inflate(compr, comprLen, uncompr, uncomprLen);
591 test_flush(compr, &comprLen);
592 test_sync(compr, comprLen, uncompr, uncomprLen);
595 test_dict_deflate(compr, comprLen);
596 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);
598 free(compr);