Lines Matching refs:flush
73 typedef block_state (*compress_func) OF((deflate_state *s, int flush));
77 local block_state deflate_stored OF((deflate_state *s, int flush));
78 local block_state deflate_fast OF((deflate_state *s, int flush));
80 local block_state deflate_slow OF((deflate_state *s, int flush));
552 int ZEXPORT deflate (strm, flush) in deflate() argument
554 int flush;
560 flush > Z_FINISH || flush < 0) {
567 (s->status == FINISH_STATE && flush != Z_FINISH)) {
574 s->last_flush = flush;
774 } else if (strm->avail_in == 0 && flush <= old_flush &&
775 flush != Z_FINISH) {
787 (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) {
790 bstate = (*(configuration_table[s->level].func))(s, flush);
809 if (flush == Z_PARTIAL_FLUSH) {
816 if (flush == Z_FULL_FLUSH) {
829 if (flush != Z_FINISH) return Z_OK;
1390 local block_state deflate_stored(s, flush) in deflate_stored() argument
1392 int flush;
1413 if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more;
1437 FLUSH_BLOCK(s, flush == Z_FINISH);
1438 return flush == Z_FINISH ? finish_done : block_done;
1448 local block_state deflate_fast(s, flush) in deflate_fast() argument
1450 int flush;
1463 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1544 FLUSH_BLOCK(s, flush == Z_FINISH);
1545 return flush == Z_FINISH ? finish_done : block_done;
1554 local block_state deflate_slow(s, flush) in deflate_slow() argument
1556 int flush;
1570 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1666 Assert (flush != Z_NO_FLUSH, "no flush?");
1672 FLUSH_BLOCK(s, flush == Z_FINISH);
1673 return flush == Z_FINISH ? finish_done : block_done;
1683 local block_state deflate_rle(s, flush)
1685 int flush;
1700 if (s->lookahead < MAX_MATCH && flush == Z_NO_FLUSH) {
1733 FLUSH_BLOCK(s, flush == Z_FINISH);
1734 return flush == Z_FINISH ? finish_done : block_done;