/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | fse.h | 488 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState() argument 493 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState() 494 statePtr->stateTable = u16ptr+2; in FSE_initCState() 495 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState() 496 statePtr->stateLog = tableLog; in FSE_initCState() 503 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2() argument 505 FSE_initCState(statePtr, ct); in FSE_initCState2() 506 …ompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr->symbolTT))[symbo… in FSE_initCState2() 507 const U16* stateTable = (const U16*)(statePtr->stateTable); in FSE_initCState2() 509 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2() [all …]
|
H A D | xxhash.h | 168 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr); 171 XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr); 176 XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, unsigned int seed); 177 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t lengt… 178 XXH_PUBLIC_API XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr); 180 XXH_PUBLIC_API XXH_errorcode XXH64_reset (XXH64_state_t* statePtr, unsigned long long seed); 181 XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t lengt… 182 XXH_PUBLIC_API XXH64_hash_t XXH64_digest (const XXH64_state_t* statePtr);
|
H A D | xxhash.c | 535 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr) in XXH32_freeState() argument 537 XXH_free(statePtr); in XXH32_freeState() 545 XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr) in XXH64_freeState() argument 547 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 562 memcpy(statePtr, &state, sizeof(state)); in XXH32_reset() 567 XXH_PUBLIC_API XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, unsigned long long seed) in XXH64_reset() argument 575 memcpy(statePtr, &state, sizeof(state)); in XXH64_reset()
|
H A D | fse_decompress.c | 186 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | fse.h | 514 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState() argument 519 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState() 520 statePtr->stateTable = u16ptr+2; in FSE_initCState() 521 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState() 522 statePtr->stateLog = tableLog; in FSE_initCState() 529 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2() argument 531 FSE_initCState(statePtr, ct); in FSE_initCState2() 532 …ompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr->symbolTT))[symbo… in FSE_initCState2() 533 const U16* stateTable = (const U16*)(statePtr->stateTable); in FSE_initCState2() 535 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2() [all …]
|
H A D | xxhash.h | 478 XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr); 502 XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, XXH32_hash_t seed); 522 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t lengt… 538 XXH_PUBLIC_API XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr); 711 XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr); 714 XXH_PUBLIC_API XXH_errorcode XXH64_reset (XXH64_state_t* statePtr, XXH64_hash_t seed); 715 XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t lengt… 716 XXH_PUBLIC_API XXH64_hash_t XXH64_digest (const XXH64_state_t* statePtr); 831 XXH_PUBLIC_API XXH_errorcode XXH3_freeState(XXH3_state_t* statePtr); 839 XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset(XXH3_state_t* statePtr); [all …]
|
H A D | fse_decompress.c | 251 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
|
/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v01.c | 836 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
|
H A D | zstd_v03.c | 1360 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
|
H A D | zstd_v02.c | 1359 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
|
H A D | zstd_v04.c | 1339 #define FSE_GETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(sta… in FSE_decompress_usingDTable_generic() argument
|
H A D | zstd_v05.c | 1446 #define FSEv05_GETSYMBOL(statePtr) fast ? FSEv05_decodeSymbolFast(statePtr, &bitD) : FSEv05_decodeS… in FSEv05_decompress_usingDTable_generic() argument
|
H A D | zstd_v06.c | 1588 #define FSEv06_GETSYMBOL(statePtr) fast ? FSEv06_decodeSymbolFast(statePtr, &bitD) : FSEv06_decodeS… in FSEv06_decompress_usingDTable_generic() argument
|
H A D | zstd_v07.c | 1608 #define FSEv07_GETSYMBOL(statePtr) fast ? FSEv07_decodeSymbolFast(statePtr, &bitD) : FSEv07_decodeS… in FSEv07_decompress_usingDTable_generic() argument
|