Lines Matching refs:hashTable
22 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCDict() local
40 ZSTD_writeTaggedIndex(hashTable, hashAndTag, curr); } in ZSTD_fillHashTableForCDict()
47 if (hashTable[hashAndTag >> ZSTD_SHORT_CACHE_TAG_BITS] == 0) { /* not yet filled */ in ZSTD_fillHashTableForCDict()
48 ZSTD_writeTaggedIndex(hashTable, hashAndTag, curr + p); in ZSTD_fillHashTableForCDict()
59 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCCtx() local
77 hashTable[hash0] = curr; in ZSTD_fillHashTableForCCtx()
83 if (hashTable[hash] == 0) { /* not yet filled */ in ZSTD_fillHashTableForCCtx()
84 hashTable[hash] = curr + p; in ZSTD_fillHashTableForCCtx()
197 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_noDict_generic() local
263 matchIdx = hashTable[hash0]; in ZSTD_compressBlock_fast_noDict_generic()
271 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic()
286 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic()
295 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic()
301 matchIdx = hashTable[hash1]; in ZSTD_compressBlock_fast_noDict_generic()
314 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic()
322 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic()
328 matchIdx = hashTable[hash1]; 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()
487 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic() local
504 const U32* const dictHashTable = dms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic()
549 U32 matchIndex = hashTable[hash0]; in ZSTD_compressBlock_fast_dictMatchState_generic()
564 hashTable[hash0] = curr; /* update hash table */ in ZSTD_compressBlock_fast_dictMatchState_generic()
618 matchIndex = hashTable[hash1]; 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()
656 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = current2; in ZSTD_compressBlock_fast_dictMatchState_generic()
713 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_extDict_generic() local
787 idx = hashTable[hash0]; in ZSTD_compressBlock_fast_extDict_generic()
805 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_extDict_generic()
833 idx = hashTable[hash1]; in ZSTD_compressBlock_fast_extDict_generic()
847 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_extDict_generic()
861 idx = hashTable[hash1]; in ZSTD_compressBlock_fast_extDict_generic()
931 hashTable[hash1] = (U32)(ip1 - base); 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()
950 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = (U32)(ip0-base); in ZSTD_compressBlock_fast_extDict_generic()