| /linux/lib/zstd/common/ |
| H A D | mem.h | 27 #undef MEM_STATIC /* may be already defined from common/compiler.h */ 28 #define MEM_STATIC static inline macro 47 MEM_STATIC unsigned MEM_32bits(void); 48 MEM_STATIC unsigned MEM_64bits(void); 49 MEM_STATIC unsigned MEM_isLittleEndian(void); 52 MEM_STATIC U16 MEM_read16(const void* memPtr); 53 MEM_STATIC U32 MEM_read32(const void* memPtr); 54 MEM_STATIC U64 MEM_read64(const void* memPtr); 55 MEM_STATIC size_t MEM_readST(const void* memPtr); 57 MEM_STATIC void MEM_write16(void* memPtr, U16 value); [all …]
|
| H A D | bitstream.h | 58 MEM_STATIC size_t BIT_initCStream(BIT_CStream_t* bitC, void* dstBuffer, size_t dstCapacity); 59 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, BitContainerType value, unsigned nbBits); 60 MEM_STATIC void BIT_flushBits(BIT_CStream_t* bitC); 61 MEM_STATIC size_t BIT_closeCStream(BIT_CStream_t* bitC); 98 MEM_STATIC size_t BIT_initDStream(BIT_DStream_t* bitD, const void* srcBuffer, size_t srcSize); 99 MEM_STATIC BitContainerType BIT_readBits(BIT_DStream_t* bitD, unsigned nbBits); 100 MEM_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t* bitD); 101 MEM_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t* bitD); 118 MEM_STATIC void BIT_addBitsFast(BIT_CStream_t* bitC, BitContainerType value, unsigned nbBits); 121 MEM_STATIC void BIT_flushBitsFast(BIT_CStream_t* bitC); [all …]
|
| H A D | bits.h | 17 MEM_STATIC unsigned ZSTD_countTrailingZeros32_fallback(U32 val) in ZSTD_countTrailingZeros32_fallback() 29 MEM_STATIC unsigned ZSTD_countTrailingZeros32(U32 val) in ZSTD_countTrailingZeros32() 39 MEM_STATIC unsigned ZSTD_countLeadingZeros32_fallback(U32 val) in ZSTD_countLeadingZeros32_fallback() 56 MEM_STATIC unsigned ZSTD_countLeadingZeros32(U32 val) in ZSTD_countLeadingZeros32() 66 MEM_STATIC unsigned ZSTD_countTrailingZeros64(U64 val) in ZSTD_countTrailingZeros64() 84 MEM_STATIC unsigned ZSTD_countLeadingZeros64(U64 val) in ZSTD_countLeadingZeros64() 102 MEM_STATIC unsigned ZSTD_NbCommonBytes(size_t val) in ZSTD_NbCommonBytes() 119 MEM_STATIC unsigned ZSTD_highbit32(U32 val) /* compress, dictBuilder, decodeCorpus */ in ZSTD_highbit32() 129 MEM_STATIC 136 MEM_STATIC [all …]
|
| H A D | compiler.h | 82 #ifndef MEM_STATIC /* already defined in Linux Kernel mem.h */ 83 #define MEM_STATIC static __inline UNUSED_ATTR macro 180 MEM_STATIC int ZSTD_isPower2(size_t u) { in ZSTD_isPower2() 232 MEM_STATIC 244 MEM_STATIC 257 MEM_STATIC 270 MEM_STATIC
|
| H A D | fse.h | 429 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState() 444 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2() 455 MEM_STATIC void FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* statePtr, unsigned symbol) in FSE_encodeSymbol() 464 MEM_STATIC void FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* statePtr) in FSE_flushCState() 476 MEM_STATIC U32 FSE_getMaxNbBits(const void* symbolTTPtr, U32 symbolValue) in FSE_getMaxNbBits() 486 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog) in FSE_bitCost() 518 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() 527 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr) in FSE_peekSymbol() 533 MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_updateState() 541 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbol() [all …]
|
| H A D | allocations.h | 27 MEM_STATIC void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc() 34 MEM_STATIC void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customCalloc() 46 MEM_STATIC void ZSTD_customFree(void* ptr, ZSTD_customMem customMem) in ZSTD_customFree()
|
| H A D | zstd_internal.h | 209 MEM_STATIC FORCE_INLINE_ATTR 242 MEM_STATIC size_t ZSTD_limitCopy(void* dst, size_t dstCapacity, const void* src, size_t srcSize) in ZSTD_limitCopy() 312 MEM_STATIC int ZSTD_cpuSupportsBmi2(void) in ZSTD_cpuSupportsBmi2()
|
| H A D | cpu.h | 30 MEM_STATIC ZSTD_cpuid_t ZSTD_cpuid(void) { in ZSTD_cpuid() 93 MEM_STATIC int ZSTD_cpuid_##name(ZSTD_cpuid_t const cpuid) { \
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_cwksp.h | 176 MEM_STATIC size_t ZSTD_cwksp_available_space(ZSTD_cwksp* ws); 177 MEM_STATIC void* ZSTD_cwksp_initialAllocStart(ZSTD_cwksp* ws); 179 MEM_STATIC void ZSTD_cwksp_assert_internal_consistency(ZSTD_cwksp* ws) { in ZSTD_cwksp_assert_internal_consistency() 194 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t align) { in ZSTD_cwksp_align() 212 MEM_STATIC size_t ZSTD_cwksp_alloc_size(size_t size) { in ZSTD_cwksp_alloc_size() 218 MEM_STATIC size_t ZSTD_cwksp_aligned_alloc_size(size_t size, size_t alignment) { in ZSTD_cwksp_aligned_alloc_size() 226 MEM_STATIC size_t ZSTD_cwksp_aligned64_alloc_size(size_t size) { in ZSTD_cwksp_aligned64_alloc_size() 234 MEM_STATIC size_t ZSTD_cwksp_slack_space_required(void) { in ZSTD_cwksp_slack_space_required() 247 MEM_STATIC size_t ZSTD_cwksp_bytes_to_align_ptr(void* ptr, const size_t alignBytes) { in ZSTD_cwksp_bytes_to_align_ptr() 259 MEM_STATIC void* ZSTD_cwksp_initialAllocStart(ZSTD_cwksp* ws) in ZSTD_cwksp_initialAllocStart() [all …]
|
| H A D | zstd_compress_internal.h | 124 MEM_STATIC ZSTD_SequenceLength ZSTD_getSequenceLength(SeqStore_t const* seqStore, SeqDef const* seq) in ZSTD_getSequenceLength() 576 MEM_STATIC U32 ZSTD_LLcode(U32 litLength) in ZSTD_LLcode() 593 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() 610 MEM_STATIC int ZSTD_cParam_withinBounds(ZSTD_cParameter cParam, int value) in ZSTD_cParam_withinBounds() 622 MEM_STATIC const BYTE* 641 MEM_STATIC size_t 653 MEM_STATIC size_t 669 MEM_STATIC size_t ZSTD_minGain(size_t srcSize, ZSTD_strategy strat) in ZSTD_minGain() 677 MEM_STATIC int ZSTD_literalsCompressionIsDisabled(const ZSTD_CCtx_params* cctxParams) in ZSTD_literalsCompressionIsDisabled() 809 MEM_STATIC void [all …]
|
| H A D | zstd_opt.c | 46 MEM_STATIC U32 ZSTD_bitWeight(U32 stat) in ZSTD_bitWeight() 54 MEM_STATIC U32 ZSTD_fracWeight(U32 rawStat) in ZSTD_fracWeight() 72 MEM_STATIC double ZSTD_fCost(int price) in ZSTD_fCost() 394 MEM_STATIC U32 ZSTD_readMINMATCH(const void* memPtr, U32 length) in ZSTD_readMINMATCH()
|
| H A D | zstd_lazy.c | 791 MEM_STATIC U32 ZSTD_VecMask_next(ZSTD_VecMask val) { in ZSTD_VecMask_next() 809 MEM_STATIC int ZSTD_isAligned(void const* ptr, size_t align) { in ZSTD_isAligned()
|
| H A D | huf_compress.c | 542 MEM_STATIC int HUF_isSorted(nodeElt huffNode[], U32 const maxSymbolValue1) { in HUF_isSorted()
|
| H A D | zstd_compress.c | 2801 MEM_STATIC size_t
|
| /linux/lib/zstd/decompress/ |
| H A D | zstd_decompress_internal.h | 206 MEM_STATIC int ZSTD_DCtx_get_bmi2(const struct ZSTD_DCtx_s *dctx) { in ZSTD_DCtx_get_bmi2()
|