Lines Matching refs:fdf
552 int compress_stream_xz(int fdf, int fdt, uint64_t max_bytes, uint64_t *ret_uncompressed_size) { in compress_stream_xz() argument
559 assert(fdf >= 0); in compress_stream_xz()
576 n = read(fdf, buf, m); in compress_stream_xz()
631 int compress_stream_lz4(int fdf, int fdt, uint64_t max_bytes, uint64_t *ret_uncompressed_size) { in compress_stream_lz4() argument
668 k = loop_read(fdf, in_buff, LZ4_BUFSIZE, true); in compress_stream_lz4()
717 int decompress_stream_xz(int fdf, int fdt, uint64_t max_bytes) { in decompress_stream_xz() argument
726 assert(fdf >= 0); in decompress_stream_xz()
739 n = read(fdf, buf, sizeof(buf)); in decompress_stream_xz()
856 int compress_stream_zstd(int fdf, int fdt, uint64_t max_bytes, uint64_t *ret_uncompressed_size) { in compress_stream_zstd() argument
864 assert(fdf >= 0); in compress_stream_zstd()
892 red = loop_read(fdf, in_buff, in_allocsize, true); in compress_stream_zstd()
961 int decompress_stream_zstd(int fdf, int fdt, uint64_t max_bytes) { in decompress_stream_zstd() argument
969 assert(fdf >= 0); in decompress_stream_zstd()
996 red = loop_read(fdf, in_buff, in_allocsize, true); in decompress_stream_zstd()
1069 int decompress_stream(const char *filename, int fdf, int fdt, uint64_t max_bytes) { in decompress_stream() argument
1072 return decompress_stream_lz4(fdf, fdt, max_bytes); in decompress_stream()
1074 return decompress_stream_xz(fdf, fdt, max_bytes); in decompress_stream()
1076 return decompress_stream_zstd(fdf, fdt, max_bytes); in decompress_stream()