Home
last modified time | relevance | path

Searched refs:MEM_STATIC (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/lib/zstd/common/
Dmem.h27 #define MEM_STATIC static inline macro
46 MEM_STATIC unsigned MEM_32bits(void);
47 MEM_STATIC unsigned MEM_64bits(void);
48 MEM_STATIC unsigned MEM_isLittleEndian(void);
51 MEM_STATIC U16 MEM_read16(const void* memPtr);
52 MEM_STATIC U32 MEM_read32(const void* memPtr);
53 MEM_STATIC U64 MEM_read64(const void* memPtr);
54 MEM_STATIC size_t MEM_readST(const void* memPtr);
56 MEM_STATIC void MEM_write16(void* memPtr, U16 value);
57 MEM_STATIC void MEM_write32(void* memPtr, U32 value);
[all …]
Dbitstream.h56 MEM_STATIC size_t BIT_initCStream(BIT_CStream_t* bitC, void* dstBuffer, size_t dstCapacity);
57 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, size_t value, unsigned nbBits);
58 MEM_STATIC void BIT_flushBits(BIT_CStream_t* bitC);
59 MEM_STATIC size_t BIT_closeCStream(BIT_CStream_t* bitC);
96 MEM_STATIC size_t BIT_initDStream(BIT_DStream_t* bitD, const void* srcBuffer, size_t srcSize);
97 MEM_STATIC size_t BIT_readBits(BIT_DStream_t* bitD, unsigned nbBits);
98 MEM_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t* bitD);
99 MEM_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t* bitD);
116 MEM_STATIC void BIT_addBitsFast(BIT_CStream_t* bitC, size_t value, unsigned nbBits);
119 MEM_STATIC void BIT_flushBitsFast(BIT_CStream_t* bitC);
[all …]
Dfse.h511 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState()
526 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2()
537 MEM_STATIC void FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* statePtr, unsigned symbol) in FSE_encodeSymbol()
546 MEM_STATIC void FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* statePtr) in FSE_flushCState()
558 MEM_STATIC U32 FSE_getMaxNbBits(const void* symbolTTPtr, U32 symbolValue) in FSE_getMaxNbBits()
568 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog) in FSE_bitCost()
600 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState()
609 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr) in FSE_peekSymbol()
615 MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_updateState()
623 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbol()
[all …]
Dzstd_internal.h207 MEM_STATIC FORCE_INLINE_ATTR
247 MEM_STATIC size_t ZSTD_limitCopy(void* dst, size_t dstCapacity, const void* src, size_t srcSize) in ZSTD_limitCopy()
317 MEM_STATIC ZSTD_sequenceLength ZSTD_getSequenceLength(seqStore_t const* seqStore, seqDef const* seq) in ZSTD_getSequenceLength()
353 MEM_STATIC U32 ZSTD_highbit32(U32 val) /* compress, dictBuilder, decodeCorpus */ in ZSTD_highbit32()
378 MEM_STATIC unsigned ZSTD_countTrailingZeros(size_t val) in ZSTD_countTrailingZeros()
436 MEM_STATIC int ZSTD_cpuSupportsBmi2(void) in ZSTD_cpuSupportsBmi2()
Dcpu.h29 MEM_STATIC ZSTD_cpuid_t ZSTD_cpuid(void) { in ZSTD_cpuid()
92 MEM_STATIC int ZSTD_cpuid_##name(ZSTD_cpuid_t const cpuid) { \
/linux-6.12.1/lib/zstd/compress/
Dzstd_cwksp.h161 MEM_STATIC size_t ZSTD_cwksp_available_space(ZSTD_cwksp* ws);
163 MEM_STATIC void ZSTD_cwksp_assert_internal_consistency(ZSTD_cwksp* ws) { in ZSTD_cwksp_assert_internal_consistency()
176 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t const align) { in ZSTD_cwksp_align()
194 MEM_STATIC size_t ZSTD_cwksp_alloc_size(size_t size) { in ZSTD_cwksp_alloc_size()
204 MEM_STATIC size_t ZSTD_cwksp_aligned_alloc_size(size_t size) { in ZSTD_cwksp_aligned_alloc_size()
212 MEM_STATIC size_t ZSTD_cwksp_slack_space_required(void) { in ZSTD_cwksp_slack_space_required()
229 MEM_STATIC size_t ZSTD_cwksp_bytes_to_align_ptr(void* ptr, const size_t alignBytes) { in ZSTD_cwksp_bytes_to_align_ptr()
244 MEM_STATIC void*
272 MEM_STATIC size_t
315 MEM_STATIC int ZSTD_cwksp_owns_buffer(const ZSTD_cwksp* ws, const void* ptr) in ZSTD_cwksp_owns_buffer()
[all …]
Dzstd_compress_internal.h457 MEM_STATIC U32 ZSTD_LLcode(U32 litLength) in ZSTD_LLcode()
474 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode()
491 MEM_STATIC int ZSTD_cParam_withinBounds(ZSTD_cParameter cParam, int value) in ZSTD_cParam_withinBounds()
503 MEM_STATIC size_t ZSTD_noCompressBlock (void* dst, size_t dstCapacity, const void* src, size_t srcS… in ZSTD_noCompressBlock()
513 MEM_STATIC size_t ZSTD_rleCompressBlock (void* dst, size_t dstCapacity, BYTE src, size_t srcSize, U… in ZSTD_rleCompressBlock()
528 MEM_STATIC size_t ZSTD_minGain(size_t srcSize, ZSTD_strategy strat) in ZSTD_minGain()
536 MEM_STATIC int ZSTD_literalsCompressionIsDisabled(const ZSTD_CCtx_params* cctxParams) in ZSTD_literalsCompressionIsDisabled()
651 MEM_STATIC void
675 MEM_STATIC repcodes_t
741 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) in ZSTD_count()
[all …]
Dzstd_opt.c40 MEM_STATIC U32 ZSTD_bitWeight(U32 stat) in ZSTD_bitWeight()
45 MEM_STATIC U32 ZSTD_fracWeight(U32 rawStat) in ZSTD_fracWeight()
60 MEM_STATIC double ZSTD_fCost(U32 price) in ZSTD_fCost()
366 MEM_STATIC U32 ZSTD_readMINMATCH(const void* memPtr, U32 length) in ZSTD_readMINMATCH()
Dhuf_compress.c471 MEM_STATIC int HUF_isSorted(nodeElt huffNode[], U32 const maxSymbolValue1) { in HUF_isSorted()
Dzstd_lazy.c835 MEM_STATIC int ZSTD_isAligned(void const* ptr, size_t align) { in ZSTD_isAligned()
Dzstd_compress.c2482 MEM_STATIC size_t
2600 MEM_STATIC size_t
/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress_internal.h201 MEM_STATIC int ZSTD_DCtx_get_bmi2(const struct ZSTD_DCtx_s *dctx) { in ZSTD_DCtx_get_bmi2()
Dzstd_decompress_block.c1272 MEM_STATIC int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* …
1287 MEM_STATIC void ZSTD_assertValidSequence(