Lines Matching refs:srcCCtx

2440                             const ZSTD_CCtx* srcCCtx,  in ZSTD_copyCCtx_internal()  argument
2445 RETURN_ERROR_IF(srcCCtx->stage!=ZSTDcs_init, stage_wrong, in ZSTD_copyCCtx_internal()
2448 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal()
2451 params.cParams = srcCCtx->appliedParams.cParams; in ZSTD_copyCCtx_internal()
2452 assert(srcCCtx->appliedParams.useRowMatchFinder != ZSTD_ps_auto); in ZSTD_copyCCtx_internal()
2453 assert(srcCCtx->appliedParams.postBlockSplitter != ZSTD_ps_auto); in ZSTD_copyCCtx_internal()
2454 assert(srcCCtx->appliedParams.ldmParams.enableLdm != ZSTD_ps_auto); in ZSTD_copyCCtx_internal()
2455 params.useRowMatchFinder = srcCCtx->appliedParams.useRowMatchFinder; in ZSTD_copyCCtx_internal()
2456 params.postBlockSplitter = srcCCtx->appliedParams.postBlockSplitter; in ZSTD_copyCCtx_internal()
2457 params.ldmParams = srcCCtx->appliedParams.ldmParams; in ZSTD_copyCCtx_internal()
2459 params.maxBlockSize = srcCCtx->appliedParams.maxBlockSize; in ZSTD_copyCCtx_internal()
2463 … assert(dstCCtx->appliedParams.cParams.windowLog == srcCCtx->appliedParams.cParams.windowLog); in ZSTD_copyCCtx_internal()
2464 assert(dstCCtx->appliedParams.cParams.strategy == srcCCtx->appliedParams.cParams.strategy); in ZSTD_copyCCtx_internal()
2465 assert(dstCCtx->appliedParams.cParams.hashLog == srcCCtx->appliedParams.cParams.hashLog); in ZSTD_copyCCtx_internal()
2466 assert(dstCCtx->appliedParams.cParams.chainLog == srcCCtx->appliedParams.cParams.chainLog); in ZSTD_copyCCtx_internal()
2467 assert(dstCCtx->blockState.matchState.hashLog3 == srcCCtx->blockState.matchState.hashLog3); in ZSTD_copyCCtx_internal()
2473 { size_t const chainSize = ZSTD_allocateChainTable(srcCCtx->appliedParams.cParams.strategy, in ZSTD_copyCCtx_internal()
2474 srcCCtx->appliedParams.useRowMatchFinder, in ZSTD_copyCCtx_internal()
2476 ? ((size_t)1 << srcCCtx->appliedParams.cParams.chainLog) in ZSTD_copyCCtx_internal()
2478 size_t const hSize = (size_t)1 << srcCCtx->appliedParams.cParams.hashLog; in ZSTD_copyCCtx_internal()
2479 U32 const h3log = srcCCtx->blockState.matchState.hashLog3; in ZSTD_copyCCtx_internal()
2483 srcCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal()
2486 srcCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal()
2489 srcCCtx->blockState.matchState.hashTable3, in ZSTD_copyCCtx_internal()
2497 const ZSTD_MatchState_t* srcMatchState = &srcCCtx->blockState.matchState; in ZSTD_copyCCtx_internal()
2503 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx_internal()
2504 dstCCtx->dictContentSize = srcCCtx->dictContentSize; in ZSTD_copyCCtx_internal()
2507 …ZSTD_memcpy(dstCCtx->blockState.prevCBlock, srcCCtx->blockState.prevCBlock, sizeof(*srcCCtx->block… in ZSTD_copyCCtx_internal()
2517 size_t ZSTD_copyCCtx(ZSTD_CCtx* dstCCtx, const ZSTD_CCtx* srcCCtx, unsigned long long pledgedSrcSiz… in ZSTD_copyCCtx() argument
2520 ZSTD_buffered_policy_e const zbuff = srcCCtx->bufferedPolicy; in ZSTD_copyCCtx()
2525 return ZSTD_copyCCtx_internal(dstCCtx, srcCCtx, in ZSTD_copyCCtx()