Home
last modified time | relevance | path

Searched refs:flush (Results 1 – 10 of 10) sorted by relevance

/lib/
Ddecompress_inflate.c40 long (*flush)(void*, unsigned long), in __gunzip()
49 if (flush) { in __gunzip()
78 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip()
126 if (!flush) { in __gunzip()
146 if (flush && strm->next_out > out_buf) { in __gunzip()
148 if (l != flush(out_buf, l)) { in __gunzip()
180 if (flush) in __gunzip()
189 long (*flush)(void*, unsigned long), in gunzip()
194 return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error); in gunzip()
199 long (*flush)(void*, unsigned long), in __decompress()
[all …]
Ddecompress_unxz.c253 long (*flush)(void *src, unsigned long size), in unxz()
269 if (fill == NULL && flush == NULL) in unxz()
277 if (flush == NULL) { in unxz()
299 if (fill == NULL && flush == NULL) { in unxz()
325 if (flush != NULL && (b.out_pos == b.out_size in unxz()
332 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz()
342 if (flush != NULL) in unxz()
382 if (flush != NULL) in unxz()
400 long (*flush)(void*, unsigned long), in __decompress()
405 return unxz(buf, len, fill, flush, out_buf, pos, error); in __decompress()
Ddecompress_unlz4.c33 long (*flush)(void *, unsigned long), in unlz4()
52 } else if (!flush) { in unlz4()
174 if (flush && flush(outp, dest_len) != dest_len) in unlz4()
209 long (*flush)(void*, unsigned long), in __decompress()
215 return unlz4(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
Ddecompress_unlzo.c100 long (*flush)(void *, unsigned long), in unlzo()
113 } else if (!flush) { in unlzo()
244 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()
280 long (*flush)(void*, unsigned long), in __decompress()
285 return unlzo(buf, len, fill, flush, out_buf, pos, error); in __decompress()
Ddecompress_unlzma.c283 long (*flush)(void*, unsigned long); member
301 if (!wr->flush) { in peek_old_byte()
319 if (wr->flush && wr->buffer_pos == wr->header->dict_size) { in write_byte()
322 if (wr->flush((char *)wr->buffer, wr->header->dict_size) in write_byte()
539 long (*flush)(void*, unsigned long), in unlzma()
573 wr.flush = flush; in unlzma()
655 if (!wr.flush || wr.flush(wr.buffer, wr.buffer_pos) == wr.buffer_pos) in unlzma()
672 long (*flush)(void*, unsigned long), in __decompress()
677 return unlzma(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
Ddecompress_bunzip2.c681 long (*flush)(void*, unsigned long), in bunzip2()
690 if (flush) in bunzip2()
712 if (!flush) in bunzip2()
715 if (i != flush(outbuf, i)) { in bunzip2()
741 if (flush) in bunzip2()
749 long (*flush)(void*, unsigned long), in __decompress()
754 return bunzip2(buf, len - 4, fill, flush, outbuf, pos, error); in __decompress()
DKconfig.debug416 will be able to flush the buffer cache to disk, reboot the system
1422 round-robin CPU selection to flush out usages which depend on the
/lib/zlib_deflate/
Ddeflate.c66 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()
[all …]
/lib/zlib_inflate/
Dinflate.c317 int zlib_inflate(z_streamp strm, int flush) in zlib_inflate() argument
395 if (flush == Z_BLOCK) goto inf_leave; in zlib_inflate()
744 if (flush == Z_PACKET_FLUSH && ret == Z_OK && in zlib_inflate()
748 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK) in zlib_inflate()
/lib/zstd/
Dcompress.c3129 …, void *dst, size_t *dstCapacityPtr, const void *src, size_t *srcSizePtr, ZSTD_flush_e const flush) in ZSTD_compressStream_generic() argument
3151 if ((zcs->inBuffPos == zcs->inToCompress) || (!flush && (toLoad != loaded))) { in ZSTD_compressStream_generic()
3166 …cSize = (flush == zsf_end) ? ZSTD_compressEnd(zcs->cctx, cDst, oSize, zcs->inBuff + zcs->inToCompr… in ZSTD_compressStream_generic()
3170 if (flush == zsf_end) in ZSTD_compressStream_generic()