Lines Matching refs:out_allocsize
638 size_t out_allocsize, n, offset = 0, frame_size; in compress_stream_lz4() local
650 out_allocsize = frame_size + 64*1024; /* add some space for header and trailer */ in compress_stream_lz4()
651 out_buff = malloc(out_allocsize); in compress_stream_lz4()
659 n = offset = total_out = LZ4F_compressBegin(ctx, out_buff, out_allocsize, &preferences); in compress_stream_lz4()
663 log_debug("Buffer size is %zu bytes, header size %zu bytes.", out_allocsize, n); in compress_stream_lz4()
673 n = LZ4F_compressUpdate(ctx, out_buff + offset, out_allocsize - offset, in compress_stream_lz4()
686 if (out_allocsize - offset < frame_size + 4) { in compress_stream_lz4()
694 n = LZ4F_compressEnd(ctx, out_buff + offset, out_allocsize - offset, NULL); in compress_stream_lz4()
860 size_t in_allocsize, out_allocsize; in compress_stream_zstd() local
869 out_allocsize = ZSTD_CStreamOutSize(); in compress_stream_zstd()
871 out_buff = malloc(out_allocsize); in compress_stream_zstd()
903 .size = out_allocsize, in compress_stream_zstd()
965 size_t in_allocsize, out_allocsize; in decompress_stream_zstd() local
974 out_allocsize = ZSTD_DStreamOutSize(); in decompress_stream_zstd()
976 out_buff = malloc(out_allocsize); in decompress_stream_zstd()
1014 .size = out_allocsize, in decompress_stream_zstd()