Lines Matching refs:base

113         unsigned const base = base1 ? 1 : (table[s]>0);  in ZSTD_downscaleStats()  local
114 unsigned const newStat = base + (table[s] >> shift); in ZSTD_downscaleStats()
418 const BYTE* const base = ms->window.base; in ZSTD_insertAndFindFirstIndexHash3() local
420 U32 const target = (U32)(ip - base); in ZSTD_insertAndFindFirstIndexHash3()
425 hashTable3[ZSTD_hash3Ptr(base+idx, hashLog3)] = idx; in ZSTD_insertAndFindFirstIndexHash3()
458 const BYTE* const base = ms->window.base; in ZSTD_insertBt1() local
462 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1()
464 const U32 curr = (U32)(ip-base); in ZSTD_insertBt1()
518 match = base + matchIndex; in ZSTD_insertBt1()
524 match = base + matchIndex; /* to prepare for next usage of match[matchLength] */ in ZSTD_insertBt1()
568 const BYTE* const base = ms->window.base; in ZSTD_updateTree_internal() local
569 U32 const target = (U32)(ip - base); in ZSTD_updateTree_internal()
575 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal()
579 assert((size_t)(ip - base) <= (size_t)(U32)(-1)); in ZSTD_updateTree_internal()
580 assert((size_t)(iend - base) <= (size_t)(U32)(-1)); in ZSTD_updateTree_internal()
604 const BYTE* const base = ms->window.base; in ZSTD_insertBtAndGetAllMatches() local
605 U32 const curr = (U32)(ip-base); in ZSTD_insertBtAndGetAllMatches()
618 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBtAndGetAllMatches()
632 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches()
698 const BYTE* const match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
733 match = base + matchIndex; in ZSTD_insertBtAndGetAllMatches()
741 match = base + matchIndex; /* prepare for match[matchLength] read */ in ZSTD_insertBtAndGetAllMatches()
789 …match = base + dictMatchIndex + dmsIndexDelta; /* to prepare for next usage of match[matchLength… in ZSTD_insertBtAndGetAllMatches()
847 if (ip < ms->window.base + ms->nextToUpdate) in ZSTD_btGetAllMatches_internal()
1091 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_opt_generic() local
1092 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_compressBlock_opt_generic()
1114 (U32)(ip - base), ms->window.dictLimit, ms->nextToUpdate); in ZSTD_compressBlock_opt_generic()
1503 ms->window.base -= srcSize; in ZSTD_initStats_ultra()
1522 U32 const curr = (U32)((const BYTE*)src - ms->window.base); in ZSTD_compressBlock_btultra2()