Lines Matching refs:base

28     const BYTE* const base = ms->window.base;  in ZSTD_fillDoubleHashTableForCDict()  local
29 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCDict()
38 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCDict()
66 const BYTE* const base = ms->window.base; in ZSTD_fillDoubleHashTableForCCtx() local
67 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCCtx()
76 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCCtx()
115 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_doubleFast_noDict_generic() local
118 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize); in ZSTD_compressBlock_doubleFast_noDict_generic()
121 const BYTE* const prefixLowest = base + prefixLowestIndex; in ZSTD_compressBlock_doubleFast_noDict_generic()
160 U32 const current = (U32)(ip - base); in ZSTD_compressBlock_doubleFast_noDict_generic()
179 matchl0 = base + idxl0; in ZSTD_compressBlock_doubleFast_noDict_generic()
185 curr = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
186 matchs0 = base + idxs0; in ZSTD_compressBlock_doubleFast_noDict_generic()
215 matchl1 = base + idxl1; in ZSTD_compressBlock_doubleFast_noDict_generic()
288 hashLong[hl1] = (U32)(ip1 - base); in ZSTD_compressBlock_doubleFast_noDict_generic()
302 hashLong[ZSTD_hashPtr(base+indexToInsert, hBitsL, 8)] = indexToInsert; in ZSTD_compressBlock_doubleFast_noDict_generic()
303 hashLong[ZSTD_hashPtr(ip-2, hBitsL, 8)] = (U32)(ip-2-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
304 hashSmall[ZSTD_hashPtr(base+indexToInsert, hBitsS, mls)] = indexToInsert; in ZSTD_compressBlock_doubleFast_noDict_generic()
305 hashSmall[ZSTD_hashPtr(ip-1, hBitsS, mls)] = (U32)(ip-1-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
315 hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
316 hashLong[ZSTD_hashPtr(ip, hBitsL, 8)] = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
339 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
343 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
346 const BYTE* const prefixLowest = base + prefixLowestIndex; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
356 const BYTE* const dictBase = dms->window.base; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
396 U32 const curr = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
399 const BYTE* matchLong = base + matchIndexL; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
400 const BYTE* match = base + matchIndexS; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
404 base + repIndex; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
463 const BYTE* matchL3 = base + matchIndexL3; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
512 hashLong[ZSTD_hashPtr(base+indexToInsert, hBitsL, 8)] = indexToInsert; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
513 hashLong[ZSTD_hashPtr(ip-2, hBitsL, 8)] = (U32)(ip-2-base); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
514 hashSmall[ZSTD_hashPtr(base+indexToInsert, hBitsS, mls)] = indexToInsert; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
515 hashSmall[ZSTD_hashPtr(ip-1, hBitsS, mls)] = (U32)(ip-1-base); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
520 U32 const current2 = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
524 base + repIndex2; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
626 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_doubleFast_extDict_generic() local
627 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize); in ZSTD_compressBlock_doubleFast_extDict_generic()
632 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
648 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
653 const BYTE* const matchLongBase = matchLongIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
656 const U32 curr = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_extDict_generic()
658 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
685 const BYTE* const match3Base = matchIndex3 < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
720 hashLong[ZSTD_hashPtr(base+indexToInsert, hBitsL, 8)] = indexToInsert; in ZSTD_compressBlock_doubleFast_extDict_generic()
721 hashLong[ZSTD_hashPtr(ip-2, hBitsL, 8)] = (U32)(ip-2-base); in ZSTD_compressBlock_doubleFast_extDict_generic()
722 hashSmall[ZSTD_hashPtr(base+indexToInsert, hBitsS, mls)] = indexToInsert; in ZSTD_compressBlock_doubleFast_extDict_generic()
723 hashSmall[ZSTD_hashPtr(ip-1, hBitsS, mls)] = (U32)(ip-1-base); in ZSTD_compressBlock_doubleFast_extDict_generic()
728 U32 const current2 = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_extDict_generic()
730 … const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repIndex2; in ZSTD_compressBlock_doubleFast_extDict_generic()