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)
89 Byte *compr, *uncompr;
95 err = compress(compr, &comprLen, (const Bytef*)hello, len);
100 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
200 void test_deflate(compr, comprLen)
201 Byte *compr;
216 c_stream.next_out = compr;
238 void test_inflate(compr, comprLen, uncompr, uncomprLen)
239 Byte *compr, *uncompr;
251 d_stream.next_in = compr;
279 void test_large_deflate(compr, comprLen, uncompr, uncomprLen)
280 Byte *compr, *uncompr;
293 c_stream.next_out = compr;
310 c_stream.next_in = compr;
334 void test_large_inflate(compr, comprLen, uncompr, uncomprLen)
335 Byte *compr, *uncompr;
347 d_stream.next_in = compr;
375 void test_flush(compr, comprLen)
376 Byte *compr;
391 c_stream.next_out = compr;
397 compr[3]++; /* force an error in first compressed block */
413 void test_sync(compr, comprLen, uncompr, uncomprLen)
414 Byte *compr, *uncompr;
426 d_stream.next_in = compr;
457 void test_dict_deflate(compr, comprLen)
458 Byte *compr;
476 c_stream.next_out = compr;
494 void test_dict_inflate(compr, comprLen, uncompr, uncomprLen)
495 Byte *compr, *uncompr;
507 d_stream.next_in = compr;
549 Byte *compr, *uncompr;
565 compr = (Byte*)calloc((uInt)comprLen, 1);
567 /* compr and uncompr are cleared to avoid reading uninitialized
570 if (compr == Z_NULL || uncompr == Z_NULL) {
578 test_compress(compr, comprLen, uncompr, uncomprLen);
584 test_deflate(compr, comprLen);
585 test_inflate(compr, comprLen, uncompr, uncomprLen);
587 test_large_deflate(compr, comprLen, uncompr, uncomprLen);
588 test_large_inflate(compr, comprLen, uncompr, uncomprLen);
590 test_flush(compr, &comprLen);
591 test_sync(compr, comprLen, uncompr, uncomprLen);
594 test_dict_deflate(compr, comprLen);
595 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);
597 free(compr);