Home
last modified time | relevance | path

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

/lib/
A Ddecompress_inflate.c44 long (*flush)(void*, unsigned long), in __gunzip()
53 if (flush) { in __gunzip()
82 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip()
138 if (!flush) { in __gunzip()
159 if (flush && strm->next_out > out_buf) { in __gunzip()
161 if (l != flush(out_buf, l)) { in __gunzip()
193 if (flush) in __gunzip()
202 long (*flush)(void*, unsigned long), in gunzip()
207 return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error); in gunzip()
212 long (*flush)(void*, unsigned long), in __decompress()
[all …]
A Ddecompress_unxz.c260 long (*flush)(void *src, unsigned long size), in unxz()
276 if (fill == NULL && flush == NULL) in unxz()
284 if (flush == NULL) { in unxz()
306 if (fill == NULL && flush == NULL) { in unxz()
332 if (flush != NULL && (b.out_pos == b.out_size in unxz()
339 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz()
349 if (flush != NULL) in unxz()
389 if (flush != NULL) in unxz()
407 long (*flush)(void *src, unsigned long size), in __decompress()
412 return unxz(in, in_size, fill, flush, out, in_used, error); in __decompress()
A Ddecompress_unzstd.c167 long (*flush)(void*, unsigned long), in __unzstd()
191 if (fill == NULL && flush == NULL) in __unzstd()
227 if (flush != NULL) { in __unzstd()
308 if (flush != NULL && out.pos > 0) { in __unzstd()
309 if (out.pos != flush(out.dst, out.pos)) { in __unzstd()
335 long (*flush)(void*, unsigned long), in unzstd()
340 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error); in unzstd()
345 long (*flush)(void*, unsigned long), in __decompress()
350 return __unzstd(buf, len, fill, flush, out_buf, out_len, pos, error); in __decompress()
A 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()
A Ddecompress_unlzo.c99 long (*flush)(void *, unsigned long), in unlzo()
112 } else if (!flush) { in unlzo()
243 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()
279 long (*flush)(void*, unsigned long), in __decompress()
284 return unlzo(buf, len, fill, flush, out_buf, pos, error); in __decompress()
A Ddecompress_unlzma.c285 long (*flush)(void*, unsigned long); member
303 if (!wr->flush) { in peek_old_byte()
321 if (wr->flush && wr->buffer_pos == wr->header->dict_size) { in write_byte()
324 if (wr->flush((char *)wr->buffer, wr->header->dict_size) in write_byte()
541 long (*flush)(void*, unsigned long), in unlzma()
575 wr.flush = flush; in unlzma()
657 if (!wr.flush || wr.flush(wr.buffer, wr.buffer_pos) == wr.buffer_pos) in unlzma()
674 long (*flush)(void*, unsigned long), in __decompress()
679 return unlzma(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
A Ddecompress_bunzip2.c682 long (*flush)(void*, unsigned long), in bunzip2()
691 if (flush) in bunzip2()
713 if (!flush) in bunzip2()
716 if (i != flush(outbuf, i)) { in bunzip2()
742 if (flush) in bunzip2()
750 long (*flush)(void*, unsigned long), in __decompress()
755 return bunzip2(buf, len - 4, fill, flush, outbuf, pos, error); in __decompress()
A DKconfig.debug626 will be able to flush the buffer cache to disk, reboot the system
1827 round-robin CPU selection to flush out usages which depend on the
/lib/zlib_deflate/
A Ddeflate.c328 int flush in zlib_deflate() argument
335 flush > Z_FINISH || flush < 0) { in zlib_deflate()
348 s->last_flush = flush; in zlib_deflate()
391 flush != Z_FINISH) { in zlib_deflate()
450 if (flush != Z_FINISH) return Z_OK; in zlib_deflate()
862 int flush in deflate_stored() argument
908 FLUSH_BLOCK(s, flush == Z_FINISH); in deflate_stored()
921 int flush in deflate_fast() argument
1004 FLUSH_BLOCK(s, flush == Z_FINISH); in deflate_fast()
1015 int flush in deflate_slow() argument
[all …]
/lib/zlib_dfltcc/
A Ddfltcc_deflate.c121 int flush, in dfltcc_deflate() argument
136 if (flush == Z_FULL_FLUSH) in dfltcc_deflate()
144 no_flush = flush == Z_NO_FLUSH; in dfltcc_deflate()
159 if (flush == Z_FINISH) in dfltcc_deflate()
162 if (flush == Z_FULL_FLUSH) in dfltcc_deflate()
217 need_empty_block = flush == Z_FINISH && param->bcf && !param->bhf; in dfltcc_deflate()
225 if (flush == Z_FINISH && !param->bcf) in dfltcc_deflate()
292 if (flush == Z_FINISH) { in dfltcc_deflate()
301 if (flush == Z_FULL_FLUSH) in dfltcc_deflate()
303 *result = flush == Z_NO_FLUSH ? need_more : block_done; in dfltcc_deflate()
A Ddfltcc_inflate.h16 int flush, int *ret);
20 #define INFLATE_TYPEDO_HOOK(strm, flush) \ argument
25 action = dfltcc_inflate((strm), (flush), &ret); \
A Ddfltcc_inflate.c89 int flush, in dfltcc_inflate() argument
98 if (flush == Z_BLOCK || flush == Z_PACKET_FLUSH) { in dfltcc_inflate()
A Ddfltcc_deflate.h10 int flush,
/lib/zlib_inflate/
A Dinflate.c23 #define INFLATE_TYPEDO_HOOK(strm, flush) do {} while (0) argument
331 int zlib_inflate(z_streamp strm, int flush) in zlib_inflate() argument
409 if (flush == Z_BLOCK) goto inf_leave; in zlib_inflate()
412 INFLATE_TYPEDO_HOOK(strm, flush); in zlib_inflate()
760 if (flush == Z_PACKET_FLUSH && ret == Z_OK && in zlib_inflate()
764 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK) in zlib_inflate()

Completed in 25 milliseconds