Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/contrib/seekable_format/
H A Dzstdseek_compress.c113 memset(zcs, 0, sizeof(*zcs)); in ZSTD_seekable_createCStream()
120 return zcs; in ZSTD_seekable_createCStream()
125 free(zcs); in ZSTD_seekable_createCStream()
134 free(zcs); in ZSTD_seekable_freeCStream()
145 zcs->frameCSize = 0; in ZSTD_seekable_initCStream()
146 zcs->frameDSize = 0; in ZSTD_seekable_initCStream()
213 &zcs->framelog, zcs->frameCSize, zcs->frameDSize, in ZSTD_seekable_endFrame()
235 inLen = MIN(inLen, (size_t)(zcs->maxFrameSize - zcs->frameDSize)); in ZSTD_seekable_compressStream()
256 if (zcs->maxFrameSize == zcs->frameDSize) { in ZSTD_seekable_compressStream()
265 return (size_t)(zcs->maxFrameSize - zcs->frameDSize); in ZSTD_seekable_compressStream()
[all …]
H A Dzstd_seekable.h77 ZSTDLIB_API size_t ZSTD_seekable_freeCStream(ZSTD_seekable_CStream* zcs);
80 ZSTDLIB_API size_t ZSTD_seekable_initCStream(ZSTD_seekable_CStream* zcs, int compressionLevel, int …
81 ZSTDLIB_API size_t ZSTD_seekable_compressStream(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output,…
82 ZSTDLIB_API size_t ZSTD_seekable_endFrame(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output);
83 ZSTDLIB_API size_t ZSTD_seekable_endStream(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output);
/freebsd-12.1/sys/contrib/zstd/contrib/pzstd/
H A DPzstd.h45 auto zcs = ZSTD_createCStream(); in SharedState()
46 if (zcs) { in SharedState()
48 zcs, nullptr, 0, parameters, 0); in SharedState()
50 ZSTD_freeCStream(zcs); in SharedState()
54 return zcs; in SharedState()
56 [](ZSTD_CStream *zcs) { in SharedState()
57 ZSTD_freeCStream(zcs); in SharedState()
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c2941 zcs->cdict = zcs->cdictLocal; in ZSTD_initCStream_internal()
3087 && (zcs->inBuffPos < zcs->inBuffTarget) ) { in ZSTD_compressStream_generic()
3092 && (zcs->inBuffPos == zcs->inToCompress) ) { in ZSTD_compressStream_generic()
3107 cDst = zcs->outBuff, oSize = zcs->outBuffSize; in ZSTD_compressStream_generic()
3116 zcs->inBuffTarget = zcs->inBuffPos + zcs->blockSize; in ZSTD_compressStream_generic()
3117 if (zcs->inBuffTarget > zcs->inBuffSize) in ZSTD_compressStream_generic()
3118 zcs->inBuffPos = 0, zcs->inBuffTarget = zcs->blockSize; in ZSTD_compressStream_generic()
3122 assert(zcs->inBuffTarget <= zcs->inBuffSize); in ZSTD_compressStream_generic()
3123 zcs->inToCompress = zcs->inBuffPos; in ZSTD_compressStream_generic()
3153 zcs->outBuffContentSize = zcs->outBuffFlushedSize = 0; in ZSTD_compressStream_generic()
[all …]
H A Dzstdmt_compress.h146 size_t ZSTDMT_initCStream_internal(ZSTDMT_CCtx* zcs,
H A Dzstd_compress_internal.h654 size_t ZSTD_initCStream_internal(ZSTD_CStream* zcs,
661 size_t ZSTD_compressStream_generic(ZSTD_CStream* zcs,
/freebsd-12.1/sys/contrib/zstd/lib/
H A Dzstd.h310 ZSTDLIB_API size_t ZSTD_freeCStream(ZSTD_CStream* zcs);
313 ZSTDLIB_API size_t ZSTD_initCStream(ZSTD_CStream* zcs, int compressionLevel);
314 ZSTDLIB_API size_t ZSTD_compressStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* in…
315 ZSTDLIB_API size_t ZSTD_flushStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
316 ZSTDLIB_API size_t ZSTD_endStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
498 ZSTDLIB_API size_t ZSTD_sizeof_CStream(const ZSTD_CStream* zcs);
705 ZSTDLIB_API size_t ZSTD_initCStream_srcSize(ZSTD_CStream* zcs, int compressionLevel, unsigned long …
707 ZSTDLIB_API size_t ZSTD_initCStream_advanced(ZSTD_CStream* zcs, const void* dict, size_t dictSize,
709 ZSTDLIB_API size_t ZSTD_initCStream_usingCDict(ZSTD_CStream* zcs, const ZSTD_CDict* cdict); /**< n…
710 ZSTDLIB_API size_t ZSTD_initCStream_usingCDict_advanced(ZSTD_CStream* zcs, const ZSTD_CDict* cdict,…
[all …]