Lines Matching refs:base

32     const BYTE* const base = ms->window.base;  in ZSTD_updateDUBT()  local
33 U32 const target = (U32)(ip - base); in ZSTD_updateDUBT()
44 … size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */ in ZSTD_updateDUBT()
74 const BYTE* const base = ms->window.base; in ZSTD_insertDUBT1() local
77 const BYTE* const ip = (current>=dictLimit) ? base + current : dictBase + current; in ZSTD_insertDUBT1()
80 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1()
109 base : dictBase; in ZSTD_insertDUBT1()
118 match = base + matchIndex; /* preparation for next read of match[matchLength] */ in ZSTD_insertDUBT1()
169 const BYTE* const base = ms->window.base; in ZSTD_DUBT_findBetterDictMatch() local
170 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_DUBT_findBetterDictMatch()
171 U32 const current = (U32)(ip-base); in ZSTD_DUBT_findBetterDictMatch()
172 const BYTE* const dictBase = dms->window.base; in ZSTD_DUBT_findBetterDictMatch()
174 U32 const dictHighLimit = (U32)(dms->window.nextSrc - dms->window.base); in ZSTD_DUBT_findBetterDictMatch()
194 …match = base + dictMatchIndex + dictIndexDelta; /* to prepare for next usage of match[matchLengt… in ZSTD_DUBT_findBetterDictMatch()
243 const BYTE* const base = ms->window.base; in ZSTD_DUBT_findBestMatch() local
244 U32 const current = (U32)(ip-base); in ZSTD_DUBT_findBestMatch()
301 const BYTE* const prefixStart = base + dictLimit; in ZSTD_DUBT_findBestMatch()
317 match = base + matchIndex; in ZSTD_DUBT_findBestMatch()
323 … match = base + matchIndex; /* to prepare for next usage of match[matchLength] */ in ZSTD_DUBT_findBestMatch()
387 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtFindBestMatch()
458 const BYTE* const base = ms->window.base; in ZSTD_insertAndFindFirstIndex_internal() local
459 const U32 target = (U32)(ip - base); in ZSTD_insertAndFindFirstIndex_internal()
463 size_t const h = ZSTD_hashPtr(base+idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex_internal()
491 const BYTE* const base = ms->window.base; in ZSTD_HcFindBestMatch_generic() local
494 const BYTE* const prefixStart = base + dictLimit; in ZSTD_HcFindBestMatch_generic()
496 const U32 current = (U32)(ip-base); in ZSTD_HcFindBestMatch_generic()
512 const BYTE* const match = base + matchIndex; in ZSTD_HcFindBestMatch_generic()
540 const BYTE* const dmsBase = dms->window.base; in ZSTD_HcFindBestMatch_generic()
637 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_lazy_generic() local
639 const BYTE* const prefixLowest = base + prefixLowestIndex; in ZSTD_compressBlock_lazy_generic()
655 dms->window.base : NULL; in ZSTD_compressBlock_lazy_generic()
670 U32 const current = (U32)(ip - base); in ZSTD_compressBlock_lazy_generic()
697 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic()
701 base + repIndex; in ZSTD_compressBlock_lazy_generic()
740 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic()
743 base + repIndex; in ZSTD_compressBlock_lazy_generic()
775 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic()
778 base + repIndex; in ZSTD_compressBlock_lazy_generic()
813 U32 const matchIndex = (U32)((start-base) - (offset - ZSTD_REP_MOVE)); in ZSTD_compressBlock_lazy_generic()
814 …ch = (matchIndex < prefixLowestIndex) ? dictBase + matchIndex - dictIndexDelta : base + matchIndex; in ZSTD_compressBlock_lazy_generic()
830 U32 const current2 = (U32)(ip-base); in ZSTD_compressBlock_lazy_generic()
835 base + repIndex; in ZSTD_compressBlock_lazy_generic()
940 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_lazy_extDict_generic() local
942 const BYTE* const prefixStart = base + dictLimit; in ZSTD_compressBlock_lazy_extDict_generic()
971 U32 current = (U32)(ip-base); in ZSTD_compressBlock_lazy_extDict_generic()
976 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_lazy_extDict_generic()
1008 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_lazy_extDict_generic()
1040 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_lazy_extDict_generic()
1068 U32 const matchIndex = (U32)((start-base) - (offset - ZSTD_REP_MOVE)); in ZSTD_compressBlock_lazy_extDict_generic()
1069 … const BYTE* match = (matchIndex < dictLimit) ? dictBase + matchIndex : base + matchIndex; in ZSTD_compressBlock_lazy_extDict_generic()
1084 const U32 repCurrent = (U32)(ip-base); in ZSTD_compressBlock_lazy_extDict_generic()
1087 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_lazy_extDict_generic()