Lines Matching defs:flush
64 fails to allocate memory, otherwise 0. flush is assumed to be a valid
65 deflate() flush value. If flush is Z_FINISH, then the deflate() state is
67 to the output file without compressing, and ignore flush. */
68 local int gz_comp(gz_statep state, int flush)
107 if (strm->avail_out == 0 || (flush != Z_NO_FLUSH &&
108 (flush != Z_FINISH || ret == Z_STREAM_END))) {
128 ret = deflate(strm, flush);
138 if (flush == Z_FINISH)
535 int ZEXPORT gzflush(gzFile file, int flush) {
547 /* check flush parameter */
548 if (flush < 0 || flush > Z_FINISH)
558 /* compress remaining data with requested flush */
559 (void)gz_comp(state, flush);
591 /* flush previous input with previous parameters before changing */
622 /* flush, free memory, and close file */