Searched refs:hashTable (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_fast.c | 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() [all …]
|
H A D | zstd_lazy.c | 25 U32* const hashTable = ms->hashTable; in ZSTD_updateDUBT() local 45 U32 const matchIndex = hashTable[h]; in ZSTD_updateDUBT() 51 hashTable[h] = idx; /* Update Hash Table */ in ZSTD_updateDUBT() 164 const U32 * const dictHashTable = dms->hashTable; in ZSTD_DUBT_findBetterDictMatch() 238 U32* const hashTable = ms->hashTable; in ZSTD_DUBT_findBestMatch() local 241 U32 matchIndex = hashTable[h]; in ZSTD_DUBT_findBestMatch() 309 matchIndex = hashTable[h]; in ZSTD_DUBT_findBestMatch() 310 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_DUBT_findBestMatch() 402 U32* const hashTable = ms->hashTable; in ZSTD_dedicatedDictSearch_lazy_loadDictionary() local 418 U32* const tmpHashTable = hashTable; in ZSTD_dedicatedDictSearch_lazy_loadDictionary() [all …]
|
H A D | zstd_opt.c | 418 U32* const hashTable = ms->hashTable; in ZSTD_insertBt1() local 424 U32 matchIndex = hashTable[h]; in ZSTD_insertBt1() 455 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_insertBt1() 572 U32* const hashTable = ms->hashTable; in ZSTD_insertBtAndGetAllMatches() local 574 U32 matchIndex = hashTable[h]; in ZSTD_insertBtAndGetAllMatches() 687 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_insertBtAndGetAllMatches() 744 U32 dictMatchIndex = dms->hashTable[dmsH]; in ZSTD_insertBtAndGetAllMatches()
|
H A D | zstd_double_fast.c | 19 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTable() 56 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_noDict_generic() 263 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 282 const U32* const dictHashLong = dms->hashTable; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 536 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
H A D | zstd_ldm.c | 175 return ldmState->hashTable + (hash << ldmParams.bucketSizeLog); in ZSTD_ldm_getBucket() 542 ZSTD_ldm_reduceTable(ldmState->hashTable, ldmHSize, correction); in ZSTD_ldm_generateSequences()
|
H A D | zstd_compress_internal.h | 218 U32* hashTable; member 255 ldmEntry_t* hashTable; member
|
H A D | zstd_compress.c | 1676 ms->hashTable = (U32*)ZSTD_cwksp_reserve_table(ws, hSize * sizeof(U32)); in ZSTD_reset_matchState() 1901 …zc->ldmState.hashTable = (ldmEntry_t*)ZSTD_cwksp_reserve_aligned(ws, ldmHSize * sizeof(ldmEntry_t)… in ZSTD_resetCCtx_internal() 1902 ZSTD_memset(zc->ldmState.hashTable, 0, ldmHSize * sizeof(ldmEntry_t)); in ZSTD_resetCCtx_internal() 2057 ZSTD_memcpy(cctx->blockState.matchState.hashTable, in ZSTD_resetCCtx_byCopyingCDict() 2058 cdict->matchState.hashTable, in ZSTD_resetCCtx_byCopyingCDict() 2172 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal() 2173 srcCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal() 2273 ZSTD_reduceTable(ms->hashTable, hSize, reducerValue); in ZSTD_reduceIndex()
|
/openbmc/linux/lib/lz4/ |
H A D | lz4_compress.c | 101 const BYTE **hashTable = (const BYTE **)tableBase; in LZ4_putPositionOnHash() local 103 hashTable[h] = p; in LZ4_putPositionOnHash() 108 U32 *hashTable = (U32 *) tableBase; in LZ4_putPositionOnHash() local 110 hashTable[h] = (U32)(p - srcBase); in LZ4_putPositionOnHash() 115 U16 *hashTable = (U16 *) tableBase; in LZ4_putPositionOnHash() local 117 hashTable[h] = (U16)(p - srcBase); in LZ4_putPositionOnHash() 141 const BYTE **hashTable = (const BYTE **) tableBase; in LZ4_getPositionOnHash() local 143 return hashTable[h]; in LZ4_getPositionOnHash() 147 const U32 * const hashTable = (U32 *) tableBase; in LZ4_getPositionOnHash() local 149 return hashTable[h] + srcBase; in LZ4_getPositionOnHash() [all …]
|
H A D | lz4hc_compress.c | 63 memset((void *)hc4->hashTable, 0, sizeof(hc4->hashTable)); in LZ4HC_init() 78 U32 * const hashTable = hc4->hashTable; in LZ4HC_Insert() local 85 size_t delta = idx - hashTable[h]; in LZ4HC_Insert() 92 hashTable[h] = idx; in LZ4HC_Insert() 107 U32 * const HashTable = hc4->hashTable; in LZ4HC_InsertAndFindBestMatch() 179 U32 * const HashTable = hc4->hashTable; in LZ4HC_InsertAndGetWiderMatch()
|
/openbmc/linux/include/linux/ |
H A D | lz4.h | 99 uint32_t hashTable[LZ4_HASH_SIZE_U32]; member 115 unsigned int hashTable[LZ4HC_HASHTABLESIZE]; member
|