Lines Matching refs:size_t
181 #include <stddef.h> /* size_t */
211 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, XXH32_hash_t seed);
242 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t length);
286 XXH_PUBLIC_API XXH64_hash_t XXH64 (const void* input, size_t length, XXH64_hash_t seed);
295 XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t length);
443 static void* XXH_malloc(size_t s) { return malloc(s); }
447 static void* XXH_memcpy(void* dest, const void* src, size_t size) { return memcpy(dest,src,size); }
708 XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align)
777 XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align)
785 bEnd=input=(const xxh_u8*)(size_t)16;
815 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t len, XXH32_hash_t seed)
827 if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */
869 XXH32_update(XXH32_state_t* state, const void* input, size_t len)
923 XXH_memcpy(state->mem32, p, (size_t)(bEnd-p));
1112 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align)
1235 XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align)
1243 bEnd=input=(const xxh_u8*)(size_t)32;
1277 XXH_PUBLIC_API XXH64_hash_t XXH64 (const void* input, size_t len, XXH64_hash_t seed)
1289 if ((((size_t)input) & 7)==0) { /* Input is aligned, let's leverage the speed advantage */
1329 XXH64_update (XXH64_state_t* state, const void* input, size_t len)
1380 XXH_memcpy(state->mem64, p, (size_t)(bEnd-p));
1410 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned);