Home
last modified time | relevance | path

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

/linux-6.1.9/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()
128 size_t const h2 = ZSTD_hashPtr(ip, hBitsL, 8); in ZSTD_compressBlock_doubleFast_generic()
129 size_t const h = ZSTD_hashPtr(ip, hBitsS, mls); in ZSTD_compressBlock_doubleFast_generic()
130 size_t const dictHL = ZSTD_hashPtr(ip, dictHBitsL, 8); in ZSTD_compressBlock_doubleFast_generic()
131 size_t const dictHS = ZSTD_hashPtr(ip, dictHBitsS, mls); in ZSTD_compressBlock_doubleFast_generic()
208 { size_t const hl3 = ZSTD_hashPtr(ip+1, hBitsL, 8); in ZSTD_compressBlock_doubleFast_generic()
209 size_t const dictHLNext = ZSTD_hashPtr(ip+1, dictHBitsL, 8); in ZSTD_compressBlock_doubleFast_generic()
262 hashLong[ZSTD_hashPtr(base+indexToInsert, hBitsL, 8)] = indexToInsert; in ZSTD_compressBlock_doubleFast_generic()
263 hashLong[ZSTD_hashPtr(ip-2, hBitsL, 8)] = (U32)(ip-2-base); in ZSTD_compressBlock_doubleFast_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()
93 size_t const h0 = ZSTD_hashPtr(ip0, hlog, mls); in ZSTD_compressBlock_fast_generic()
95 size_t const h1 = ZSTD_hashPtr(ip1, hlog, mls); 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()
260 size_t const h = ZSTD_hashPtr(ip, hlog, mls); in ZSTD_compressBlock_fast_dictMatchState_generic()
277 size_t const dictHash = ZSTD_hashPtr(ip, dictHLog, mls); 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()
[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()
465 size_t const h = ZSTD_hashPtr(base+idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex_internal()
472 return hashTable[ZSTD_hashPtr(ip, hashLog, mls)]; in ZSTD_insertAndFindFirstIndex_internal()
514 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
583 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
627 ? ZSTD_hashPtr(ip, ddsHashLog, mls) << ZSTD_LAZY_DDSS_BUCKET_LOG : 0; in ZSTD_HcFindBestMatch_generic()
761 matchIndex = dms->hashTable[ZSTD_hashPtr(ip, dms->cParams.hashLog, mls)]; in ZSTD_HcFindBestMatch_generic()
Dzstd_opt.c389 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBt1()
538 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndGetAllMatches()
709 size_t const dmsH = ZSTD_hashPtr(ip, dmsHashLog, mls); in ZSTD_insertBtAndGetAllMatches()
Dzstd_compress_internal.h684 size_t ZSTD_hashPtr(const void* p, U32 hBits, U32 mls) in ZSTD_hashPtr() function