Searched refs:out_allocsize (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/basic/ |
D | compress.c | 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() [all …]
|