Lines Matching refs:base

25     const BYTE* const base = ms->window.base;  in ZSTD_fillHashTableForCDict()  local
26 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCDict()
38 U32 const curr = (U32)(ip - base); in ZSTD_fillHashTableForCDict()
62 const BYTE* const base = ms->window.base; in ZSTD_fillHashTableForCCtx() local
63 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCCtx()
75 U32 const curr = (U32)(ip - base); in ZSTD_fillHashTableForCCtx()
200 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_noDict_generic() local
202 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize); in ZSTD_compressBlock_fast_noDict_generic()
204 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_noDict_generic()
238 { U32 const curr = (U32)(ip0 - base); in ZSTD_compressBlock_fast_noDict_generic()
270 current0 = (U32)(ip0 - base); in ZSTD_compressBlock_fast_noDict_generic()
286 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic()
291 if (matchFound(ip0, base + matchIdx, matchIdx, prefixStartIndex)) { in ZSTD_compressBlock_fast_noDict_generic()
295 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic()
313 current0 = (U32)(ip0 - base); in ZSTD_compressBlock_fast_noDict_generic()
316 if (matchFound(ip0, base + matchIdx, matchIdx, prefixStartIndex)) { in ZSTD_compressBlock_fast_noDict_generic()
322 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic()
379 match0 = base + matchIdx; in ZSTD_compressBlock_fast_noDict_generic()
405 assert(base+current0+2 > istart); /* check base overflow */ in ZSTD_compressBlock_fast_noDict_generic()
406 …hashTable[ZSTD_hashPtr(base+current0+2, hlog, mls)] = current0+2; /* here because current+2 could… in ZSTD_compressBlock_fast_noDict_generic()
407 hashTable[ZSTD_hashPtr(ip0-2, hlog, mls)] = (U32)(ip0-2-base); in ZSTD_compressBlock_fast_noDict_generic()
414 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = (U32)(ip0-base); in ZSTD_compressBlock_fast_noDict_generic()
491 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_dictMatchState_generic() local
497 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
506 const BYTE* const dictBase = dms->window.base; in ZSTD_compressBlock_fast_dictMatchState_generic()
516 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize); in ZSTD_compressBlock_fast_dictMatchState_generic()
550 U32 curr = (U32)(ip0 - base); in ZSTD_compressBlock_fast_dictMatchState_generic()
557 const BYTE* match = base + matchIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
561 base + repIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
628 curr = (U32)(ip0 - base); in ZSTD_compressBlock_fast_dictMatchState_generic()
639 assert(base+curr+2 > istart); /* check base overflow */ in ZSTD_compressBlock_fast_dictMatchState_generic()
640 …hashTable[ZSTD_hashPtr(base+curr+2, hlog, mls)] = curr+2; /* here because curr+2 could be > iend-… in ZSTD_compressBlock_fast_dictMatchState_generic()
641 hashTable[ZSTD_hashPtr(ip0-2, hlog, mls)] = (U32)(ip0-2-base); in ZSTD_compressBlock_fast_dictMatchState_generic()
645 U32 const current2 = (U32)(ip0-base); in ZSTD_compressBlock_fast_dictMatchState_generic()
649 base + repIndex2; in ZSTD_compressBlock_fast_dictMatchState_generic()
717 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_extDict_generic() local
721 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize); in ZSTD_compressBlock_fast_extDict_generic()
727 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
763 { U32 const curr = (U32)(ip0 - base); in ZSTD_compressBlock_fast_extDict_generic()
788 idxBase = idx < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
792 U32 const current2 = (U32)(ip2 - base); in ZSTD_compressBlock_fast_extDict_generic()
794 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
804 current0 = (U32)(ip0 - base); in ZSTD_compressBlock_fast_extDict_generic()
834 idxBase = idx < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
846 current0 = (U32)(ip0 - base); in ZSTD_compressBlock_fast_extDict_generic()
862 idxBase = idx < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
931 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_extDict_generic()
937 assert(base+current0+2 > istart); /* check base overflow */ in ZSTD_compressBlock_fast_extDict_generic()
938 …hashTable[ZSTD_hashPtr(base+current0+2, hlog, mls)] = current0+2; /* here because current+2 could… in ZSTD_compressBlock_fast_extDict_generic()
939 hashTable[ZSTD_hashPtr(ip0-2, hlog, mls)] = (U32)(ip0-2-base); in ZSTD_compressBlock_fast_extDict_generic()
942 U32 const repIndex2 = (U32)(ip0-base) - offset_2; in ZSTD_compressBlock_fast_extDict_generic()
943 …nst BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repIndex2; in ZSTD_compressBlock_fast_extDict_generic()
950 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = (U32)(ip0-base); in ZSTD_compressBlock_fast_extDict_generic()