• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/zlib/

Lines Matching refs:flush

68     block_done,     /* block flush performed */
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)
554 int flush;
556 int old_flush; /* value of flush param for previous deflate call */
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);
800 /* If flush != Z_NO_FLUSH && avail_out == 0, the next call
801 * of deflate should use the same flush parameter to make sure
802 * that the flush is complete. So we don't have to output an
809 if (flush == Z_PARTIAL_FLUSH) {
813 /* For a full flush, this empty block will be recognized
816 if (flush == Z_FULL_FLUSH) {
829 if (flush != Z_FINISH) return Z_OK;
852 * to flush the rest.
1390 local block_state deflate_stored(s, flush)
1392 int flush;
1413 if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more;
1415 if (s->lookahead == 0) break; /* flush the current block */
1437 FLUSH_BLOCK(s, flush == Z_FINISH);
1438 return flush == Z_FINISH ? finish_done : block_done;
1448 local block_state deflate_fast(s, flush)
1450 int flush;
1463 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1466 if (s->lookahead == 0) break; /* flush the current block */
1544 FLUSH_BLOCK(s, flush == Z_FINISH);
1545 return flush == Z_FINISH ? finish_done : block_done;
1554 local block_state deflate_slow(s, flush)
1556 int flush;
1570 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1573 if (s->lookahead == 0) break; /* flush the current block */
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) {
1703 if (s->lookahead == 0) break; /* flush the current block */
1733 FLUSH_BLOCK(s, flush == Z_FINISH);
1734 return flush == Z_FINISH ? finish_done : block_done;