Lines Matching defs:compr
54 void test_deflate _Z_OF((Byte *compr, uLong comprLen));
55 void test_inflate _Z_OF((Byte *compr, uLong comprLen,
57 void test_large_deflate _Z_OF((Byte *compr, uLong comprLen,
59 void test_large_inflate _Z_OF((Byte *compr, uLong comprLen,
61 void test_flush _Z_OF((Byte *compr, uLong *comprLen));
62 void test_sync _Z_OF((Byte *compr, uLong comprLen,
64 void test_dict_deflate _Z_OF((Byte *compr, uLong comprLen));
65 void test_dict_inflate _Z_OF((Byte *compr, uLong comprLen,
97 void test_compress _Z_OF((Byte *compr, uLong comprLen,
105 void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen)
110 err = compress(compr, &comprLen, (const Bytef*)hello, len);
115 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
213 void test_deflate(Byte *compr, uLong comprLen)
227 c_stream.next_out = compr;
249 void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen)
260 d_stream.next_in = compr;
288 void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr,
301 c_stream.next_out = compr;
318 c_stream.next_in = compr;
342 void test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr,
354 d_stream.next_in = compr;
382 void test_flush(Byte *compr, uLong comprLen)
396 c_stream.next_out = compr;
402 compr[3]++; /* force an error in first compressed block */
418 void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen)
429 d_stream.next_in = compr;
460 void test_dict_deflate(Byte *compr, uLong comprLen)
477 c_stream.next_out = compr;
495 void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr,
507 d_stream.next_in = compr;
547 Byte *compr, *uncompr;
563 compr
565 /* compr and uncompr are cleared to avoid reading uninitialized
568 if (compr == Z_NULL || uncompr == Z_NULL) {
576 test_compress(compr, comprLen, uncompr, uncomprLen);
582 test_deflate(compr, comprLen);
583 test_inflate(compr, comprLen, uncompr, uncomprLen);
585 test_large_deflate(compr, comprLen, uncompr, uncomprLen);
586 test_large_inflate(compr, comprLen, uncompr, uncomprLen);
588 test_flush(compr, &comprLen);
589 test_sync(compr, comprLen, uncompr, uncomprLen);
592 test_dict_deflate(compr, comprLen);
593 test_dict_inflate(compr, comprLen, uncompr, uncomprLen);
595 free(compr);