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()
53 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_generic() local
99 U32 const matchIndex0 = hashTable[h0]; in ZSTD_compressBlock_fast_generic()
100 U32 const matchIndex1 = hashTable[h1]; in ZSTD_compressBlock_fast_generic()
110 hashTable[h0] = current0; /* update hash table */ in ZSTD_compressBlock_fast_generic()
111 hashTable[h1] = current1; /* update hash table */ in ZSTD_compressBlock_fast_generic()
160 …hashTable[ZSTD_hashPtr(base+current0+2, hlog, mls)] = current0+2; /* here because current+2 could… in ZSTD_compressBlock_fast_generic()
161 hashTable[ZSTD_hashPtr(ip0-2, hlog, mls)] = (U32)(ip0-2-base); in ZSTD_compressBlock_fast_generic()
168 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = (U32)(ip0-base); in ZSTD_compressBlock_fast_generic()
212 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic() local
229 const U32* const dictHashTable = dms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic()
262 U32 const matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_dictMatchState_generic()
268 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_dictMatchState_generic()
320 …hashTable[ZSTD_hashPtr(base+curr+2, hlog, mls)] = curr+2; /* here because curr+2 could be > iend-… in ZSTD_compressBlock_fast_dictMatchState_generic()
321 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base); in ZSTD_compressBlock_fast_dictMatchState_generic()
336 hashTable[ZSTD_hashPtr(ip, hlog, mls)] = current2; in ZSTD_compressBlock_fast_dictMatchState_generic()
380 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_extDict_generic() local
410 const U32 matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_extDict_generic()
417 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_extDict_generic()
449 hashTable[ZSTD_hashPtr(base+curr+2, hlog, mls)] = curr+2; in ZSTD_compressBlock_fast_extDict_generic()
450 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base); in ZSTD_compressBlock_fast_extDict_generic()
462 hashTable[ZSTD_hashPtr(ip, hlog, mls)] = current2; in ZSTD_compressBlock_fast_extDict_generic()