Home
last modified time | relevance | path

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

/openssl/crypto/comp/
H A Dc_zstd.c135 ZSTD_CStream *compressor; member
147 state->compressor = ZSTD_createCStream(); in zstd_stateful_init()
149 state->compressor = ZSTD_createCStream_advanced(zstd_mem_funcs); in zstd_stateful_init()
151 if (state->compressor == NULL) in zstd_stateful_init()
153 ZSTD_initCStream(state->compressor, ZSTD_CLEVEL_DEFAULT); in zstd_stateful_init()
167 ZSTD_freeCStream(state->compressor); in zstd_stateful_init()
178 ZSTD_freeCStream(state->compressor); in zstd_stateful_finish()
207 ret = ZSTD_endStream(state->compressor, &outbuf); in zstd_stateful_compress_block()
221 ret = ZSTD_compressStream2(state->compressor, &outbuf, &inbuf, ZSTD_e_continue); in zstd_stateful_compress_block()
231 ret = ZSTD_flushStream(state->compressor, &outbuf); in zstd_stateful_compress_block()

Completed in 6 milliseconds