• Home
  • Raw
  • Download

Lines Matching refs:h32

695 static xxh_u32 XXH32_avalanche(xxh_u32 h32)  in XXH32_avalanche()  argument
697 h32 ^= h32 >> 15; in XXH32_avalanche()
698 h32 *= PRIME32_2; in XXH32_avalanche()
699 h32 ^= h32 >> 13; in XXH32_avalanche()
700 h32 *= PRIME32_3; in XXH32_avalanche()
701 h32 ^= h32 >> 16; in XXH32_avalanche()
702 return(h32); in XXH32_avalanche()
708 XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH32_finalize() argument
711 h32 += (*ptr++) * PRIME32_5; \ in XXH32_finalize()
712 h32 = XXH_rotl32(h32, 11) * PRIME32_1 ; in XXH32_finalize()
715 h32 += XXH_get32bits(ptr) * PRIME32_3; \ in XXH32_finalize()
717 h32 = XXH_rotl32(h32, 17) * PRIME32_4 ; in XXH32_finalize()
730 return XXH32_avalanche(h32); in XXH32_finalize()
738 return XXH32_avalanche(h32); in XXH32_finalize()
746 return XXH32_avalanche(h32); in XXH32_finalize()
755 return XXH32_avalanche(h32); in XXH32_finalize()
769 case 0: return XXH32_avalanche(h32); in XXH32_finalize()
772 return h32; /* reaching this point is deemed impossible */ in XXH32_finalize()
780 xxh_u32 h32; in XXH32_endian_align() local
803 h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7) in XXH32_endian_align()
806 h32 = seed + PRIME32_5; in XXH32_endian_align()
809 h32 += (xxh_u32)len; in XXH32_endian_align()
811 return XXH32_finalize(h32, input, len&15, align); in XXH32_endian_align()
934 xxh_u32 h32; in XXH32_digest() local
937 h32 = XXH_rotl32(state->v1, 1) in XXH32_digest()
942 h32 = state->v3 /* == seed */ + PRIME32_5; in XXH32_digest()
945 h32 += state->total_len_32; in XXH32_digest()
947 return XXH32_finalize(h32, (const xxh_u8*)state->mem32, state->memsize, XXH_aligned); in XXH32_digest()