Home
last modified time | relevance | path

Searched refs:ZSTD_hashPtr (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_double_fast.c37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable()
38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTable()
117 hl0 = ZSTD_hashPtr(ip, hBitsL, 8); in ZSTD_compressBlock_doubleFast_noDict_generic()
123 const size_t hs0 = ZSTD_hashPtr(ip, hBitsS, mls); in ZSTD_compressBlock_doubleFast_noDict_generic()
138 hl1 = ZSTD_hashPtr(ip1, hBitsL, 8); in ZSTD_compressBlock_doubleFast_noDict_generic()
231 hashLong[ZSTD_hashPtr(base+indexToInsert, hBitsL, 8)] = indexToInsert; in ZSTD_compressBlock_doubleFast_noDict_generic()
232 hashLong[ZSTD_hashPtr(ip-2, hBitsL, 8)] = (U32)(ip-2-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
233 hashSmall[ZSTD_hashPtr(base+indexToInsert, hBitsS, mls)] = indexToInsert; in ZSTD_compressBlock_doubleFast_noDict_generic()
234 hashSmall[ZSTD_hashPtr(ip-1, hBitsS, mls)] = (U32)(ip-1-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
244 hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_noDict_generic()
[all …]
Dzstd_fast.c33 size_t const hash0 = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_fillHashTable()
39 size_t const hash = ZSTD_hashPtr(ip + p, hBits, mls); in ZSTD_fillHashTable()
163 hash0 = ZSTD_hashPtr(ip0, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic()
164 hash1 = ZSTD_hashPtr(ip1, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic()
206 hash1 = ZSTD_hashPtr(ip2, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic()
235 hash1 = ZSTD_hashPtr(ip2, hlog, mls); 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()
427 size_t const h = ZSTD_hashPtr(ip, hlog, mls); in ZSTD_compressBlock_fast_dictMatchState_generic()
[all …]
Dzstd_lazy.c44 … size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */ in ZSTD_updateDUBT()
166 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBetterDictMatch()
240 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBestMatch()
431 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
500 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
631 size_t const h = ZSTD_hashPtr(base+idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex_internal()
638 return hashTable[ZSTD_hashPtr(ip, hashLog, mls)]; in ZSTD_insertAndFindFirstIndex_internal()
677 ? ZSTD_hashPtr(ip, ddsHashLog, mls) << ZSTD_LAZY_DDSS_BUCKET_LOG : 0; in ZSTD_HcFindBestMatch()
729 matchIndex = dms->hashTable[ZSTD_hashPtr(ip, dms->cParams.hashLog, mls)]; in ZSTD_HcFindBestMatch()
873 U32 const hash = (U32)ZSTD_hashPtr(base + idx, hashLog + ZSTD_ROW_HASH_TAG_BITS, mls); in ZSTD_row_fillHashCache()
[all …]
Dzstd_opt.c420 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBt1()
573 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndGetAllMatches()
743 size_t const dmsH = ZSTD_hashPtr(ip, dmsHashLog, mls); in ZSTD_insertBtAndGetAllMatches()
Dzstd_compress_internal.h810 size_t ZSTD_hashPtr(const void* p, U32 hBits, U32 mls) in ZSTD_hashPtr() function