Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dcompress.c2984 ZSTD_CStream *zcs; in ZSTD_createCStream_advanced() local
2989 zcs = (ZSTD_CStream *)ZSTD_malloc(sizeof(ZSTD_CStream), customMem); in ZSTD_createCStream_advanced()
2990 if (zcs == NULL) in ZSTD_createCStream_advanced()
2992 memset(zcs, 0, sizeof(ZSTD_CStream)); in ZSTD_createCStream_advanced()
2993 memcpy(&zcs->customMem, &customMem, sizeof(ZSTD_customMem)); in ZSTD_createCStream_advanced()
2994 zcs->cctx = ZSTD_createCCtx_advanced(customMem); in ZSTD_createCStream_advanced()
2995 if (zcs->cctx == NULL) { in ZSTD_createCStream_advanced()
2996 ZSTD_freeCStream(zcs); in ZSTD_createCStream_advanced()
2999 return zcs; in ZSTD_createCStream_advanced()
3002 size_t ZSTD_freeCStream(ZSTD_CStream *zcs) in ZSTD_freeCStream() argument
[all …]
Dzstd_internal.h260 size_t ZSTD_freeCStream(ZSTD_CStream *zcs);
/linux-4.19.296/include/linux/
Dzstd.h587 size_t ZSTD_resetCStream(ZSTD_CStream *zcs, unsigned long long pledgedSrcSize);
605 size_t ZSTD_compressStream(ZSTD_CStream *zcs, ZSTD_outBuffer *output,
620 size_t ZSTD_flushStream(ZSTD_CStream *zcs, ZSTD_outBuffer *output);
633 size_t ZSTD_endStream(ZSTD_CStream *zcs, ZSTD_outBuffer *output);