Lines Matching refs:size_t
415 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, XXH32_hash_t seed);
533 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t lengt…
709 XXH_PUBLIC_API XXH64_hash_t XXH64(const void* input, size_t length, XXH64_hash_t seed);
723 XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t lengt…
783 XXH_PUBLIC_API XXH64_hash_t XXH3_64bits(const void* data, size_t len);
792 XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_withSeed(const void* data, size_t len, XXH64_hash_t seed);
820 …PI XXH64_hash_t XXH3_64bits_withSecret(const void* data, size_t len, const void* secret, size_t se…
862 …orcode XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize);
864 XXH_PUBLIC_API XXH_errorcode XXH3_64bits_update (XXH3_state_t* statePtr, const void* input, size_t …
886 XXH_PUBLIC_API XXH128_hash_t XXH3_128bits(const void* data, size_t len);
887 XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSeed(const void* data, size_t len, XXH64_hash_t seed);
888 … XXH128_hash_t XXH3_128bits_withSecret(const void* data, size_t len, const void* secret, size_t se…
905 …rcode XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize);
907 XXH_PUBLIC_API XXH_errorcode XXH3_128bits_update (XXH3_state_t* statePtr, const void* input, size_t…
1082 size_t nbStripesSoFar;
1086 size_t nbStripesPerBlock;
1088 size_t secretLimit;
1119 XXH_PUBLIC_API XXH128_hash_t XXH128(const void* data, size_t len, XXH64_hash_t seed);
1153 …H_errorcode XXH3_generateSecret(void* secretBuffer, size_t secretSize, const void* customSeed, siz…
1199 XXH3_64bits_withSecretandSeed(const void* data, size_t len,
1200 const void* secret, size_t secretSize,
1204 XXH3_128bits_withSecretandSeed(const void* data, size_t len,
1205 const void* secret, size_t secretSize,
1210 const void* secret, size_t secretSize,
1215 const void* secret, size_t secretSize,
1466 static void* XXH_malloc(size_t s) { return malloc(s); } in XXH_malloc()
1480 static void* XXH_memcpy(void* dest, const void* src, size_t size) in XXH_memcpy()
1994 XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH32_finalize()
2083 XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align) in XXH32_endian_align()
2116 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t len, XXH32_hash_t seed) in XXH32()
2126 … if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */ in XXH32()
2174 XXH32_update(XXH32_state_t* state, const void* input, size_t len) in XXH32_update()
2218 XXH_memcpy(state->mem32, p, (size_t)(bEnd-p)); in XXH32_update()
2461 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH64_finalize()
2497 XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align) in XXH64_endian_align()
2534 XXH_PUBLIC_API XXH64_hash_t XXH64 (const void* input, size_t len, XXH64_hash_t seed) in XXH64()
2544 if ((((size_t)input) & 7)==0) { /* Input is aligned, let's leverage the speed advantage */ in XXH64()
2589 XXH64_update (XXH64_state_t* state, const void* input, size_t len) in XXH64_update()
2630 XXH_memcpy(state->mem64, p, (size_t)(bEnd-p)); in XXH64_update()
2656 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); in XXH64_digest()
3447 XXH3_len_1to3_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_64b()
3469 XXH3_len_4to8_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_64b()
3485 XXH3_len_9to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_64b()
3502 XXH3_len_0to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_64b()
3572 XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_64b()
3573 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_64b()
3602 XXH3_len_129to240_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_64b()
3603 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_64b()
3722 XXH_ASSERT((((size_t)acc) & 63) == 0); in XXH3_accumulate_512_avx512()
3768 XXH_ASSERT((((size_t)acc) & 63) == 0); in XXH3_scrambleAcc_avx512()
3794 XXH_ASSERT(((size_t)customSecret & 63) == 0); in XXH3_initCustomSecret_avx512()
3802 XXH_ASSERT(((size_t)src & 63) == 0); /* control alignment */ in XXH3_initCustomSecret_avx512()
3803 XXH_ASSERT(((size_t)dest & 63) == 0); in XXH3_initCustomSecret_avx512()
3830 XXH_ASSERT((((size_t)acc) & 31) == 0); in XXH3_accumulate_512_avx2()
3839 size_t i; in XXH3_accumulate_512_avx2()
3862 XXH_ASSERT((((size_t)acc) & 31) == 0); in XXH3_scrambleAcc_avx2()
3869 size_t i; in XXH3_scrambleAcc_avx2()
3908 XXH_ASSERT(((size_t)src & 31) == 0); /* control alignment */ in XXH3_initCustomSecret_avx2()
3909 XXH_ASSERT(((size_t)dest & 31) == 0); in XXH3_initCustomSecret_avx2()
3936 XXH_ASSERT((((size_t)acc) & 15) == 0); in XXH3_accumulate_512_sse2()
3945 size_t i; in XXH3_accumulate_512_sse2()
3968 XXH_ASSERT((((size_t)acc) & 15) == 0); in XXH3_scrambleAcc_sse2()
3975 size_t i; in XXH3_scrambleAcc_sse2()
4019 XXH_ASSERT(((size_t)src16 & 15) == 0); /* control alignment */ in XXH3_initCustomSecret_sse2()
4020 XXH_ASSERT(((size_t)dst16 & 15) == 0); in XXH3_initCustomSecret_sse2()
4036 XXH_ASSERT((((size_t)acc) & 15) == 0); in XXH3_accumulate_512_neon()
4043 size_t i; in XXH3_accumulate_512_neon()
4071 XXH_ASSERT((((size_t)acc) & 15) == 0); in XXH3_scrambleAcc_neon()
4077 size_t i; in XXH3_scrambleAcc_neon()
4135 size_t i; in XXH3_accumulate_512_vsx()
4164 XXH_ASSERT((((size_t)acc) & 15) == 0); in XXH3_scrambleAcc_vsx()
4172 size_t i; in XXH3_scrambleAcc_vsx()
4203 size_t i; in XXH3_accumulate_512_scalar()
4204 XXH_ASSERT(((size_t)acc & (XXH_ACC_ALIGN-1)) == 0); in XXH3_accumulate_512_scalar()
4218 size_t i; in XXH3_scrambleAcc_scalar()
4219 XXH_ASSERT((((size_t)acc) & (XXH_ACC_ALIGN-1)) == 0); in XXH3_scrambleAcc_scalar()
4361 size_t nbStripes, in XXH3_accumulate()
4364 size_t n; in XXH3_accumulate()
4376 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_hashLong_internal_loop()
4377 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_internal_loop()
4381 size_t const nbStripesPerBlock = (secretSize - XXH_STRIPE_LEN) / XXH_SECRET_CONSUME_RATE; in XXH3_hashLong_internal_loop()
4382 size_t const block_len = XXH_STRIPE_LEN * nbStripesPerBlock; in XXH3_hashLong_internal_loop()
4383 size_t const nb_blocks = (len - 1) / block_len; in XXH3_hashLong_internal_loop()
4385 size_t n; in XXH3_hashLong_internal_loop()
4396 { size_t const nbStripes = ((len - 1) - (block_len * nb_blocks)) / XXH_STRIPE_LEN; in XXH3_hashLong_internal_loop()
4419 size_t i = 0; in XXH3_mergeAccs()
4446 XXH3_hashLong_64b_internal(const void* XXH_RESTRICT input, size_t len, in XXH3_hashLong_64b_internal()
4447 const void* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_64b_internal()
4469 XXH3_hashLong_64b_withSecret(const void* XXH_RESTRICT input, size_t len, in XXH3_hashLong_64b_withSecret()
4470 … XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_withSecret()
4483 XXH3_hashLong_64b_default(const void* XXH_RESTRICT input, size_t len, in XXH3_hashLong_64b_default()
4484 XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_64b_default()
4502 XXH3_hashLong_64b_withSeed_internal(const void* input, size_t len, in XXH3_hashLong_64b_withSeed_internal()
4523 XXH3_hashLong_64b_withSeed(const void* input, size_t len, in XXH3_hashLong_64b_withSeed()
4524 XXH64_hash_t seed, const xxh_u8* secret, size_t secretLen) in XXH3_hashLong_64b_withSeed()
4532 typedef XXH64_hash_t (*XXH3_hashLong64_f)(const void* XXH_RESTRICT, size_t,
4533 XXH64_hash_t, const xxh_u8* XXH_RESTRICT, size_t);
4536 XXH3_64bits_internal(const void* XXH_RESTRICT input, size_t len, in XXH3_64bits_internal()
4537 XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen, in XXH3_64bits_internal()
4561 XXH_PUBLIC_API XXH64_hash_t XXH3_64bits(const void* input, size_t len) in XXH3_64bits()
4568 XXH3_64bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) in XXH3_64bits_withSecret()
4575 XXH3_64bits_withSeed(const void* input, size_t len, XXH64_hash_t seed) in XXH3_64bits_withSeed()
4581 XXH3_64bits_withSecretandSeed(const void* input, size_t len, const void* secret, size_t secretSize,… in XXH3_64bits_withSecretandSeed()
4614 static void* XXH_alignedMalloc(size_t s, size_t align) in XXH_alignedMalloc()
4628 size_t offset = align - ((size_t)base & (align - 1)); /* base % align */ in XXH_alignedMalloc()
4632 XXH_ASSERT((size_t)ptr % align == 0); in XXH_alignedMalloc()
4682 const void* secret, size_t secretSize) in XXH3_reset_internal()
4684 size_t const initStart = offsetof(XXH3_state_t, bufferedSize); in XXH3_reset_internal()
4685 size_t const initLength = offsetof(XXH3_state_t, nbStripesPerBlock) - initStart; in XXH3_reset_internal()
4717 XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) in XXH3_64bits_reset_withSecret()
4740 XXH3_64bits_reset_withSecretandSeed(XXH3_state_t* statePtr, const void* secret, size_t secretSize, … in XXH3_64bits_reset_withSecretandSeed()
4755 size_t* XXH_RESTRICT nbStripesSoFarPtr, size_t nbStripesPerBlock, in XXH3_consumeStripes()
4756 const xxh_u8* XXH_RESTRICT input, size_t nbStripes, in XXH3_consumeStripes()
4757 const xxh_u8* XXH_RESTRICT secret, size_t secretLimit, in XXH3_consumeStripes()
4765 size_t const nbStripesToEndofBlock = nbStripesPerBlock - *nbStripesSoFarPtr; in XXH3_consumeStripes()
4766 size_t const nbStripesAfterBlock = nbStripes - nbStripesToEndofBlock; in XXH3_consumeStripes()
4787 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_update()
4827 size_t const loadSize = XXH3_INTERNALBUFFER_SIZE - state->bufferedSize; in XXH3_update()
4840 if ((size_t)(bEnd - input) > state->nbStripesPerBlock * XXH_STRIPE_LEN) { in XXH3_update()
4841 size_t nbStripes = (size_t)(bEnd - 1 - input) / XXH_STRIPE_LEN; in XXH3_update()
4844 { size_t const nbStripesToEnd = state->nbStripesPerBlock - state->nbStripesSoFar; in XXH3_update()
4889 XXH_memcpy(state->buffer, input, (size_t)(bEnd-input)); in XXH3_update()
4902 XXH3_64bits_update(XXH3_state_t* state, const void* input, size_t len) in XXH3_64bits_update()
4920 size_t const nbStripes = (state->bufferedSize - 1) / XXH_STRIPE_LEN; in XXH3_digest_long()
4921 size_t nbStripesSoFar = state->nbStripesSoFar; in XXH3_digest_long()
4933 size_t const catchupSize = XXH_STRIPE_LEN - state->bufferedSize; in XXH3_digest_long()
4956 return XXH3_64bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed); in XXH3_64bits_digest()
4957 return XXH3_64bits_withSecret(state->buffer, (size_t)(state->totalLen), in XXH3_64bits_digest()
4981 XXH3_len_1to3_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_1to3_128b()
5010 XXH3_len_4to8_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_4to8_128b()
5037 XXH3_len_9to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_9to16_128b()
5112 XXH3_len_0to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed) in XXH3_len_0to16_128b()
5143 XXH3_len_17to128_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_128b()
5144 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_128b()
5176 XXH3_len_129to240_128b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_129to240_128b()
5177 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_128b()
5225 XXH3_hashLong_128b_internal(const void* XXH_RESTRICT input, size_t len, in XXH3_hashLong_128b_internal()
5226 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_128b_internal()
5253 XXH3_hashLong_128b_default(const void* XXH_RESTRICT input, size_t len, in XXH3_hashLong_128b_default()
5255 const void* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_128b_default()
5267 XXH3_hashLong_128b_withSecret(const void* XXH_RESTRICT input, size_t len, in XXH3_hashLong_128b_withSecret()
5269 const void* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_128b_withSecret()
5277 XXH3_hashLong_128b_withSeed_internal(const void* XXH_RESTRICT input, size_t len, in XXH3_hashLong_128b_withSeed_internal()
5298 XXH3_hashLong_128b_withSeed(const void* input, size_t len, in XXH3_hashLong_128b_withSeed()
5299 XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen) in XXH3_hashLong_128b_withSeed()
5306 typedef XXH128_hash_t (*XXH3_hashLong128_f)(const void* XXH_RESTRICT, size_t,
5307 XXH64_hash_t, const void* XXH_RESTRICT, size_t);
5310 XXH3_128bits_internal(const void* input, size_t len, in XXH3_128bits_internal()
5311 XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen, in XXH3_128bits_internal()
5334 XXH_PUBLIC_API XXH128_hash_t XXH3_128bits(const void* input, size_t len) in XXH3_128bits()
5343 XXH3_128bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) in XXH3_128bits_withSecret()
5352 XXH3_128bits_withSeed(const void* input, size_t len, XXH64_hash_t seed) in XXH3_128bits_withSeed()
5361 XXH3_128bits_withSecretandSeed(const void* input, size_t len, const void* secret, size_t secretSize… in XXH3_128bits_withSecretandSeed()
5370 XXH128(const void* input, size_t len, XXH64_hash_t seed) in XXH128()
5392 XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) in XXH3_128bits_reset_withSecret()
5406 XXH3_128bits_reset_withSecretandSeed(XXH3_state_t* statePtr, const void* secret, size_t secretSize,… in XXH3_128bits_reset_withSecretandSeed()
5413 XXH3_128bits_update(XXH3_state_t* state, const void* input, size_t len) in XXH3_128bits_update()
5440 return XXH3_128bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed); in XXH3_128bits_digest()
5441 return XXH3_128bits_withSecret(state->buffer, (size_t)(state->totalLen), in XXH3_128bits_digest()
5513 XXH3_generateSecret(void* secretBuffer, size_t secretSize, const void* customSeed, size_t customSee… in XXH3_generateSecret()
5527 { size_t pos = 0; in XXH3_generateSecret()
5529 size_t const toCopy = XXH_MIN((secretSize - pos), customSeedSize); in XXH3_generateSecret()
5534 { size_t const nbSeg16 = secretSize / 16; in XXH3_generateSecret()
5535 size_t n; in XXH3_generateSecret()