| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | fse.h | 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() 505 FSE_initCState(statePtr, ct); in FSE_initCState2() 507 const U16* stateTable = (const U16*)(statePtr->stateTable); in FSE_initCState2() 509 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2() 510 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_initCState2() 519 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol() 520 statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_encodeSymbol() [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-14.2/sys/contrib/zstd/lib/common/ |
| H A D | fse.h | 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() 531 FSE_initCState(statePtr, ct); in FSE_initCState2() 533 const U16* stateTable = (const U16*)(statePtr->stateTable); in FSE_initCState2() 535 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2() 536 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_initCState2() 545 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol() 546 statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_encodeSymbol() [all …]
|
| H A D | xxhash.h | 2123 XXH_free(statePtr); in XXH32_freeState() 2136 XXH_ASSERT(statePtr != NULL); in XXH32_reset() 2137 memset(statePtr, 0, sizeof(*statePtr)); in XXH32_reset() 2140 statePtr->v[2] = seed + 0; in XXH32_reset() 2537 XXH_free(statePtr); in XXH64_freeState() 2551 memset(statePtr, 0, sizeof(*statePtr)); in XXH64_reset() 2554 statePtr->v[2] = seed + 0; in XXH64_reset() 4770 XXH_alignedFree(statePtr); in XXH3_freeState() 4800 statePtr->seed = seed; in XXH3_reset_internal() 4805 statePtr->nbStripesPerBlock = statePtr->secretLimit / XXH_SECRET_CONSUME_RATE; in XXH3_reset_internal() [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-14.2/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_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_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_v06.c | 1588 #define FSEv06_GETSYMBOL(statePtr) fast ? FSEv06_decodeSymbolFast(statePtr, &bitD) : FSEv06_decodeS… in FSEv06_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_v07.c | 1608 #define FSEv07_GETSYMBOL(statePtr) fast ? FSEv07_decodeSymbolFast(statePtr, &bitD) : FSEv07_decodeS… in FSEv07_decompress_usingDTable_generic() argument
|