Lines Matching refs:xxh_u8

1618   typedef uint8_t xxh_u8;  typedef
1620 typedef unsigned char xxh_u8; typedef
1625 # define BYTE xxh_u8
1626 # define U8 xxh_u8
1771 const union { xxh_u32 u; xxh_u8 c[4]; } one = { 1 }; in XXH_isLittleEndian()
1863 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readLE32()
1872 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readBE32()
2025 XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH32_finalize()
2114 XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align) in XXH32_endian_align()
2121 const xxh_u8* const bEnd = input + len; in XXH32_endian_align()
2122 const xxh_u8* const limit = bEnd - 15; in XXH32_endian_align()
2153 XXH32_update(&state, (const xxh_u8*)input, len); in XXH32()
2158 return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); in XXH32()
2161 return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); in XXH32()
2212 { const xxh_u8* p = (const xxh_u8*)input; in XXH32_update()
2213 const xxh_u8* const bEnd = p + len; in XXH32_update()
2219 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, len); in XXH32_update()
2225 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update()
2237 const xxh_u8* const limit = bEnd - 16; in XXH32_update()
2274 return XXH32_finalize(h32, (const xxh_u8*)state->mem32, state->memsize, XXH_aligned); in XXH32_digest()
2394 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readLE64()
2407 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readBE64()
2492 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH64_finalize()
2528 XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align) in XXH64_endian_align()
2534 const xxh_u8* const bEnd = input + len; in XXH64_endian_align()
2535 const xxh_u8* const limit = bEnd - 31; in XXH64_endian_align()
2571 XXH64_update(&state, (const xxh_u8*)input, len); in XXH64()
2576 return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); in XXH64()
2579 return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); in XXH64()
2627 { const xxh_u8* p = (const xxh_u8*)input; in XXH64_update()
2628 const xxh_u8* const bEnd = p + len; in XXH64_update()
2633 XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, len); in XXH64_update()
2639 XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update()
2649 const xxh_u8* const limit = bEnd - 32; in XXH64_update()
2687 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); in XXH64_digest()
3203 XXH_ALIGN(64) static const xxh_u8 XXH3_kSecret[XXH_SECRET_DEFAULT_SIZE] = {
3478 XXH3_len_1to3_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_64b()
3488 { xxh_u8 const c1 = input[0]; in XXH3_len_1to3_64b()
3489 xxh_u8 const c2 = input[len >> 1]; in XXH3_len_1to3_64b()
3490 xxh_u8 const c3 = input[len - 1]; in XXH3_len_1to3_64b()
3500 XXH3_len_4to8_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_64b()
3516 XXH3_len_9to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_64b()
3533 XXH3_len_0to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_64b()
3569 XXH_FORCE_INLINE xxh_u64 XXH3_mix16B(const xxh_u8* XXH_RESTRICT input, in XXH3_mix16B()
3570 const xxh_u8* XXH_RESTRICT secret, xxh_u64 seed64) in XXH3_mix16B()
3603 XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_64b()
3604 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_64b()
3633 XXH3_len_129to240_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_64b()
3634 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_64b()
4232 const xxh_u8* const xinput = (const xxh_u8*) input; /* no alignment restriction */ in XXH3_accumulate_512_scalar()
4233 const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ in XXH3_accumulate_512_scalar()
4248 const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ in XXH3_scrambleAcc_scalar()
4269 const xxh_u8* kSecretPtr = XXH3_kSecret; in XXH3_initCustomSecret_scalar()
4320 XXH_writeLE64((xxh_u8*)customSecret + 16*i, lo); in XXH3_initCustomSecret_scalar()
4321 XXH_writeLE64((xxh_u8*)customSecret + 16*i + 8, hi); in XXH3_initCustomSecret_scalar()
4390 const xxh_u8* XXH_RESTRICT input, in XXH3_accumulate()
4391 const xxh_u8* XXH_RESTRICT secret, in XXH3_accumulate()
4397 const xxh_u8* const in = input + n*XXH_STRIPE_LEN; in XXH3_accumulate()
4407 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_hashLong_internal_loop()
4408 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_internal_loop()
4432 { const xxh_u8* const p = input + len - XXH_STRIPE_LEN; in XXH3_hashLong_internal_loop()
4439 XXH3_mix2Accs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret) in XXH3_mix2Accs()
4447 XXH3_mergeAccs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret, xxh_u64 start) in XXH3_mergeAccs()
4484 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, (const xxh_u8*)secret, secretSize, f_a… in XXH3_hashLong_64b_internal()
4491 …return XXH3_mergeAccs(acc, (const xxh_u8*)secret + XXH_SECRET_MERGEACCS_START, (xxh_u64)len * XXH_… in XXH3_hashLong_64b_internal()
4501 … XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_withSecret()
4515 XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_default()
4543 { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_hashLong_64b_withSeed_internal()
4555 XXH64_hash_t seed, const xxh_u8* secret, size_t secretLen) in XXH3_hashLong_64b_withSeed()
4564 XXH64_hash_t, const xxh_u8* XXH_RESTRICT, size_t);
4580 return XXH3_len_0to16_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); in XXH3_64bits_internal()
4582 … return XXH3_len_17to128_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_64bits_internal()
4584 … return XXH3_len_129to240_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_64bits_internal()
4585 return f_hashLong(input, len, seed64, (const xxh_u8*)secret, secretLen); in XXH3_64bits_internal()
4616 return XXH3_hashLong_64b_withSecret(input, len, seed, (const xxh_u8*)secret, secretSize); in XXH3_64bits_withSecretandSeed()
4651 xxh_u8* base = (xxh_u8*)XXH_malloc(s + align); in XXH_alignedMalloc()
4661 xxh_u8* ptr = base + offset; in XXH_alignedMalloc()
4666 ptr[-1] = (xxh_u8)offset; in XXH_alignedMalloc()
4679 xxh_u8* ptr = (xxh_u8*)p; in XXH_alignedFree()
4681 xxh_u8 offset = ptr[-1]; in XXH_alignedFree()
4683 xxh_u8* base = ptr - offset; in XXH_alignedFree()
4787 const xxh_u8* XXH_RESTRICT input, size_t nbStripes, in XXH3_consumeStripes()
4788 const xxh_u8* XXH_RESTRICT secret, size_t secretLimit, in XXH3_consumeStripes()
4818 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_update()
4828 { const xxh_u8* const bEnd = input + len; in XXH3_update()
4902 const xxh_u8* const limit = bEnd - XXH3_INTERNALBUFFER_SIZE; in XXH3_update()
4935 return XXH3_update(state, (const xxh_u8*)input, len, in XXH3_64bits_update()
4963 xxh_u8 lastStripe[XXH_STRIPE_LEN]; in XXH3_digest_long()
5012 XXH3_len_1to3_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_128b()
5023 { xxh_u8 const c1 = input[0]; in XXH3_len_1to3_128b()
5024 xxh_u8 const c2 = input[len >> 1]; in XXH3_len_1to3_128b()
5025 xxh_u8 const c3 = input[len - 1]; in XXH3_len_1to3_128b()
5041 XXH3_len_4to8_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_128b()
5068 XXH3_len_9to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_128b()
5143 XXH3_len_0to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_128b()
5162 XXH128_mix32B(XXH128_hash_t acc, const xxh_u8* input_1, const xxh_u8* input_2, in XXH128_mix32B()
5163 const xxh_u8* secret, XXH64_hash_t seed) in XXH128_mix32B()
5174 XXH3_len_17to128_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_128b()
5175 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_128b()
5207 XXH3_len_129to240_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_128b()
5208 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_128b()
5257 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_128b_internal()
5263 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, secret, secretSize, f_acc512, f_scramb… in XXH3_hashLong_128b_internal()
5303 return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, secretLen, in XXH3_hashLong_128b_withSecret()
5318 { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_hashLong_128b_withSeed_internal()
5320 return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, sizeof(secret), in XXH3_hashLong_128b_withSeed_internal()
5353 return XXH3_len_0to16_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); in XXH3_128bits_internal()
5355 … return XXH3_len_17to128_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_128bits_internal()
5357 …return XXH3_len_129to240_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_128bits_internal()
5377 (const xxh_u8*)secret, secretSize, in XXH3_128bits_withSecret()
5446 return XXH3_update(state, (const xxh_u8*)input, len, in XXH3_128bits_update()
5583 XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_generateSecret_fromSeed()