Home
last modified time | relevance | path

Searched refs:dictLimit (Results 1 – 3 of 3) sorted by relevance

/lib/lz4/
Dlz4hc_compress.c69 hc4->dictLimit = 64 * KB; in LZ4HC_init()
110 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndFindBestMatch() local
125 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch()
144 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch()
153 base + dictLimit, in LZ4HC_InsertAndFindBestMatch()
181 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndGetWiderMatch() local
182 const BYTE * const lowPrefixPtr = base + dictLimit; in LZ4HC_InsertAndGetWiderMatch()
198 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch()
230 const BYTE *vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndGetWiderMatch()
239 mlt += LZ4_count(ip + mlt, base + dictLimit, in LZ4HC_InsertAndGetWiderMatch()
[all …]
/lib/zstd/
Dcompress.c57 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()
[all …]
Dzstd_opt.h249 const U32 dictLimit = zc->dictLimit; in ZSTD_insertBtAndGetAllMatches() local
250 const BYTE *const dictEnd = dictBase + dictLimit; in ZSTD_insertBtAndGetAllMatches()
251 const BYTE *const prefixStart = base + dictLimit; in ZSTD_insertBtAndGetAllMatches()
268 if ((!extDict) || matchIndex3 >= dictLimit) { in ZSTD_insertBtAndGetAllMatches()
300 if ((!extDict) || (matchIndex + matchLength >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
308 if (matchIndex + matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches()
416 const BYTE *const prefixStart = base + ctx->dictLimit; in ZSTD_compressBlock_opt_generic()
710 const U32 dictLimit = ctx->dictLimit; in ZSTD_compressBlock_opt_extDict_generic() local
711 const BYTE *const prefixStart = base + dictLimit; in ZSTD_compressBlock_opt_extDict_generic()
713 const BYTE *const dictEnd = dictBase + dictLimit; in ZSTD_compressBlock_opt_extDict_generic()
[all …]