Home | History | Annotate | Download | only in compress

Lines Matching refs:ZSTD_CCtx

97 ZSTD_CCtx* ZSTD_createCCtx(void)
102 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager)
114 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem)
119 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem);
126 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize)
129 ZSTD_CCtx* cctx;
130 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */
134 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx));
137 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx));
154 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx)
170 static void ZSTD_freeCCtxContent(ZSTD_CCtx* cctx)
181 size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx)
195 static size_t ZSTD_sizeof_mtctx(const ZSTD_CCtx* cctx)
206 size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx)
222 const SeqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx) { return &(ctx->seqStore); }
708 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value)
1023 size_t ZSTD_CCtx_getParameter(ZSTD_CCtx const* cctx, ZSTD_cParameter param, int* value)
1179 ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params)
1192 size_t ZSTD_CCtx_setCParams(ZSTD_CCtx* cctx, ZSTD_compressionParameters cparams)
1208 size_t ZSTD_CCtx_setFParams(ZSTD_CCtx* cctx, ZSTD_frameParameters fparams)
1218 size_t ZSTD_CCtx_setParams(ZSTD_CCtx* cctx, ZSTD_parameters params)
1230 size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize)
1252 static size_t ZSTD_initLocalDict(ZSTD_CCtx* cctx)
1284 ZSTD_CCtx* cctx,
1315 ZSTD_CCtx* cctx, const void* dict, size_t dictSize)
1321 size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize)
1328 size_t ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict)
1338 size_t ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool)
1346 size_t ZSTD_CCtx_refPrefix(ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize)
1352 ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType)
1367 size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset)
1732 size_t const cctxSpace = isStatic ? ZSTD_cwksp_alloc_size(sizeof(ZSTD_CCtx)) : 0;
1869 ZSTD_frameProgression ZSTD_getFrameProgression(const ZSTD_CCtx* cctx)
1893 size_t ZSTD_toFlushNow(ZSTD_CCtx* cctx)
2100 ZSTD_CCtx* zc,
2286 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx) {
2325 ZSTD_resetCCtx_byAttachingCDict(ZSTD_CCtx* cctx,
2402 static size_t ZSTD_resetCCtx_byCopyingCDict(ZSTD_CCtx* cctx,
2487 static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx,
2513 static size_t ZSTD_copyCCtx_internal(ZSTD_CCtx* dstCCtx,
2514 const ZSTD_CCtx* srcCCtx,
2591 size_t ZSTD_copyCCtx(ZSTD_CCtx* dstCCtx, const ZSTD_CCtx* srcCCtx, unsigned long long pledgedSrcSize)
3256 ZSTD_transferSequences_wBlockDelim(ZSTD_CCtx* cctx,
3264 static size_t ZSTD_buildSeqStore(ZSTD_CCtx* zc, const void* src, size_t srcSize)
3520 size_t ZSTD_generateSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs,
3948 ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize(SeqStore_t* seqStore, ZSTD_CCtx* zc)
4105 ZSTD_compressSeqStore_singleBlock(ZSTD_CCtx* zc,
4198 ZSTD_CCtx* zc, const SeqStore_t* origSeqStore)
4239 static size_t ZSTD_deriveBlockSplits(ZSTD_CCtx* zc, U32 partitions[], U32 nbSeq)
4261 ZSTD_compressBlock_splitBlock_internal(ZSTD_CCtx* zc,
4354 ZSTD_compressBlock_splitBlock(ZSTD_CCtx* zc,
4383 ZSTD_compressBlock_internal(ZSTD_CCtx* zc,
4450 static size_t ZSTD_compressBlock_targetCBlockSize_body(ZSTD_CCtx* zc,
4506 static size_t ZSTD_compressBlock_targetCBlockSize(ZSTD_CCtx* zc,
4552 static size_t ZSTD_optimalBlockSize(ZSTD_CCtx* cctx, const void* src, size_t srcSize, size_t blockSizeMax, int splitLevel, ZSTD_strategy strat, S64 savings)
4591 static size_t ZSTD_compress_frameChunk(ZSTD_CCtx* cctx,
4780 void ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq)
4792 static size_t ZSTD_compressContinue_internal (ZSTD_CCtx* cctx,
4853 size_t ZSTD_compressContinue_public(ZSTD_CCtx* cctx,
4862 size_t ZSTD_compressContinue(ZSTD_CCtx* cctx,
4869 static size_t ZSTD_getBlockSize_deprecated(const ZSTD_CCtx* cctx)
4877 size_t ZSTD_getBlockSize(const ZSTD_CCtx* cctx)
4883 size_t ZSTD_compressBlock_deprecated(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize)
4893 size_t ZSTD_compressBlock(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize)
5238 static size_t ZSTD_compressBegin_internal(ZSTD_CCtx* cctx,
5285 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
5305 size_t ZSTD_compressBegin_advanced(ZSTD_CCtx* cctx,
5318 ZSTD_compressBegin_usingDict_deprecated(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, int compressionLevel)
5330 ZSTD_compressBegin_usingDict(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, int compressionLevel)
5335 size_t ZSTD_compressBegin(ZSTD_CCtx* cctx, int compressionLevel)
5344 static size_t ZSTD_writeEpilogue(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity)
5383 void ZSTD_CCtx_trace(ZSTD_CCtx* cctx, size_t extraCSize)
5407 size_t ZSTD_compressEnd_public(ZSTD_CCtx* cctx,
5434 size_t ZSTD_compressEnd(ZSTD_CCtx* cctx,
5441 size_t ZSTD_compress_advanced (ZSTD_CCtx* cctx,
5459 ZSTD_CCtx* cctx,
5472 size_t ZSTD_compress_usingDict(ZSTD_CCtx* cctx,
5487 size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
5503 ZSTD_CCtx* cctx = ZSTD_createCCtx();
5508 ZSTD_CCtx ctxBody;
5824 ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict,
5865 ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict,
5873 size_t ZSTD_compressBegin_usingCDict_deprecated(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict)
5879 size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict)
5887 static size_t ZSTD_compress_usingCDict_internal(ZSTD_CCtx* cctx,
5899 size_t ZSTD_compress_usingCDict_advanced(ZSTD_CCtx* cctx,
5912 size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx,
6088 static size_t ZSTD_nextInputSizeHint(const ZSTD_CCtx* cctx)
6289 static size_t ZSTD_nextInputSizeHint_MTorST(const ZSTD_CCtx* cctx)
6311 ZSTD_setBufferExpectations(ZSTD_CCtx* cctx, const ZSTD_outBuffer* output, const ZSTD_inBuffer* input)
6325 static size_t ZSTD_checkBufferStability(ZSTD_CCtx const* cctx,
6349 static size_t ZSTD_CCtx_init_compressStream2(ZSTD_CCtx* cctx,
6447 size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
6547 ZSTD_CCtx* cctx,
6568 size_t ZSTD_compress2(ZSTD_CCtx* cctx,
6645 ZSTD_transferSequences_wBlockDelim(ZSTD_CCtx* cctx,
6745 ZSTD_transferSequences_noDelim(ZSTD_CCtx* cctx,
6875 typedef size_t (*ZSTD_SequenceCopier_f)(ZSTD_CCtx* cctx,
6945 ZSTD_compressSequences_internal(ZSTD_CCtx* cctx,
7063 size_t ZSTD_compressSequences(ZSTD_CCtx* cctx,
7318 size_t ZSTD_convertBlockSequences(ZSTD_CCtx* cctx,
7478 ZSTD_compressSequencesAndLiterals_internal(ZSTD_CCtx* cctx,
7585 ZSTD_compressSequencesAndLiterals(ZSTD_CCtx* cctx,
7820 ZSTD_CCtx* zc,