Home
last modified time | relevance | path

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

/Linux-v6.1/lib/zstd/common/
Dfse.h510 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState() argument
515 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
516 statePtr->stateTable = u16ptr+2; in FSE_initCState()
517 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState()
518 statePtr->stateLog = tableLog; in FSE_initCState()
525 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2() argument
527 FSE_initCState(statePtr, ct); in FSE_initCState2()
528 …ompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr->symbolTT))[symbo… in FSE_initCState2()
529 const U16* stateTable = (const U16*)(statePtr->stateTable); in FSE_initCState2()
531 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
[all …]
Dfse_decompress.c251 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
/Linux-v6.1/lib/
Dxxhash.c242 void xxh32_reset(struct xxh32_state *statePtr, const uint32_t seed) in xxh32_reset() argument
252 memcpy(statePtr, &state, sizeof(state)); in xxh32_reset()
256 void xxh64_reset(struct xxh64_state *statePtr, const uint64_t seed) in xxh64_reset() argument
266 memcpy(statePtr, &state, sizeof(state)); in xxh64_reset()