Lines Matching refs:base
23 const BYTE* const base = ms->window.base;
24 const BYTE* ip = base + ms->nextToUpdate;
32 U32 const curr = (U32)(ip - base);
103 const BYTE* const base = ms->window.base;
105 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize);
107 const BYTE* const prefixStart = base + prefixStartIndex;
141 { U32 const curr = (U32)(ip0 - base);
173 current0 = (U32)(ip0 - base);
190 mval = MEM_read32(base + idx);
214 current0 = (U32)(ip0 - base);
219 mval = MEM_read32(base + idx);
267 match0 = base + idx;
292 hashTable[hash1] = (U32)(ip1 - base);
298 assert(base+current0+2 > istart); /* check base overflow */
299 hashTable[ZSTD_hashPtr(base+current0+2, hlog, mls)] = current0+2; /* here because current+2 could be > iend-8 */
300 hashTable[ZSTD_hashPtr(ip0-2, hlog, mls)] = (U32)(ip0-2-base);
307 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = (U32)(ip0-base);
381 const BYTE* const base = ms->window.base;
386 const BYTE* const prefixStart = base + prefixStartIndex;
396 const BYTE* const dictBase = dms->window.base;
406 const U32 endIndex = (U32)((size_t)(ip - base) + srcSize);
428 U32 const curr = (U32)(ip-base);
430 const BYTE* match = base + matchIndex;
434 base + repIndex;
486 assert(base+curr+2 > istart); /* check base overflow */
487 hashTable[ZSTD_hashPtr(base+curr+2, hlog, mls)] = curr+2; /* here because curr+2 could be > iend-8 */
488 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base);
492 U32 const current2 = (U32)(ip-base);
496 base + repIndex2;
557 const BYTE* const base = ms->window.base;
562 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize);
568 const BYTE* const prefixStart = base + prefixStartIndex;
586 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base;
588 const U32 curr = (U32)(ip-base);
590 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base;
624 hashTable[ZSTD_hashPtr(base+curr+2, hlog, mls)] = curr+2;
625 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base);
628 U32 const current2 = (U32)(ip-base);
630 const BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repIndex2;