Lines Matching refs:flush

78 typedef block_state (*compress_func) OF((deflate_state *s, int flush));
82 local block_state deflate_stored OF((deflate_state *s, int flush));
83 local block_state deflate_fast OF((deflate_state *s, int flush));
85 local block_state deflate_slow OF((deflate_state *s, int flush));
558 int ZEXPORT deflate (strm, flush) in deflate() argument
560 int flush;
566 flush > Z_FINISH || flush < 0) {
573 (s->status == FINISH_STATE && flush != Z_FINISH)) {
580 s->last_flush = flush;
780 } else if (strm->avail_in == 0 && flush <= old_flush &&
781 flush != Z_FINISH) {
793 (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) {
796 bstate = (*(configuration_table[s->level].func))(s, flush);
815 if (flush == Z_PARTIAL_FLUSH) {
822 if (flush == Z_FULL_FLUSH) {
835 if (flush != Z_FINISH) return Z_OK;
1396 local block_state deflate_stored(s, flush) in deflate_stored() argument
1398 int flush;
1419 if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more;
1443 FLUSH_BLOCK(s, flush == Z_FINISH);
1444 return flush == Z_FINISH ? finish_done : block_done;
1454 local block_state deflate_fast(s, flush) in deflate_fast() argument
1456 int flush;
1469 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1550 FLUSH_BLOCK(s, flush == Z_FINISH);
1551 return flush == Z_FINISH ? finish_done : block_done;
1560 local block_state deflate_slow(s, flush) in deflate_slow() argument
1562 int flush;
1576 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1672 Assert (flush != Z_NO_FLUSH, "no flush?");
1678 FLUSH_BLOCK(s, flush == Z_FINISH);
1679 return flush == Z_FINISH ? finish_done : block_done;
1689 local block_state deflate_rle(s, flush)
1691 int flush;
1706 if (s->lookahead < MAX_MATCH && flush == Z_NO_FLUSH) {
1739 FLUSH_BLOCK(s, flush == Z_FINISH);
1740 return flush == Z_FINISH ? finish_done : block_done;