Lines Matching defs:dictLimit

57 	U32 dictLimit;	/* below that point, need extDict */
223 cctx->dictLimit = end;
295 zc->dictLimit = 0;
375 dstCCtx->dictLimit = srcCCtx->dictLimit;
1017 const U32 lowestIndex = cctx->dictLimit;
1128 const U32 dictLimit = ctx->dictLimit;
1129 const BYTE *const lowPrefixPtr = base + dictLimit;
1130 const BYTE *const dictEnd = dictBase + dictLimit;
1139 const BYTE *matchBase = matchIndex < dictLimit ? dictBase : base;
1143 const BYTE *repBase = repIndex < dictLimit ? dictBase : base;
1148 if ((((U32)((dictLimit - 1) - repIndex) >= 3) /* intentional underflow */ & (repIndex > lowestIndex)) &&
1150 const BYTE *repMatchEnd = repIndex < dictLimit ? dictEnd : iend;
1160 const BYTE *matchEnd = matchIndex < dictLimit ? dictEnd : iend;
1161 const BYTE *lowMatchPtr = matchIndex < dictLimit ? dictStart : lowPrefixPtr;
1188 const BYTE *repMatch2 = repIndex2 < dictLimit ? dictBase + repIndex2 : base + repIndex2;
1189 if ((((U32)((dictLimit - 1) - repIndex2) >= 3) & (repIndex2 > lowestIndex)) /* intentional overflow */
1191 const BYTE *const repEnd2 = repIndex2 < dictLimit ? dictEnd : iend;
1265 const U32 lowestIndex = cctx->dictLimit;
1409 const U32 dictLimit = ctx->dictLimit;
1410 const BYTE *const lowPrefixPtr = base + dictLimit;
1411 const BYTE *const dictEnd = dictBase + dictLimit;
1420 const BYTE *matchBase = matchIndex < dictLimit ? dictBase : base;
1425 const BYTE *matchLongBase = matchLongIndex < dictLimit ? dictBase : base;
1430 const BYTE *repBase = repIndex < dictLimit ? dictBase : base;
1435 if ((((U32)((dictLimit - 1) - repIndex) >= 3) /* intentional underflow */ & (repIndex > lowestIndex)) &&
1437 const BYTE *repMatchEnd = repIndex < dictLimit ? dictEnd : iend;
1443 const BYTE *matchEnd = matchLongIndex < dictLimit ? dictEnd : iend;
1444 const BYTE *lowMatchPtr = matchLongIndex < dictLimit ? dictStart : lowPrefixPtr;
1460 const BYTE *const match3Base = matchIndex3 < dictLimit ? dictBase : base;
1465 const BYTE *matchEnd = matchIndex3 < dictLimit ? dictEnd : iend;
1466 const BYTE *lowMatchPtr = matchIndex3 < dictLimit ? dictStart : lowPrefixPtr;
1476 const BYTE *matchEnd = matchIndex < dictLimit ? dictEnd : iend;
1477 const BYTE *lowMatchPtr = matchIndex < dictLimit ? dictStart : lowPrefixPtr;
1510 const BYTE *repMatch2 = repIndex2 < dictLimit ? dictBase + repIndex2 : base + repIndex2;
1511 if ((((U32)((dictLimit - 1) - repIndex2) >= 3) & (repIndex2 > lowestIndex)) /* intentional overflow */
1513 const BYTE *const repEnd2 = repIndex2 < dictLimit ? dictEnd : iend;
1573 const U32 dictLimit = zc->dictLimit;
1574 const BYTE *const dictEnd = dictBase + dictLimit;
1575 const BYTE *const prefixStart = base + dictLimit;
1592 if ((!extDict) || (matchIndex + matchLength >= dictLimit)) {
1599 if (matchIndex + matchLength >= dictLimit)
1656 const U32 dictLimit = zc->dictLimit;
1657 const BYTE *const dictEnd = dictBase + dictLimit;
1658 const BYTE *const prefixStart = base + dictLimit;
1675 if ((!extDict) || (matchIndex + matchLength >= dictLimit)) {
1682 if (matchIndex + matchLength >= dictLimit)
1828 const U32 dictLimit = zc->dictLimit;
1829 const BYTE *const prefixStart = base + dictLimit;
1830 const BYTE *const dictEnd = dictBase + dictLimit;
1843 if ((!extDict) || matchIndex >= dictLimit) {
1849 if (ZSTD_read32(match) == ZSTD_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table construction) */
1905 const BYTE *const base = ctx->base + ctx->dictLimit;
2067 const U32 dictLimit = ctx->dictLimit;
2069 const BYTE *const prefixStart = base + dictLimit;
2071 const BYTE *const dictEnd = dictBase + dictLimit;
2096 const BYTE *const repBase = repIndex < dictLimit ? dictBase : base;
2098 if (((U32)((dictLimit - 1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */
2101 const BYTE *const repEnd = repIndex < dictLimit ? dictEnd : iend;
2130 const BYTE *const repBase = repIndex < dictLimit ? dictBase : base;
2132 if (((U32)((dictLimit - 1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */
2135 const BYTE *const repEnd = repIndex < dictLimit ? dictEnd : iend;
2165 const BYTE *const repBase = repIndex < dictLimit ? dictBase : base;
2167 if (((U32)((dictLimit - 1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */
2170 const BYTE *const repEnd = repIndex < dictLimit ? dictEnd : iend;
2199 const BYTE *match = (matchIndex < dictLimit) ? dictBase + matchIndex : base + matchIndex;
2200 const BYTE *const mStart = (matchIndex < dictLimit) ? dictStart : prefixStart;
2220 const BYTE *const repBase = repIndex < dictLimit ? dictBase : base;
2222 if (((U32)((dictLimit - 1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */
2225 const BYTE *const repEnd = repIndex < dictLimit ? dictEnd : iend;
2335 ZSTD_blockCompressor const blockCompressor = ZSTD_selectBlockCompressor(zc->params.cParams.strategy, zc->lowLimit < zc->dictLimit);
2387 cctx->dictLimit -= correction;
2399 if (cctx->dictLimit < cctx->lowLimit)
2400 cctx->dictLimit = cctx->lowLimit;
2511 cctx->lowLimit = cctx->dictLimit;
2512 cctx->dictLimit = (U32)(cctx->nextSrc - cctx->base);
2515 cctx->nextToUpdate = cctx->dictLimit;
2516 if (cctx->dictLimit - cctx->lowLimit < HASH_READ_SIZE)
2517 cctx->lowLimit = cctx->dictLimit; /* too small extDict */
2521 if ((ip + srcSize > cctx->dictBase + cctx->lowLimit) & (ip < cctx->dictBase + cctx->dictLimit)) {
2523 U32 const lowLimitMax = (highInputIdx > (ptrdiff_t)cctx->dictLimit) ? cctx->dictLimit : (U32)highInputIdx;
2563 zc->lowLimit = zc->dictLimit;
2564 zc->dictLimit = (U32)(zc->nextSrc - zc->base);
2567 zc->nextToUpdate = zc->dictLimit;