• Home
  • Raw
  • Download

Lines Matching refs:h

953 static U32 ZSTD_hash3(U32 u, U32 h) { return ((u << (32 - 24)) * prime3bytes) >> (32 - h); }  in ZSTD_hash3()  argument
954 ZSTD_STATIC size_t ZSTD_hash3Ptr(const void *ptr, U32 h) { return ZSTD_hash3(ZSTD_readLE32(ptr), h)… in ZSTD_hash3Ptr() argument
957 static U32 ZSTD_hash4(U32 u, U32 h) { return (u * prime4bytes) >> (32 - h); } in ZSTD_hash4() argument
958 static size_t ZSTD_hash4Ptr(const void *ptr, U32 h) { return ZSTD_hash4(ZSTD_read32(ptr), h); } in ZSTD_hash4Ptr() argument
961 static size_t ZSTD_hash5(U64 u, U32 h) { return (size_t)(((u << (64 - 40)) * prime5bytes) >> (64 - in ZSTD_hash5() argument
962 static size_t ZSTD_hash5Ptr(const void *p, U32 h) { return ZSTD_hash5(ZSTD_readLE64(p), h); } in ZSTD_hash5Ptr() argument
965 static size_t ZSTD_hash6(U64 u, U32 h) { return (size_t)(((u << (64 - 48)) * prime6bytes) >> (64 - in ZSTD_hash6() argument
966 static size_t ZSTD_hash6Ptr(const void *p, U32 h) { return ZSTD_hash6(ZSTD_readLE64(p), h); } in ZSTD_hash6Ptr() argument
969 static size_t ZSTD_hash7(U64 u, U32 h) { return (size_t)(((u << (64 - 56)) * prime7bytes) >> (64 - in ZSTD_hash7() argument
970 static size_t ZSTD_hash7Ptr(const void *p, U32 h) { return ZSTD_hash7(ZSTD_readLE64(p), h); } in ZSTD_hash7Ptr() argument
973 static size_t ZSTD_hash8(U64 u, U32 h) { return (size_t)(((u)*prime8bytes) >> (64 - h)); } in ZSTD_hash8() argument
974 static size_t ZSTD_hash8Ptr(const void *p, U32 h) { return ZSTD_hash8(ZSTD_readLE64(p), h); } in ZSTD_hash8Ptr() argument
1037 size_t const h = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_compressBlock_fast_generic() local
1039 U32 const matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_generic()
1041 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_generic()
1137 const size_t h = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_compressBlock_fast_extDict_generic() local
1138 const U32 matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_extDict_generic()
1146 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_extDict_generic()
1286 size_t const h = ZSTD_hashPtr(ip, hBitsS, mls); in ZSTD_compressBlock_doubleFast_generic() local
1289 U32 const matchIndexS = hashSmall[h]; in ZSTD_compressBlock_doubleFast_generic()
1292 hashLong[h2] = hashSmall[h] = curr; /* update hash tables */ in ZSTD_compressBlock_doubleFast_generic()
1565 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBt1() local
1569 U32 matchIndex = hashTable[h]; in ZSTD_insertBt1()
1586 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_insertBt1()
1648 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndFindBestMatch() local
1652 U32 matchIndex = hashTable[h]; in ZSTD_insertBtAndFindBestMatch()
1668 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_insertBtAndFindBestMatch()
1807 size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex() local
1808 NEXT_IN_CHAIN(idx, chainMask) = hashTable[h]; in ZSTD_insertAndFindFirstIndex()
1809 hashTable[h] = idx; in ZSTD_insertAndFindFirstIndex()