Lines Matching refs:h

947 LZ4_FORCE_INLINE void LZ4_clearHash(U32 h, void *tableBase, tableType_t const tableType)  in LZ4_clearHash()  argument
960 hashTable[h] = NULL; in LZ4_clearHash()
966 hashTable[h] = 0; in LZ4_clearHash()
972 hashTable[h] = 0; in LZ4_clearHash()
978 LZ4_FORCE_INLINE void LZ4_putIndexOnHash(U32 idx, U32 h, void *tableBase, tableType_t const tableTy… in LZ4_putIndexOnHash() argument
992 hashTable[h] = idx; in LZ4_putIndexOnHash()
999 hashTable[h] = (U16)idx; in LZ4_putIndexOnHash()
1005 LZ4_FORCE_INLINE void LZ4_putPositionOnHash(const BYTE *p, U32 h, in LZ4_putPositionOnHash() argument
1019 hashTable[h] = p; in LZ4_putPositionOnHash()
1025 hashTable[h] = (U32)(p - srcBase); in LZ4_putPositionOnHash()
1031 hashTable[h] = (U16)(p - srcBase); in LZ4_putPositionOnHash()
1039 U32 const h = LZ4_hashPosition(p, tableType); in LZ4_putPosition() local
1040 LZ4_putPositionOnHash(p, h, tableBase, tableType, srcBase); in LZ4_putPosition()
1049 LZ4_FORCE_INLINE U32 LZ4_getIndexOnHash(U32 h, const void *tableBase, tableType_t tableType) in LZ4_getIndexOnHash() argument
1055 assert(h < (1U << (LZ4_MEMORY_USAGE - 2))); in LZ4_getIndexOnHash()
1056 return hashTable[h]; in LZ4_getIndexOnHash()
1061 assert(h < (1U << (LZ4_MEMORY_USAGE - 1))); in LZ4_getIndexOnHash()
1062 return hashTable[h]; in LZ4_getIndexOnHash()
1068 static const BYTE *LZ4_getPositionOnHash(U32 h, const void *tableBase, tableType_t tableType, const… in LZ4_getPositionOnHash() argument
1073 return hashTable[h]; in LZ4_getPositionOnHash()
1078 return hashTable[h] + srcBase; in LZ4_getPositionOnHash()
1082 return hashTable[h] + srcBase; in LZ4_getPositionOnHash()
1091 U32 const h = LZ4_hashPosition(p, tableType); in LZ4_getPosition() local
1092 return LZ4_getPositionOnHash(h, tableBase, tableType, srcBase); in LZ4_getPosition()
1244 U32 const h = forwardH; in LZ4_compress_generic_validated() local
1253 match = LZ4_getPositionOnHash(h, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1255 LZ4_putPositionOnHash(ip, h, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1267 U32 const h = forwardH; in LZ4_compress_generic_validated() local
1269 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1286 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
1317 LZ4_putIndexOnHash(current, h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1463 U32 const h = LZ4_hashPosition(ptr, tableType); in LZ4_compress_generic_validated() local
1464 LZ4_clearHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1519 U32 const h = LZ4_hashPosition(ip, tableType); in LZ4_compress_generic_validated() local
1521 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1528 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
1556 LZ4_putIndexOnHash(current, h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()