Home
last modified time | relevance | path

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

/external/zstd/contrib/seekable_format/
Dzstdseek_compress.c111 ZSTD_seekable_CStream* zcs = malloc(sizeof(ZSTD_seekable_CStream)); in ZSTD_seekable_createCStream() local
113 if (zcs == NULL) return NULL; in ZSTD_seekable_createCStream()
115 memset(zcs, 0, sizeof(*zcs)); in ZSTD_seekable_createCStream()
117 zcs->cstream = ZSTD_createCStream(); in ZSTD_seekable_createCStream()
118 if (zcs->cstream == NULL) goto failed1; in ZSTD_seekable_createCStream()
120 if (ZSTD_isError(ZSTD_seekable_frameLog_allocVec(&zcs->framelog))) goto failed2; in ZSTD_seekable_createCStream()
122 return zcs; in ZSTD_seekable_createCStream()
125 ZSTD_freeCStream(zcs->cstream); in ZSTD_seekable_createCStream()
127 free(zcs); in ZSTD_seekable_createCStream()
131 size_t ZSTD_seekable_freeCStream(ZSTD_seekable_CStream* zcs) in ZSTD_seekable_freeCStream() argument
[all …]
Dzstd_seekable.h79 ZSTDLIB_API size_t ZSTD_seekable_freeCStream(ZSTD_seekable_CStream* zcs);
82 ZSTDLIB_API size_t ZSTD_seekable_initCStream(ZSTD_seekable_CStream* zcs, int compressionLevel, int …
83 ZSTDLIB_API size_t ZSTD_seekable_compressStream(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output,…
84 ZSTDLIB_API size_t ZSTD_seekable_endFrame(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output);
85 ZSTDLIB_API size_t ZSTD_seekable_endStream(ZSTD_seekable_CStream* zcs, ZSTD_outBuffer* output);
/external/zstd/contrib/pzstd/
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()
/external/zstd/lib/compress/
Dzstd_compress.c197 size_t ZSTD_sizeof_CStream(const ZSTD_CStream* zcs) in ZSTD_sizeof_CStream() argument
199 return ZSTD_sizeof_CCtx(zcs); /* same object */ in ZSTD_sizeof_CStream()
3969 size_t ZSTD_freeCStream(ZSTD_CStream* zcs) in ZSTD_freeCStream() argument
3971 return ZSTD_freeCCtx(zcs); /* same object */ in ZSTD_freeCStream()
3995 size_t ZSTD_resetCStream(ZSTD_CStream* zcs, unsigned long long pss) in ZSTD_resetCStream() argument
4003 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_resetCStream()
4004 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_resetCStream()
4012 size_t ZSTD_initCStream_internal(ZSTD_CStream* zcs, in ZSTD_initCStream_internal() argument
4018 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_internal()
4019 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_internal()
[all …]
Dzstdmt_compress.h69 size_t ZSTDMT_initCStream_internal(ZSTDMT_CCtx* zcs,
Dzstd_compress_internal.h1149 size_t ZSTD_initCStream_internal(ZSTD_CStream* zcs,
/external/zstd/tests/regression/
Dmethod.c437 ZSTD_CStream* zcs, in init_cstream() argument
460 zcs, *cdict, params.fParams, ZSTD_CONTENTSIZE_UNKNOWN); in init_cstream()
463 zcs, in init_cstream()
483 zret = ZSTD_initCStream_usingCDict(zcs, *cdict); in init_cstream()
486 zcs, in init_cstream()
491 zret = ZSTD_initCStream(zcs, level); in init_cstream()
511 ZSTD_CStream* zcs = ZSTD_createCStream(); in old_streaming_compress_internal() local
514 if (zcs == NULL) { in old_streaming_compress_internal()
526 if (init_cstream(state, zcs, config, advanced, cdict ? &cd : NULL)) { in old_streaming_compress_internal()
535 zcs, in old_streaming_compress_internal()
[all …]
/external/zstd/lib/
Dzstd.h668 ZSTDLIB_API size_t ZSTD_freeCStream(ZSTD_CStream* zcs);
744 ZSTDLIB_API size_t ZSTD_initCStream(ZSTD_CStream* zcs, int compressionLevel);
751 ZSTDLIB_API size_t ZSTD_compressStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* in…
753 ZSTDLIB_API size_t ZSTD_flushStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
755 ZSTDLIB_API size_t ZSTD_endStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
1036 ZSTDLIB_API size_t ZSTD_sizeof_CStream(const ZSTD_CStream* zcs);
2027 ZSTD_initCStream_srcSize(ZSTD_CStream* zcs,
2044 ZSTD_initCStream_usingDict(ZSTD_CStream* zcs,
2064 ZSTD_initCStream_advanced(ZSTD_CStream* zcs,
2077 ZSTDLIB_API size_t ZSTD_initCStream_usingCDict(ZSTD_CStream* zcs, const ZSTD_CDict* cdict);
[all …]