Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/zstd/
H A Dfse.h427 ZSTD_STATIC void FSE_initCState(FSE_CState_t *statePtr, const FSE_CTable *ct) in FSE_initCState() argument
432 statePtr->value = (ptrdiff_t)1 << tableLog; in FSE_initCState()
433 statePtr->stateTable = u16ptr + 2; in FSE_initCState()
434 statePtr->symbolTT = ((const U32 *)ct + 1 + (tableLog ? (1 << (tableLog - 1)) : 1)); in FSE_initCState()
435 statePtr->stateLog = tableLog; in FSE_initCState()
441 ZSTD_STATIC void FSE_initCState2(FSE_CState_t *statePtr, const FSE_CTable *ct, U32 symbol) in FSE_initCState2() argument
443 FSE_initCState(statePtr, ct); in FSE_initCState2()
445 const FSE_symbolCompressionTransform symbolTT = ((const FSE_symbolCompressionTransform *)(statePtr->symbolTT))[symbol]; in FSE_initCState2()
446 const U16 *stateTable = (const U16 *)(statePtr->stateTable); in FSE_initCState2()
448 statePtr in FSE_initCState2()
453 FSE_encodeSymbol(BIT_CStream_t *bitC, FSE_CState_t *statePtr, U32 symbol) FSE_encodeSymbol() argument
462 FSE_flushCState(BIT_CStream_t *bitC, const FSE_CState_t *statePtr) FSE_flushCState() argument
[all...]
H A Dfse_decompress.c225 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(statePtr, &bitD) in FSE_decompress_usingDTable_generic()
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse.h511 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState() argument
516 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
517 statePtr->stateTable = u16ptr+2; in FSE_initCState()
518 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState()
519 statePtr->stateLog = tableLog; in FSE_initCState()
526 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2() argument
528 FSE_initCState(statePtr, ct); in FSE_initCState2()
529 { const FSE_symbolCompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr->symbolTT))[symbol]; in FSE_initCState2()
530 const U16* stateTable = (const U16*)(statePtr->stateTable); in FSE_initCState2()
532 statePtr in FSE_initCState2()
537 FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* statePtr, unsigned symbol) FSE_encodeSymbol() argument
546 FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* statePtr) FSE_flushCState() argument
[all...]
H A Dfse_decompress.c251 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(statePtr, &bitD) in FSE_decompress_usingDTable_generic()
/kernel/linux/linux-5.10/lib/
H A 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()
/kernel/linux/linux-6.6/lib/
H A 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()

Completed in 6 milliseconds