Lines Matching refs:srcCCtx
2210 const ZSTD_CCtx* srcCCtx, in ZSTD_copyCCtx_internal() argument
2215 RETURN_ERROR_IF(srcCCtx->stage!=ZSTDcs_init, stage_wrong, in ZSTD_copyCCtx_internal()
2218 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal()
2221 params.cParams = srcCCtx->appliedParams.cParams; in ZSTD_copyCCtx_internal()
2222 assert(srcCCtx->appliedParams.useRowMatchFinder != ZSTD_ps_auto); in ZSTD_copyCCtx_internal()
2223 assert(srcCCtx->appliedParams.useBlockSplitter != ZSTD_ps_auto); in ZSTD_copyCCtx_internal()
2224 assert(srcCCtx->appliedParams.ldmParams.enableLdm != ZSTD_ps_auto); in ZSTD_copyCCtx_internal()
2225 params.useRowMatchFinder = srcCCtx->appliedParams.useRowMatchFinder; in ZSTD_copyCCtx_internal()
2226 params.useBlockSplitter = srcCCtx->appliedParams.useBlockSplitter; in ZSTD_copyCCtx_internal()
2227 params.ldmParams = srcCCtx->appliedParams.ldmParams; in ZSTD_copyCCtx_internal()
2232 … assert(dstCCtx->appliedParams.cParams.windowLog == srcCCtx->appliedParams.cParams.windowLog); in ZSTD_copyCCtx_internal()
2233 assert(dstCCtx->appliedParams.cParams.strategy == srcCCtx->appliedParams.cParams.strategy); in ZSTD_copyCCtx_internal()
2234 assert(dstCCtx->appliedParams.cParams.hashLog == srcCCtx->appliedParams.cParams.hashLog); in ZSTD_copyCCtx_internal()
2235 assert(dstCCtx->appliedParams.cParams.chainLog == srcCCtx->appliedParams.cParams.chainLog); in ZSTD_copyCCtx_internal()
2236 assert(dstCCtx->blockState.matchState.hashLog3 == srcCCtx->blockState.matchState.hashLog3); in ZSTD_copyCCtx_internal()
2242 { size_t const chainSize = ZSTD_allocateChainTable(srcCCtx->appliedParams.cParams.strategy, in ZSTD_copyCCtx_internal()
2243 srcCCtx->appliedParams.useRowMatchFinder, in ZSTD_copyCCtx_internal()
2245 ? ((size_t)1 << srcCCtx->appliedParams.cParams.chainLog) in ZSTD_copyCCtx_internal()
2247 size_t const hSize = (size_t)1 << srcCCtx->appliedParams.cParams.hashLog; in ZSTD_copyCCtx_internal()
2248 int const h3log = srcCCtx->blockState.matchState.hashLog3; in ZSTD_copyCCtx_internal()
2252 srcCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal()
2255 srcCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal()
2258 srcCCtx->blockState.matchState.hashTable3, in ZSTD_copyCCtx_internal()
2266 const ZSTD_matchState_t* srcMatchState = &srcCCtx->blockState.matchState; in ZSTD_copyCCtx_internal()
2272 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx_internal()
2273 dstCCtx->dictContentSize = srcCCtx->dictContentSize; in ZSTD_copyCCtx_internal()
2276 …ZSTD_memcpy(dstCCtx->blockState.prevCBlock, srcCCtx->blockState.prevCBlock, sizeof(*srcCCtx->block… in ZSTD_copyCCtx_internal()
2286 size_t ZSTD_copyCCtx(ZSTD_CCtx* dstCCtx, const ZSTD_CCtx* srcCCtx, unsigned long long pledgedSrcSiz… in ZSTD_copyCCtx() argument
2289 ZSTD_buffered_policy_e const zbuff = srcCCtx->bufferedPolicy; in ZSTD_copyCCtx()
2294 return ZSTD_copyCCtx_internal(dstCCtx, srcCCtx, in ZSTD_copyCCtx()