Lines Matching refs:deflate
198 * Test deflate() with small buffers
220 err = deflate(&c_stream, Z_NO_FLUSH);
221 CHECK_ERR(err, "deflate");
226 err = deflate(&c_stream, Z_FINISH);
228 CHECK_ERR(err, "deflate");
277 * Test deflate() with large buffers and dynamic change of compression level
301 err = deflate(&c_stream, Z_NO_FLUSH);
302 CHECK_ERR(err, "deflate");
304 fprintf(stderr, "deflate not greedy\n");
312 err = deflate(&c_stream, Z_NO_FLUSH);
313 CHECK_ERR(err, "deflate");
319 err = deflate(&c_stream, Z_NO_FLUSH);
320 CHECK_ERR(err, "deflate");
322 err = deflate(&c_stream, Z_FINISH);
324 fprintf(stderr, "deflate should report Z_STREAM_END\n");
373 * Test deflate() with full flush
394 err = deflate(&c_stream, Z_FULL_FLUSH);
395 CHECK_ERR(err, "deflate");
400 err = deflate(&c_stream, Z_FINISH);
402 CHECK_ERR(err, "deflate");
455 * Test deflate() with preset dictionary
482 err = deflate(&c_stream, Z_FINISH);
484 fprintf(stderr, "deflate should report Z_STREAM_END\n");