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