Lines Matching defs:matchState

78     ZSTD_matchState_t matchState;
1614 * Controls, for this matchState reset, whether the tables need to be cleared /
1618 * the matchState contents in from a CDict).
1626 * Controls, for this matchState reset, whether indexing can continue where it
1790 int const indexTooClose = ZSTD_indexTooCloseToMax(zc->blockState.matchState.window);
1840 zc->blockState.matchState.cParams = params->cParams;
1889 &zc->blockState.matchState,
1926 assert(!ZSTD_window_hasExtDict(cctx->blockState.matchState.window));
1950 size_t cutoff = attachDictSizeCutoffs[cdict->matchState.cParams.strategy];
1951 int const dedicatedDictSearch = cdict->matchState.dedicatedDictSearch;
1971 ZSTD_compressionParameters adjusted_cdict_cParams = cdict->matchState.cParams;
1978 if (cdict->matchState.dedicatedDictSearch) {
1992 { const U32 cdictEnd = (U32)( cdict->matchState.window.nextSrc
1993 - cdict->matchState.window.base);
1994 const U32 cdictLen = cdictEnd - cdict->matchState.window.dictLimit;
2000 cctx->blockState.matchState.dictMatchState = &cdict->matchState;
2004 if (cctx->blockState.matchState.window.dictLimit < cdictEnd) {
2005 cctx->blockState.matchState.window.nextSrc =
2006 cctx->blockState.matchState.window.base + cdictEnd;
2007 ZSTD_window_clear(&cctx->blockState.matchState.window);
2010 cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit;
2028 const ZSTD_compressionParameters *cdict_cParams = &cdict->matchState.cParams;
2030 assert(!cdict->matchState.dedicatedDictSearch);
2057 ZSTD_memcpy(cctx->blockState.matchState.hashTable,
2058 cdict->matchState.hashTable,
2062 ZSTD_memcpy(cctx->blockState.matchState.chainTable,
2063 cdict->matchState.chainTable,
2069 ZSTD_memcpy(cctx->blockState.matchState.tagTable,
2070 cdict->matchState.tagTable,
2076 { int const h3log = cctx->blockState.matchState.hashLog3;
2078 assert(cdict->matchState.hashLog3 == 0);
2079 ZSTD_memset(cctx->blockState.matchState.hashTable3, 0, h3Size * sizeof(U32));
2085 { ZSTD_matchState_t const* srcMatchState = &cdict->matchState;
2086 ZSTD_matchState_t* dstMatchState = &cctx->blockState.matchState;
2157 assert(dstCCtx->blockState.matchState.hashLog3 == srcCCtx->blockState.matchState.hashLog3);
2169 int const h3log = srcCCtx->blockState.matchState.hashLog3;
2172 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable,
2173 srcCCtx->blockState.matchState.hashTable,
2175 ZSTD_memcpy(dstCCtx->blockState.matchState.chainTable,
2176 srcCCtx->blockState.matchState.chainTable,
2178 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable3,
2179 srcCCtx->blockState.matchState.hashTable3,
2187 const ZSTD_matchState_t* srcMatchState = &srcCCtx->blockState.matchState;
2188 ZSTD_matchState_t* dstMatchState = &dstCCtx->blockState.matchState;
2725 ZSTD_matchState_t* const ms = &zc->blockState.matchState;
3587 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit,
3588 (unsigned)zc->blockState.matchState.nextToUpdate);
3685 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit,
3686 (unsigned)zc->blockState.matchState.nextToUpdate);
3798 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, (unsigned)zc->blockState.matchState.nextToUpdate, srcSize);
3860 ZSTD_matchState_t* const ms = &cctx->blockState.matchState;
4025 ZSTD_matchState_t* const ms = &cctx->blockState.matchState;
4426 cctx->blockState.prevCBlock, &cctx->blockState.matchState,
4431 cctx->blockState.prevCBlock, &cctx->blockState.matchState,
4678 cdict->matchState.cParams = params.cParams;
4679 cdict->matchState.dedicatedDictSearch = params.enableDedicatedDictSearch;
4697 &cdict->matchState,
4710 &cdict->cBlockState, &cdict->matchState, NULL, &cdict->workspace,
4922 return cdict->matchState.cParams;