Lines Matching refs:hashTable
20 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTable() local
34 hashTable[hash0] = curr; in ZSTD_fillHashTable()
40 if (hashTable[hash] == 0) { /* not yet filled */ in ZSTD_fillHashTable()
41 hashTable[hash] = curr + p; in ZSTD_fillHashTable()
99 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_noDict_generic() local
166 idx = hashTable[hash0]; in ZSTD_compressBlock_fast_noDict_generic()
174 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic()
202 idx = hashTable[hash1]; in ZSTD_compressBlock_fast_noDict_generic()
215 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic()
231 idx = hashTable[hash1]; in ZSTD_compressBlock_fast_noDict_generic()
292 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic()
299 …hashTable[ZSTD_hashPtr(base+current0+2, hlog, mls)] = current0+2; /* here because current+2 could… in ZSTD_compressBlock_fast_noDict_generic()
300 hashTable[ZSTD_hashPtr(ip0-2, hlog, mls)] = (U32)(ip0-2-base); in ZSTD_compressBlock_fast_noDict_generic()
307 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = (U32)(ip0-base); in ZSTD_compressBlock_fast_noDict_generic()
377 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic() local
394 const U32* const dictHashTable = dms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic()
429 U32 const matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_dictMatchState_generic()
435 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_dictMatchState_generic()
487 …hashTable[ZSTD_hashPtr(base+curr+2, hlog, mls)] = curr+2; /* here because curr+2 could be > iend-… in ZSTD_compressBlock_fast_dictMatchState_generic()
488 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base); in ZSTD_compressBlock_fast_dictMatchState_generic()
503 hashTable[ZSTD_hashPtr(ip, hlog, mls)] = current2; in ZSTD_compressBlock_fast_dictMatchState_generic()
553 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_extDict_generic() local
585 const U32 matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_extDict_generic()
592 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_extDict_generic()
624 hashTable[ZSTD_hashPtr(base+curr+2, hlog, mls)] = curr+2; in ZSTD_compressBlock_fast_extDict_generic()
625 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base); in ZSTD_compressBlock_fast_extDict_generic()
637 hashTable[ZSTD_hashPtr(ip, hlog, mls)] = current2; in ZSTD_compressBlock_fast_extDict_generic()