Lines Matching refs:xxh_u8

987   typedef uint8_t xxh_u8;  typedef
989 typedef unsigned char xxh_u8; typedef
994 # define BYTE xxh_u8
995 # define U8 xxh_u8
1080 const union { xxh_u32 u; xxh_u8 c[4]; } one = { 1 }; in XXH_isLittleEndian()
1143 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readLE32()
1152 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readBE32()
1275 XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH32_finalize()
1354 XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align) in XXH32_endian_align()
1356 const xxh_u8* bEnd = input + len; in XXH32_endian_align()
1362 bEnd=input=(const xxh_u8*)(size_t)16; in XXH32_endian_align()
1367 const xxh_u8* const limit = bEnd - 15; in XXH32_endian_align()
1398 XXH32_update(&state, (const xxh_u8*)input, len); in XXH32()
1405 return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); in XXH32()
1408 return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); in XXH32()
1455 { const xxh_u8* p = (const xxh_u8*)input; in XXH32_update()
1456 const xxh_u8* const bEnd = p + len; in XXH32_update()
1462 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, len); in XXH32_update()
1468 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update()
1480 const xxh_u8* const limit = bEnd - 16; in XXH32_update()
1524 return XXH32_finalize(h32, (const xxh_u8*)state->mem32, state->memsize, XXH_aligned); in XXH32_digest()
1665 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readLE64()
1678 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readBE64()
1757 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH64_finalize()
1892 XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align) in XXH64_endian_align()
1894 const xxh_u8* bEnd = input + len; in XXH64_endian_align()
1900 bEnd=input=(const xxh_u8*)(size_t)32; in XXH64_endian_align()
1905 const xxh_u8* const limit = bEnd - 32; in XXH64_endian_align()
1940 XXH64_update(&state, (const xxh_u8*)input, len); in XXH64()
1947 return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); in XXH64()
1950 return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); in XXH64()
1995 { const xxh_u8* p = (const xxh_u8*)input; in XXH64_update()
1996 const xxh_u8* const bEnd = p + len; in XXH64_update()
2001 XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, len); in XXH64_update()
2007 XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update()
2017 const xxh_u8* const limit = bEnd - 32; in XXH64_update()
2067 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); in XXH64_digest()
2518 XXH_ALIGN(64) static const xxh_u8 XXH3_kSecret[XXH_SECRET_DEFAULT_SIZE] = {
2764 XXH3_len_1to3_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_64b()
2774 { xxh_u8 const c1 = input[0]; in XXH3_len_1to3_64b()
2775 xxh_u8 const c2 = input[len >> 1]; in XXH3_len_1to3_64b()
2776 xxh_u8 const c3 = input[len - 1]; in XXH3_len_1to3_64b()
2786 XXH3_len_4to8_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_64b()
2802 XXH3_len_9to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_64b()
2819 XXH3_len_0to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_64b()
2855 XXH_FORCE_INLINE xxh_u64 XXH3_mix16B(const xxh_u8* XXH_RESTRICT input, in XXH3_mix16B()
2856 const xxh_u8* XXH_RESTRICT secret, xxh_u64 seed64) in XXH3_mix16B()
2889 XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_64b()
2890 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_64b()
2919 XXH3_len_129to240_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_64b()
2920 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_64b()
3508 const xxh_u8* const xinput = (const xxh_u8*) input; /* no alignment restriction */ in XXH3_accumulate_512_scalar()
3509 const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ in XXH3_accumulate_512_scalar()
3524 const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ in XXH3_scrambleAcc_scalar()
3545 const xxh_u8* kSecretPtr = XXH3_kSecret; in XXH3_initCustomSecret_scalar()
3596 XXH_writeLE64((xxh_u8*)customSecret + 16*i, lo); in XXH3_initCustomSecret_scalar()
3597 XXH_writeLE64((xxh_u8*)customSecret + 16*i + 8, hi); in XXH3_initCustomSecret_scalar()
3666 const xxh_u8* XXH_RESTRICT input, in XXH3_accumulate()
3667 const xxh_u8* XXH_RESTRICT secret, in XXH3_accumulate()
3673 const xxh_u8* const in = input + n*XXH_STRIPE_LEN; in XXH3_accumulate()
3683 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_hashLong_internal_loop()
3684 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_internal_loop()
3708 { const xxh_u8* const p = input + len - XXH_STRIPE_LEN; in XXH3_hashLong_internal_loop()
3715 XXH3_mix2Accs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret) in XXH3_mix2Accs()
3723 XXH3_mergeAccs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret, xxh_u64 start) in XXH3_mergeAccs()
3760 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, (const xxh_u8*)secret, secretSize, f_a… in XXH3_hashLong_64b_internal()
3767 …return XXH3_mergeAccs(acc, (const xxh_u8*)secret + XXH_SECRET_MERGEACCS_START, (xxh_u64)len * XXH_… in XXH3_hashLong_64b_internal()
3775 … XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_withSecret()
3790 XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_default()
3818 { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_hashLong_64b_withSeed_internal()
3830 XXH64_hash_t seed, const xxh_u8* secret, size_t secretLen) in XXH3_hashLong_64b_withSeed()
3839 XXH64_hash_t, const xxh_u8* XXH_RESTRICT, size_t);
3855 return XXH3_len_0to16_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); in XXH3_64bits_internal()
3857 … return XXH3_len_17to128_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_64bits_internal()
3859 … return XXH3_len_129to240_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_64bits_internal()
3860 return f_hashLong(input, len, seed64, (const xxh_u8*)secret, secretLen); in XXH3_64bits_internal()
3915 xxh_u8* base = (xxh_u8*)XXH_malloc(s + align); in XXH_alignedMalloc()
3925 xxh_u8* ptr = base + offset; in XXH_alignedMalloc()
3930 ptr[-1] = (xxh_u8)offset; in XXH_alignedMalloc()
3943 xxh_u8* ptr = (xxh_u8*)p; in XXH_alignedFree()
3945 xxh_u8 offset = ptr[-1]; in XXH_alignedFree()
3947 xxh_u8* base = ptr - offset; in XXH_alignedFree()
4031 const xxh_u8* XXH_RESTRICT input, size_t nbStripes, in XXH3_consumeStripes()
4032 const xxh_u8* XXH_RESTRICT secret, size_t secretLimit, in XXH3_consumeStripes()
4057 const xxh_u8* input, size_t len, in XXH3_update()
4068 { const xxh_u8* const bEnd = input + len; in XXH3_update()
4102 const xxh_u8* const limit = bEnd - XXH3_INTERNALBUFFER_SIZE; in XXH3_update()
4127 return XXH3_update(state, (const xxh_u8*)input, len, in XXH3_64bits_update()
4155 xxh_u8 lastStripe[XXH_STRIPE_LEN]; in XXH3_digest_long()
4247 XXH3_len_1to3_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_128b()
4258 { xxh_u8 const c1 = input[0]; in XXH3_len_1to3_128b()
4259 xxh_u8 const c2 = input[len >> 1]; in XXH3_len_1to3_128b()
4260 xxh_u8 const c3 = input[len - 1]; in XXH3_len_1to3_128b()
4276 XXH3_len_4to8_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_128b()
4303 XXH3_len_9to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_128b()
4378 XXH3_len_0to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_128b()
4397 XXH128_mix32B(XXH128_hash_t acc, const xxh_u8* input_1, const xxh_u8* input_2, in XXH128_mix32B()
4398 const xxh_u8* secret, XXH64_hash_t seed) in XXH128_mix32B()
4409 XXH3_len_17to128_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_128b()
4410 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_128b()
4442 XXH3_len_129to240_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_128b()
4443 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_128b()
4492 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_128b_internal()
4498 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, secret, secretSize, f_acc512, f_scramb… in XXH3_hashLong_128b_internal()
4537 return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, secretLen, in XXH3_hashLong_128b_withSecret()
4552 { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_hashLong_128b_withSeed_internal()
4554 return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, sizeof(secret), in XXH3_hashLong_128b_withSeed_internal()
4587 return XXH3_len_0to16_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); in XXH3_128bits_internal()
4589 … return XXH3_len_17to128_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_128bits_internal()
4591 …return XXH3_len_129to240_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_128bits_internal()
4609 (const xxh_u8*)secret, secretSize, in XXH3_128bits_withSecret()
4674 return XXH3_update(state, (const xxh_u8*)input, len, in XXH3_128bits_update()