Lines Matching refs:ZSTD_CCtx
89 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
94 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
106 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
111 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
118 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
121 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx()
122 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
126 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
129 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
145 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts()
161 static void ZSTD_freeCCtxContent(ZSTD_CCtx* cctx) in ZSTD_freeCCtxContent()
169 size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx) in ZSTD_freeCCtx()
185 static size_t ZSTD_sizeof_mtctx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_mtctx()
192 size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_CCtx()
208 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx) { return &(ctx->seqStore); } in ZSTD_getSeqStore()
621 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value) in ZSTD_CCtx_setParameter()
873 size_t ZSTD_CCtx_getParameter(ZSTD_CCtx const* cctx, ZSTD_cParameter param, int* value) in ZSTD_CCtx_getParameter()
996 ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params) in ZSTD_CCtx_setParametersUsingCCtxParams()
1009 size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize) in ZSTD_CCtx_setPledgedSrcSize()
1031 static size_t ZSTD_initLocalDict(ZSTD_CCtx* cctx) in ZSTD_initLocalDict()
1063 ZSTD_CCtx* cctx, const void* dict, size_t dictSize, in ZSTD_CCtx_loadDictionary_advanced()
1090 ZSTD_CCtx* cctx, const void* dict, size_t dictSize) in ZSTD_CCtx_loadDictionary_byReference()
1096 size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize) in ZSTD_CCtx_loadDictionary()
1103 size_t ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict) in ZSTD_CCtx_refCDict()
1113 size_t ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool) in ZSTD_CCtx_refThreadPool()
1121 size_t ZSTD_CCtx_refPrefix(ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize) in ZSTD_CCtx_refPrefix()
1127 … ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType) in ZSTD_CCtx_refPrefix_advanced()
1142 size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset) in ZSTD_CCtx_reset()
1418 size_t const cctxSpace = isStatic ? ZSTD_cwksp_alloc_size(sizeof(ZSTD_CCtx)) : 0; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1549 ZSTD_frameProgression ZSTD_getFrameProgression(const ZSTD_CCtx* cctx) in ZSTD_getFrameProgression()
1568 size_t ZSTD_toFlushNow(ZSTD_CCtx* cctx) in ZSTD_toFlushNow()
1748 static size_t ZSTD_resetCCtx_internal(ZSTD_CCtx* zc, in ZSTD_resetCCtx_internal()
1923 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx) { in ZSTD_invalidateRepCodes()
1962 ZSTD_resetCCtx_byAttachingCDict(ZSTD_CCtx* cctx, in ZSTD_resetCCtx_byAttachingCDict()
2022 static size_t ZSTD_resetCCtx_byCopyingCDict(ZSTD_CCtx* cctx, in ZSTD_resetCCtx_byCopyingCDict()
2104 static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx, in ZSTD_resetCCtx_usingCDict()
2130 static size_t ZSTD_copyCCtx_internal(ZSTD_CCtx* dstCCtx, in ZSTD_copyCCtx_internal()
2131 const ZSTD_CCtx* srcCCtx, in ZSTD_copyCCtx_internal()
2207 size_t ZSTD_copyCCtx(ZSTD_CCtx* dstCCtx, const ZSTD_CCtx* srcCCtx, unsigned long long pledgedSrcSiz… in ZSTD_copyCCtx()
2723 static size_t ZSTD_buildSeqStore(ZSTD_CCtx* zc, const void* src, size_t srcSize) in ZSTD_buildSeqStore()
2804 static void ZSTD_copyBlockSequences(ZSTD_CCtx* zc) in ZSTD_copyBlockSequences()
2868 size_t ZSTD_generateSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs, in ZSTD_generateSequences()
3259 static size_t ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize(seqStore_t* seqStore, ZSTD_CCtx* z… in ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize()
3407 ZSTD_compressSeqStore_singleBlock(ZSTD_CCtx* zc, seqStore_t* const seqStore, in ZSTD_compressSeqStore_singleBlock()
3496 ZSTD_CCtx* zc, const seqStore_t* origSeqStore) in ZSTD_deriveBlockSplitsHelper()
3534 static size_t ZSTD_deriveBlockSplits(ZSTD_CCtx* zc, U32 partitions[], U32 nbSeq) { in ZSTD_deriveBlockSplits()
3553 ZSTD_compressBlock_splitBlock_internal(ZSTD_CCtx* zc, void* dst, size_t dstCapacity, in ZSTD_compressBlock_splitBlock_internal()
3642 ZSTD_compressBlock_splitBlock(ZSTD_CCtx* zc, in ZSTD_compressBlock_splitBlock()
3672 ZSTD_compressBlock_internal(ZSTD_CCtx* zc, in ZSTD_compressBlock_internal()
3735 static size_t ZSTD_compressBlock_targetCBlockSize_body(ZSTD_CCtx* zc, in ZSTD_compressBlock_targetCBlockSize_body()
3790 static size_t ZSTD_compressBlock_targetCBlockSize(ZSTD_CCtx* zc, in ZSTD_compressBlock_targetCBlockSize()
3841 static size_t ZSTD_compress_frameChunk(ZSTD_CCtx* cctx, in ZSTD_compress_frameChunk()
4004 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq) in ZSTD_referenceExternalSequences()
4020 static size_t ZSTD_compressContinue_internal (ZSTD_CCtx* cctx, in ZSTD_compressContinue_internal()
4081 size_t ZSTD_compressContinue (ZSTD_CCtx* cctx, in ZSTD_compressContinue()
4090 size_t ZSTD_getBlockSize(const ZSTD_CCtx* cctx) in ZSTD_getBlockSize()
4097 size_t ZSTD_compressBlock(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t s… in ZSTD_compressBlock()
4398 static size_t ZSTD_compressBegin_internal(ZSTD_CCtx* cctx, in ZSTD_compressBegin_internal()
4442 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx, in ZSTD_compressBegin_advanced_internal()
4462 size_t ZSTD_compressBegin_advanced(ZSTD_CCtx* cctx, in ZSTD_compressBegin_advanced()
4474 size_t ZSTD_compressBegin_usingDict(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, int compres… in ZSTD_compressBegin_usingDict()
4486 size_t ZSTD_compressBegin(ZSTD_CCtx* cctx, int compressionLevel) in ZSTD_compressBegin()
4495 static size_t ZSTD_writeEpilogue(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity) in ZSTD_writeEpilogue()
4534 void ZSTD_CCtx_trace(ZSTD_CCtx* cctx, size_t extraCSize) in ZSTD_CCtx_trace()
4540 size_t ZSTD_compressEnd (ZSTD_CCtx* cctx, in ZSTD_compressEnd()
4566 size_t ZSTD_compress_advanced (ZSTD_CCtx* cctx, in ZSTD_compress_advanced()
4584 ZSTD_CCtx* cctx, in ZSTD_compress_advanced_internal()
4597 size_t ZSTD_compress_usingDict(ZSTD_CCtx* cctx, in ZSTD_compress_usingDict()
4612 size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx, in ZSTD_compressCCtx()
4627 ZSTD_CCtx* cctx = ZSTD_createCCtx(); in ZSTD_compress()
4939 ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, in ZSTD_compressBegin_usingCDict_internal()
4980 ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, in ZSTD_compressBegin_usingCDict_advanced()
4988 size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict) in ZSTD_compressBegin_usingCDict()
4997 static size_t ZSTD_compress_usingCDict_internal(ZSTD_CCtx* cctx, in ZSTD_compress_usingCDict_internal()
5009 size_t ZSTD_compress_usingCDict_advanced(ZSTD_CCtx* cctx, in ZSTD_compress_usingCDict_advanced()
5022 size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx, in ZSTD_compress_usingCDict()
5198 static size_t ZSTD_nextInputSizeHint(const ZSTD_CCtx* cctx) in ZSTD_nextInputSizeHint()
5376 static size_t ZSTD_nextInputSizeHint_MTorST(const ZSTD_CCtx* cctx) in ZSTD_nextInputSizeHint_MTorST()
5391 static void ZSTD_setBufferExpectations(ZSTD_CCtx* cctx, ZSTD_outBuffer const* output, ZSTD_inBuffer… in ZSTD_setBufferExpectations()
5404 static size_t ZSTD_checkBufferStability(ZSTD_CCtx const* cctx, in ZSTD_checkBufferStability()
5424 static size_t ZSTD_CCtx_init_compressStream2(ZSTD_CCtx* cctx, in ZSTD_CCtx_init_compressStream2()
5480 size_t ZSTD_compressStream2( ZSTD_CCtx* cctx, in ZSTD_compressStream2()
5508 ZSTD_CCtx* cctx, in ZSTD_compressStream2_simpleArgs()
5522 size_t ZSTD_compress2(ZSTD_CCtx* cctx, in ZSTD_compress2()
5599 ZSTD_copySequencesToSeqStoreExplicitBlockDelim(ZSTD_CCtx* cctx, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5662 ZSTD_copySequencesToSeqStoreNoBlockDelim(ZSTD_CCtx* cctx, ZSTD_sequencePosition* seqPos, in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5780 typedef size_t (*ZSTD_sequenceCopier) (ZSTD_CCtx* cctx, ZSTD_sequencePosition* seqPos,
5802 ZSTD_compressSequences_internal(ZSTD_CCtx* cctx, in ZSTD_compressSequences_internal()
5914 size_t ZSTD_compressSequences(ZSTD_CCtx* const cctx, void* dst, size_t dstCapacity, in ZSTD_compressSequences()