Lines Matching defs:flush
61 fails to allocate memory, otherwise 0. flush is assumed to be a valid
62 deflate() flush value. If flush is Z_FINISH, then the deflate() state is
64 to the output file without compressing, and ignore flush. */
65 local int gz_comp(gz_statep state, int flush) {
103 if (strm->avail_out == 0 || (flush != Z_NO_FLUSH &&
104 (flush != Z_FINISH || ret == Z_STREAM_END))) {
124 ret = deflate(strm, flush);
134 if (flush == Z_FINISH)
528 int ZEXPORT gzflush(gzFile file, int flush) {
540 /* check flush parameter */
541 if (flush < 0 || flush > Z_FINISH)
551 /* compress remaining data with requested flush */
552 (void)gz_comp(state, flush);
584 /* flush previous input with previous parameters before changing */
615 /* flush, free memory, and close file */