• Home
  • Raw
  • Download

Lines Matching refs:xxh_u64

978 typedef XXH64_hash_t xxh_u64;  typedef
1010 static xxh_u64 XXH_read64(const void* memPtr) { return *(const xxh_u64*) memPtr; } in XXH_read64()
1016 typedef union { xxh_u32 u32; xxh_u64 u64; } __attribute__((packed)) unalign64;
1017 static xxh_u64 XXH_read64(const void* ptr) { return ((const unalign64*)ptr)->u64; } in XXH_read64()
1025 static xxh_u64 XXH_read64(const void* memPtr) in XXH_read64()
1027 xxh_u64 val; in XXH_read64()
1039 static xxh_u64 XXH_swap64 (xxh_u64 x) in XXH_swap64()
1052 XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* ptr) in XXH_readLE64()
1057 static xxh_u64 XXH_readBE64(const void* ptr) in XXH_readBE64()
1062 XXH_FORCE_INLINE xxh_u64
1068 return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u64*)ptr : XXH_swap64(*(const xxh_u64*)ptr); in XXH_readLE64_align()
1074 static const xxh_u64 PRIME64_1 = 0x9E3779B185EBCA87ULL; /* 0b100111100011011101111001101100011000…
1075 static const xxh_u64 PRIME64_2 = 0xC2B2AE3D27D4EB4FULL; /* 0b110000101011001010101110001111010010…
1076 static const xxh_u64 PRIME64_3 = 0x165667B19E3779F9ULL; /* 0b000101100101011001100111101100011001…
1077 static const xxh_u64 PRIME64_4 = 0x85EBCA77C2B2AE63ULL; /* 0b100001011110101111001010011101111100…
1078 static const xxh_u64 PRIME64_5 = 0x27D4EB2F165667C5ULL; /* 0b001001111101010011101011001011110001…
1080 static xxh_u64 XXH64_round(xxh_u64 acc, xxh_u64 input) in XXH64_round()
1088 static xxh_u64 XXH64_mergeRound(xxh_u64 acc, xxh_u64 val) in XXH64_mergeRound()
1096 static xxh_u64 XXH64_avalanche(xxh_u64 h64) in XXH64_avalanche()
1109 static xxh_u64
1110 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH64_finalize()
1117 h64 ^= (xxh_u64)(XXH_get32bits(ptr)) * PRIME64_1; \ in XXH64_finalize()
1122 xxh_u64 const k1 = XXH64_round(0, XXH_get64bits(ptr)); \ in XXH64_finalize()
1232 XXH_FORCE_INLINE xxh_u64
1233 XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align) in XXH64_endian_align()
1236 xxh_u64 h64; in XXH64_endian_align()
1247 xxh_u64 v1 = seed + PRIME64_1 + PRIME64_2; in XXH64_endian_align()
1248 xxh_u64 v2 = seed + PRIME64_2; in XXH64_endian_align()
1249 xxh_u64 v3 = seed + 0; in XXH64_endian_align()
1250 xxh_u64 v4 = seed - PRIME64_1; in XXH64_endian_align()
1269 h64 += (xxh_u64) len; in XXH64_endian_align()
1359 xxh_u64 v1 = state->v1; in XXH64_update()
1360 xxh_u64 v2 = state->v2; in XXH64_update()
1361 xxh_u64 v3 = state->v3; in XXH64_update()
1362 xxh_u64 v4 = state->v4; in XXH64_update()
1389 xxh_u64 h64; in XXH64_digest()
1392 xxh_u64 const v1 = state->v1; in XXH64_digest()
1393 xxh_u64 const v2 = state->v2; in XXH64_digest()
1394 xxh_u64 const v3 = state->v3; in XXH64_digest()
1395 xxh_u64 const v4 = state->v4; in XXH64_digest()
1406 h64 += (xxh_u64) state->total_len; in XXH64_digest()