Lines Matching refs:flush

73 typedef block_state (*compress_func) OF((deflate_state *s, int flush));
79 local block_state deflate_stored OF((deflate_state *s, int flush));
80 local block_state deflate_fast OF((deflate_state *s, int flush));
82 local block_state deflate_slow OF((deflate_state *s, int flush));
84 local block_state deflate_rle OF((deflate_state *s, int flush));
85 local block_state deflate_huff OF((deflate_state *s, int flush));
804 int ZEXPORT deflate (strm, flush) in deflate() argument
806 int flush;
811 if (deflateStateCheck(strm) || flush > Z_BLOCK || flush < 0) {
818 (s->status == FINISH_STATE && flush != Z_FINISH)) {
824 s->last_flush = flush;
844 } else if (strm->avail_in == 0 && RANK(flush) <= RANK(old_flush) &&
845 flush != Z_FINISH) {
1040 (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) {
1043 bstate = s->level == 0 ? deflate_stored(s, flush) :
1044 s->strategy == Z_HUFFMAN_ONLY ? deflate_huff(s, flush) :
1045 s->strategy == Z_RLE ? deflate_rle(s, flush) :
1046 (*(configuration_table[s->level].func))(s, flush);
1065 if (flush == Z_PARTIAL_FLUSH) {
1067 } else if (flush != Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */
1072 if (flush == Z_FULL_FLUSH) {
1089 if (flush != Z_FINISH) return Z_OK;
1685 local block_state deflate_stored(s, flush) in deflate_stored() argument
1687 int flush;
1723 if (len < min_block && ((len == 0 && flush != Z_FINISH) ||
1724 flush == Z_NO_FLUSH ||
1731 last = flush == Z_FINISH && len == left + s->strm->avail_in ? 1 : 0;
1813 if (flush != Z_NO_FLUSH && flush != Z_FINISH &&
1851 ((left || flush == Z_FINISH) && flush != Z_NO_FLUSH &&
1854 last = flush == Z_FINISH && s->strm->avail_in == 0 &&
1872 local block_state deflate_fast(s, flush) in deflate_fast() argument
1874 int flush;
1887 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1959 if (flush == Z_FINISH) {
1974 local block_state deflate_slow(s, flush) in deflate_slow() argument
1976 int flush;
1990 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
2083 Assert (flush != Z_NO_FLUSH, "no flush?");
2090 if (flush == Z_FINISH) {
2105 local block_state deflate_rle(s, flush) in deflate_rle() argument
2107 int flush;
2120 if (s->lookahead <= MAX_MATCH && flush == Z_NO_FLUSH) {
2165 if (flush == Z_FINISH) {
2178 local block_state deflate_huff(s, flush) in deflate_huff() argument
2180 int flush;
2189 if (flush == Z_NO_FLUSH)
2204 if (flush == Z_FINISH) {