Lines Matching refs:deflate
161 * Test deflate() with small buffers
183 err = deflate(&c_stream, Z_NO_FLUSH);
184 CHECK_ERR(err, "deflate");
189 err = deflate(&c_stream, Z_FINISH);
191 CHECK_ERR(err, "deflate");
240 * Test deflate() with large buffers and dynamic change of compression level
264 err = deflate(&c_stream, Z_NO_FLUSH);
265 CHECK_ERR(err, "deflate");
267 fprintf(stderr, "deflate not greedy\n");
275 err = deflate(&c_stream, Z_NO_FLUSH);
276 CHECK_ERR(err, "deflate");
282 err = deflate(&c_stream, Z_NO_FLUSH);
283 CHECK_ERR(err, "deflate");
285 err = deflate(&c_stream, Z_FINISH);
287 fprintf(stderr, "deflate should report Z_STREAM_END\n");
336 * Test deflate() with full flush
357 err = deflate(&c_stream, Z_FULL_FLUSH);
358 CHECK_ERR(err, "deflate");
363 err = deflate(&c_stream, Z_FINISH);
365 CHECK_ERR(err, "deflate");
418 * Test deflate() with preset dictionary
445 err = deflate(&c_stream, Z_FINISH);
447 fprintf(stderr, "deflate should report Z_STREAM_END\n");