• Home
  • Raw
  • Download

Lines Matching refs:flush

66 typedef block_state (*compress_func) (deflate_state *s, int flush);
70 static block_state deflate_stored (deflate_state *s, int flush);
71 static block_state deflate_fast (deflate_state *s, int flush);
72 static block_state deflate_slow (deflate_state *s, int flush);
329 int flush in zlib_deflate() argument
336 flush > Z_FINISH || flush < 0) { in zlib_deflate()
342 (s->status == FINISH_STATE && flush != Z_FINISH)) { in zlib_deflate()
349 s->last_flush = flush; in zlib_deflate()
391 } else if (strm->avail_in == 0 && flush <= old_flush && in zlib_deflate()
392 flush != Z_FINISH) { in zlib_deflate()
404 (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) { in zlib_deflate()
407 bstate = (*(configuration_table[s->level].func))(s, flush); in zlib_deflate()
426 if (flush == Z_PARTIAL_FLUSH) { in zlib_deflate()
428 } else if (flush == Z_PACKET_FLUSH) { in zlib_deflate()
437 if (flush == Z_FULL_FLUSH) { in zlib_deflate()
450 if (flush != Z_FINISH) return Z_OK; in zlib_deflate()
855 int flush in deflate_stored() argument
877 if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more; in deflate_stored()
901 FLUSH_BLOCK(s, flush == Z_FINISH); in deflate_stored()
902 return flush == Z_FINISH ? finish_done : block_done; in deflate_stored()
914 int flush in deflate_fast() argument
928 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { in deflate_fast()
997 FLUSH_BLOCK(s, flush == Z_FINISH); in deflate_fast()
998 return flush == Z_FINISH ? finish_done : block_done; in deflate_fast()
1008 int flush in deflate_slow() argument
1023 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { in deflate_slow()
1113 Assert (flush != Z_NO_FLUSH, "no flush?"); in deflate_slow()
1119 FLUSH_BLOCK(s, flush == Z_FINISH); in deflate_slow()
1120 return flush == Z_FINISH ? finish_done : block_done; in deflate_slow()