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));
82 local block_state deflate_rle OF((deflate_state *s, int flush));
83 local block_state deflate_huff OF((deflate_state *s, int flush));
582 int ZEXPORT deflate (strm, flush) in deflate() argument
584 int flush;
590 flush > Z_BLOCK || flush < 0) {
595 if (s->status == FINISH_STATE && flush != Z_FINISH) {
602 s->last_flush = flush;
802 } else if (strm->avail_in == 0 && flush <= old_flush &&
803 flush != Z_FINISH) {
815 (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) {
818 bstate = s->strategy == Z_HUFFMAN_ONLY ? deflate_huff(s, flush) :
819 (s->strategy == Z_RLE ? deflate_rle(s, flush) :
820 (*(configuration_table[s->level].func))(s, flush));
839 if (flush == Z_PARTIAL_FLUSH) {
841 } else if (flush != Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */
846 if (flush == Z_FULL_FLUSH) {
863 if (flush != Z_FINISH) return Z_OK;
1460 local block_state deflate_stored(s, flush) in deflate_stored() argument
1462 int flush;
1483 if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more;
1507 FLUSH_BLOCK(s, flush == Z_FINISH);
1508 return flush == Z_FINISH ? finish_done : block_done;
1518 local block_state deflate_fast(s, flush) in deflate_fast() argument
1520 int flush;
1533 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1604 FLUSH_BLOCK(s, flush == Z_FINISH);
1605 return flush == Z_FINISH ? finish_done : block_done;
1614 local block_state deflate_slow(s, flush) in deflate_slow() argument
1616 int flush;
1630 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1723 Assert (flush != Z_NO_FLUSH, "no flush?");
1729 FLUSH_BLOCK(s, flush == Z_FINISH);
1730 return flush == Z_FINISH ? finish_done : block_done;
1739 local block_state deflate_rle(s, flush) in deflate_rle() argument
1741 int flush;
1754 if (s->lookahead < MAX_MATCH && flush == Z_NO_FLUSH) {
1797 FLUSH_BLOCK(s, flush == Z_FINISH);
1798 return flush == Z_FINISH ? finish_done : block_done;
1805 local block_state deflate_huff(s, flush) in deflate_huff() argument
1807 int flush;
1816 if (flush == Z_NO_FLUSH)
1830 FLUSH_BLOCK(s, flush == Z_FINISH);
1831 return flush == Z_FINISH ? finish_done : block_done;