Lines Matching refs:matchState
10067 ZSTD_matchState_t matchState; member
13139 ZSTD_matchState_t matchState; member
14536 if (ZSTD_indexTooCloseToMax(zc->blockState.matchState.window)) { in ZSTD_resetCCtx_internal()
14596 zc->blockState.matchState.cParams = params.cParams; in ZSTD_resetCCtx_internal()
14643 &zc->blockState.matchState, in ZSTD_resetCCtx_internal()
14678 assert(!ZSTD_window_hasExtDict(cctx->blockState.matchState.window)); in ZSTD_invalidateRepCodes()
14702 size_t cutoff = attachDictSizeCutoffs[cdict->matchState.cParams.strategy]; in ZSTD_shouldAttachDict()
14718 { const ZSTD_compressionParameters* const cdict_cParams = &cdict->matchState.cParams; in ZSTD_resetCCtx_byAttachingCDict()
14731 { const U32 cdictEnd = (U32)( cdict->matchState.window.nextSrc in ZSTD_resetCCtx_byAttachingCDict()
14732 - cdict->matchState.window.base); in ZSTD_resetCCtx_byAttachingCDict()
14733 const U32 cdictLen = cdictEnd - cdict->matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict()
14739 cctx->blockState.matchState.dictMatchState = &cdict->matchState; in ZSTD_resetCCtx_byAttachingCDict()
14743 if (cctx->blockState.matchState.window.dictLimit < cdictEnd) { in ZSTD_resetCCtx_byAttachingCDict()
14744 cctx->blockState.matchState.window.nextSrc = in ZSTD_resetCCtx_byAttachingCDict()
14745 cctx->blockState.matchState.window.base + cdictEnd; in ZSTD_resetCCtx_byAttachingCDict()
14746 ZSTD_window_clear(&cctx->blockState.matchState.window); in ZSTD_resetCCtx_byAttachingCDict()
14749 … cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict()
14766 const ZSTD_compressionParameters *cdict_cParams = &cdict->matchState.cParams; in ZSTD_resetCCtx_byCopyingCDict()
14788 memcpy(cctx->blockState.matchState.hashTable, in ZSTD_resetCCtx_byCopyingCDict()
14789 cdict->matchState.hashTable, in ZSTD_resetCCtx_byCopyingCDict()
14791 memcpy(cctx->blockState.matchState.chainTable, in ZSTD_resetCCtx_byCopyingCDict()
14792 cdict->matchState.chainTable, in ZSTD_resetCCtx_byCopyingCDict()
14797 { int const h3log = cctx->blockState.matchState.hashLog3; in ZSTD_resetCCtx_byCopyingCDict()
14799 assert(cdict->matchState.hashLog3 == 0); in ZSTD_resetCCtx_byCopyingCDict()
14800 memset(cctx->blockState.matchState.hashTable3, 0, h3Size * sizeof(U32)); in ZSTD_resetCCtx_byCopyingCDict()
14806 { ZSTD_matchState_t const* srcMatchState = &cdict->matchState; in ZSTD_resetCCtx_byCopyingCDict()
14807 ZSTD_matchState_t* dstMatchState = &cctx->blockState.matchState; in ZSTD_resetCCtx_byCopyingCDict()
14871 assert(dstCCtx->blockState.matchState.hashLog3 == srcCCtx->blockState.matchState.hashLog3); in ZSTD_copyCCtx_internal()
14879 int const h3log = srcCCtx->blockState.matchState.hashLog3; in ZSTD_copyCCtx_internal()
14882 memcpy(dstCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal()
14883 srcCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal()
14885 memcpy(dstCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal()
14886 srcCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal()
14888 memcpy(dstCCtx->blockState.matchState.hashTable3, in ZSTD_copyCCtx_internal()
14889 srcCCtx->blockState.matchState.hashTable3, in ZSTD_copyCCtx_internal()
14897 const ZSTD_matchState_t* srcMatchState = &srcCCtx->blockState.matchState; in ZSTD_copyCCtx_internal()
14898 ZSTD_matchState_t* dstMatchState = &dstCCtx->blockState.matchState; in ZSTD_copyCCtx_internal()
15326 ZSTD_matchState_t* const ms = &zc->blockState.matchState; in ZSTD_buildSeqStore()
15509 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_internal()
15510 (unsigned)zc->blockState.matchState.nextToUpdate); in ZSTD_compressBlock_internal()
15621 …igned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, (unsigned)zc->blockState.… in ZSTD_compressBlock_targetCBlockSize()
15683 ZSTD_matchState_t* const ms = &cctx->blockState.matchState; in ZSTD_compress_frameChunk()
15819 ZSTD_matchState_t* const ms = &cctx->blockState.matchState; in ZSTD_compressContinue_internal()
16189 cctx->blockState.prevCBlock, &cctx->blockState.matchState, in ZSTD_compressBegin_internal()
16194 cctx->blockState.prevCBlock, &cctx->blockState.matchState, in ZSTD_compressBegin_internal()
16442 cdict->matchState.cParams = cParams; in ZSTD_initCDict_internal()
16459 &cdict->matchState, in ZSTD_initCDict_internal()
16474 &cdict->cBlockState, &cdict->matchState, NULL, &cdict->workspace, in ZSTD_initCDict_internal()
16615 return cdict->matchState.cParams; in ZSTD_getCParamsFromCDict()