Lines Matching refs:xxh_u8

1563   typedef uint8_t xxh_u8;  typedef
1565 typedef unsigned char xxh_u8; typedef
1570 # define BYTE xxh_u8
1571 # define U8 xxh_u8
1716 const union { xxh_u32 u; xxh_u8 c[4]; } one = { 1 }; in XXH_isLittleEndian()
1808 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readLE32()
1817 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readBE32()
1970 XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH32_finalize()
2059 XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align) in XXH32_endian_align()
2066 const xxh_u8* const bEnd = input + len; in XXH32_endian_align()
2067 const xxh_u8* const limit = bEnd - 15; in XXH32_endian_align()
2098 XXH32_update(&state, (const xxh_u8*)input, len); in XXH32()
2103 return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); in XXH32()
2106 return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); in XXH32()
2155 { const xxh_u8* p = (const xxh_u8*)input; in XXH32_update()
2156 const xxh_u8* const bEnd = p + len; in XXH32_update()
2162 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, len); in XXH32_update()
2168 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update()
2180 const xxh_u8* const limit = bEnd - 16; in XXH32_update()
2217 return XXH32_finalize(h32, (const xxh_u8*)state->mem32, state->memsize, XXH_aligned); in XXH32_digest()
2337 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readLE64()
2350 const xxh_u8* bytePtr = (const xxh_u8 *)memPtr; in XXH_readBE64()
2435 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH64_finalize()
2471 XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align) in XXH64_endian_align()
2477 const xxh_u8* const bEnd = input + len; in XXH64_endian_align()
2478 const xxh_u8* const limit = bEnd - 31; in XXH64_endian_align()
2514 XXH64_update(&state, (const xxh_u8*)input, len); in XXH64()
2519 return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_aligned); in XXH64()
2522 return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned); in XXH64()
2568 { const xxh_u8* p = (const xxh_u8*)input; in XXH64_update()
2569 const xxh_u8* const bEnd = p + len; in XXH64_update()
2574 XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, len); in XXH64_update()
2580 XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update()
2590 const xxh_u8* const limit = bEnd - 32; in XXH64_update()
2628 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); in XXH64_digest()
3194 XXH_ALIGN(64) static const xxh_u8 XXH3_kSecret[XXH_SECRET_DEFAULT_SIZE] = {
3468 XXH3_len_1to3_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_64b()
3478 { xxh_u8 const c1 = input[0]; in XXH3_len_1to3_64b()
3479 xxh_u8 const c2 = input[len >> 1]; in XXH3_len_1to3_64b()
3480 xxh_u8 const c3 = input[len - 1]; in XXH3_len_1to3_64b()
3490 XXH3_len_4to8_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_64b()
3506 XXH3_len_9to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_64b()
3523 XXH3_len_0to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_64b()
3559 XXH_FORCE_INLINE xxh_u64 XXH3_mix16B(const xxh_u8* XXH_RESTRICT input, in XXH3_mix16B()
3560 const xxh_u8* XXH_RESTRICT secret, xxh_u64 seed64) in XXH3_mix16B()
3593 XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_64b()
3594 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_64b()
3623 XXH3_len_129to240_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_64b()
3624 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_64b()
4262 xxh_u8 const* xinput = (xxh_u8 const*) input; in XXH3_scalarRound()
4263 xxh_u8 const* xsecret = (xxh_u8 const*) secret; in XXH3_scalarRound()
4302 const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */ in XXH3_scalarScrambleRound()
4336 const xxh_u8* kSecretPtr = XXH3_kSecret; in XXH3_initCustomSecret_scalar()
4391 XXH_writeLE64((xxh_u8*)customSecret + 16*i, lo); in XXH3_initCustomSecret_scalar()
4392 XXH_writeLE64((xxh_u8*)customSecret + 16*i + 8, hi); in XXH3_initCustomSecret_scalar()
4461 const xxh_u8* XXH_RESTRICT input, in XXH3_accumulate()
4462 const xxh_u8* XXH_RESTRICT secret, in XXH3_accumulate()
4468 const xxh_u8* const in = input + n*XXH_STRIPE_LEN; in XXH3_accumulate()
4478 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_hashLong_internal_loop()
4479 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_internal_loop()
4503 { const xxh_u8* const p = input + len - XXH_STRIPE_LEN; in XXH3_hashLong_internal_loop()
4510 XXH3_mix2Accs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret) in XXH3_mix2Accs()
4518 XXH3_mergeAccs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret, xxh_u64 start) in XXH3_mergeAccs()
4555 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, (const xxh_u8*)secret, secretSize, f_a… in XXH3_hashLong_64b_internal()
4562 …return XXH3_mergeAccs(acc, (const xxh_u8*)secret + XXH_SECRET_MERGEACCS_START, (xxh_u64)len * XXH_… in XXH3_hashLong_64b_internal()
4572 … XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_withSecret()
4586 XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_default()
4614 { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_hashLong_64b_withSeed_internal()
4626 XXH64_hash_t seed, const xxh_u8* secret, size_t secretLen) in XXH3_hashLong_64b_withSeed()
4635 XXH64_hash_t, const xxh_u8* XXH_RESTRICT, size_t);
4651 return XXH3_len_0to16_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); in XXH3_64bits_internal()
4653 … return XXH3_len_17to128_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_64bits_internal()
4655 … return XXH3_len_129to240_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_64bits_internal()
4656 return f_hashLong(input, len, seed64, (const xxh_u8*)secret, secretLen); in XXH3_64bits_internal()
4687 return XXH3_hashLong_64b_withSecret(input, len, seed, (const xxh_u8*)secret, secretSize); in XXH3_64bits_withSecretandSeed()
4722 xxh_u8* base = (xxh_u8*)XXH_malloc(s + align); in XXH_alignedMalloc()
4732 xxh_u8* ptr = base + offset; in XXH_alignedMalloc()
4737 ptr[-1] = (xxh_u8)offset; in XXH_alignedMalloc()
4750 xxh_u8* ptr = (xxh_u8*)p; in XXH_alignedFree()
4752 xxh_u8 offset = ptr[-1]; in XXH_alignedFree()
4754 xxh_u8* base = ptr - offset; in XXH_alignedFree()
4858 const xxh_u8* XXH_RESTRICT input, size_t nbStripes, in XXH3_consumeStripes()
4859 const xxh_u8* XXH_RESTRICT secret, size_t secretLimit, in XXH3_consumeStripes()
4889 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_update()
4899 { const xxh_u8* const bEnd = input + len; in XXH3_update()
4973 const xxh_u8* const limit = bEnd - XXH3_INTERNALBUFFER_SIZE; in XXH3_update()
5006 return XXH3_update(state, (const xxh_u8*)input, len, in XXH3_64bits_update()
5034 xxh_u8 lastStripe[XXH_STRIPE_LEN]; in XXH3_digest_long()
5083 XXH3_len_1to3_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_128b()
5094 { xxh_u8 const c1 = input[0]; in XXH3_len_1to3_128b()
5095 xxh_u8 const c2 = input[len >> 1]; in XXH3_len_1to3_128b()
5096 xxh_u8 const c3 = input[len - 1]; in XXH3_len_1to3_128b()
5112 XXH3_len_4to8_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_128b()
5139 XXH3_len_9to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_128b()
5214 XXH3_len_0to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_128b()
5233 XXH128_mix32B(XXH128_hash_t acc, const xxh_u8* input_1, const xxh_u8* input_2, in XXH128_mix32B()
5234 const xxh_u8* secret, XXH64_hash_t seed) in XXH128_mix32B()
5245 XXH3_len_17to128_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_128b()
5246 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_128b()
5278 XXH3_len_129to240_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_128b()
5279 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_128b()
5328 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_128b_internal()
5334 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, secret, secretSize, f_acc512, f_scramb… in XXH3_hashLong_128b_internal()
5374 return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, secretLen, in XXH3_hashLong_128b_withSecret()
5389 { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_hashLong_128b_withSeed_internal()
5391 return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, sizeof(secret), in XXH3_hashLong_128b_withSeed_internal()
5424 return XXH3_len_0to16_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64); in XXH3_128bits_internal()
5426 … return XXH3_len_17to128_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_128bits_internal()
5428 …return XXH3_len_129to240_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64); in XXH3_128bits_internal()
5448 (const xxh_u8*)secret, secretSize, in XXH3_128bits_withSecret()
5517 return XXH3_update(state, (const xxh_u8*)input, len, in XXH3_128bits_update()
5662 XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE]; in XXH3_generateSecret_fromSeed()