Home
last modified time | relevance | path

Searched refs:statePtr (Results 1 – 6 of 6) sorted by relevance

/dragonfly/contrib/zstd/lib/common/
H A Dfse.h518 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
519 statePtr->stateTable = u16ptr+2; in FSE_initCState()
520 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState()
521 statePtr->stateLog = tableLog; in FSE_initCState()
530 FSE_initCState(statePtr, ct); in FSE_initCState2()
532 const U16* stateTable = (const U16*)(statePtr->stateTable); in FSE_initCState2()
534 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
535 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_initCState2()
544 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol()
545 statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_encodeSymbol()
[all …]
H A Dxxhash.h171 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr);
174 XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr);
179 XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, unsigned int seed);
180 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t lengt…
181 XXH_PUBLIC_API XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr);
183 XXH_PUBLIC_API XXH_errorcode XXH64_reset (XXH64_state_t* statePtr, unsigned long long seed);
184 XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t lengt…
185 XXH_PUBLIC_API XXH64_hash_t XXH64_digest (const XXH64_state_t* statePtr);
H A Dxxhash.c497 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr) in XXH32_freeState() argument
499 XXH_free(statePtr); in XXH32_freeState()
507 XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr) in XXH64_freeState() argument
509 XXH_free(statePtr); in XXH64_freeState()
516 XXH_PUBLIC_API XXH_errorcode XXH32_reset(XXH32_state_t* statePtr, unsigned int seed) in XXH32_reset() argument
524 ZSTD_memcpy(statePtr, &state, sizeof(state)); in XXH32_reset()
529 XXH_PUBLIC_API XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, unsigned long long seed) in XXH64_reset() argument
537 ZSTD_memcpy(statePtr, &state, sizeof(state)); in XXH64_reset()
H A Dfse_decompress.c251 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
/dragonfly/sys/vfs/hammer2/xxhash/
H A Dxxhash.h185 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr);
188 XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr);
193 XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, unsigned int seed);
194 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t lengt…
195 XXH_PUBLIC_API XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr);
197 XXH_PUBLIC_API XXH_errorcode XXH64_reset (XXH64_state_t* statePtr, unsigned long long seed);
198 XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t lengt…
199 XXH_PUBLIC_API XXH64_hash_t XXH64_digest (const XXH64_state_t* statePtr);
H A Dxxhash.c534 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr) in XXH32_freeState() argument
536 XXH_free(statePtr); in XXH32_freeState()
544 XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr) in XXH64_freeState() argument
546 XXH_free(statePtr); in XXH64_freeState()
554 XXH_PUBLIC_API XXH_errorcode XXH32_reset(XXH32_state_t* statePtr, unsigned int seed) in XXH32_reset() argument
563 memcpy(statePtr, &state, sizeof(state)); in XXH32_reset()
568 XXH_PUBLIC_API XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, unsigned long long seed) in XXH64_reset() argument
577 memcpy(statePtr, &state, sizeof(state)); in XXH64_reset()