Searched refs:XXH32_state_t (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/contrib/zstd/lib/common/
H A Dxxhash.h182 typedef struct XXH32_state_s XXH32_state_t; /* incomplete type */ typedef in typeref:struct:XXH32_state_s
187 XXH_PUBLIC_API XXH32_state_t* XXH32_createState(void);
188 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr);
196 XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, unsigned int seed);
197 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t length);
198 XXH_PUBLIC_API XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr);
234 XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* restrict dst_state, const XXH32_state_t* restrict src_state);
282 }; /* typedef'd to XXH32_state_t */
H A Dxxhash.c321 XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* restrict dstState, const XXH32_state_t* restrict srcState)
544 XXH_PUBLIC_API XXH32_state_t* XXH32_createState(void)
546 return (XXH32_state_t*)XXH_malloc(sizeof(XXH32_state_t));
548 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr)
567 XXH_PUBLIC_API XXH_errorcode XXH32_reset(XXH32_state_t* statePtr, unsigned int seed)
569 XXH32_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */
593 FORCE_INLINE_TEMPLATE XXH_errorcode XXH32_update_endian (XXH32_state_t* state, const void* input, size_t len, XXH_endianess endian)
651 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* state_i
[all...]

Completed in 54 milliseconds