/external/zstd/contrib/linux-kernel/ |
D | mem.h | 27 #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 …]
|
/external/zstd/lib/common/ |
D | mem.h | 35 # define MEM_STATIC static __inline __attribute__((unused)) macro 37 # define MEM_STATIC static inline 39 # define MEM_STATIC static __inline 41 # define MEM_STATIC static /* this version may generate warnings for unused static functions; dis… 91 MEM_STATIC unsigned MEM_32bits(void); 92 MEM_STATIC unsigned MEM_64bits(void); 93 MEM_STATIC unsigned MEM_isLittleEndian(void); 96 MEM_STATIC U16 MEM_read16(const void* memPtr); 97 MEM_STATIC U32 MEM_read32(const void* memPtr); 98 MEM_STATIC U64 MEM_read64(const void* memPtr); [all …]
|
D | bitstream.h | 66 MEM_STATIC size_t BIT_initCStream(BIT_CStream_t* bitC, void* dstBuffer, size_t dstCapacity); 67 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, size_t value, unsigned nbBits); 68 MEM_STATIC void BIT_flushBits(BIT_CStream_t* bitC); 69 MEM_STATIC size_t BIT_closeCStream(BIT_CStream_t* bitC); 106 MEM_STATIC size_t BIT_initDStream(BIT_DStream_t* bitD, const void* srcBuffer, size_t srcSize); 107 MEM_STATIC size_t BIT_readBits(BIT_DStream_t* bitD, unsigned nbBits); 108 MEM_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t* bitD); 109 MEM_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t* bitD); 126 MEM_STATIC void BIT_addBitsFast(BIT_CStream_t* bitC, size_t value, unsigned nbBits); 129 MEM_STATIC void BIT_flushBitsFast(BIT_CStream_t* bitC); [all …]
|
D | fse.h | 514 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState() 529 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2() 540 MEM_STATIC void FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* statePtr, unsigned symbol) in FSE_encodeSymbol() 549 MEM_STATIC void FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* statePtr) in FSE_flushCState() 561 MEM_STATIC U32 FSE_getMaxNbBits(const void* symbolTTPtr, U32 symbolValue) in FSE_getMaxNbBits() 571 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog) in FSE_bitCost() 603 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() 612 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr) in FSE_peekSymbol() 618 MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_updateState() 626 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbol() [all …]
|
D | zstd_internal.h | 217 MEM_STATIC FORCE_INLINE_ATTR 257 MEM_STATIC size_t ZSTD_limitCopy(void* dst, size_t dstCapacity, const void* src, size_t srcSize) in ZSTD_limitCopy() 327 MEM_STATIC ZSTD_sequenceLength ZSTD_getSequenceLength(seqStore_t const* seqStore, seqDef const* seq) in ZSTD_getSequenceLength() 363 MEM_STATIC U32 ZSTD_highbit32(U32 val) /* compress, dictBuilder, decodeCorpus */ in ZSTD_highbit32() 403 MEM_STATIC unsigned ZSTD_countTrailingZeros(size_t val) in ZSTD_countTrailingZeros() 483 MEM_STATIC int ZSTD_cpuSupportsBmi2(void) in ZSTD_cpuSupportsBmi2()
|
D | cpu.h | 32 MEM_STATIC ZSTD_cpuid_t ZSTD_cpuid(void) { in ZSTD_cpuid() 111 MEM_STATIC int ZSTD_cpuid_##name(ZSTD_cpuid_t const cpuid) { \
|
/external/zstd/lib/compress/ |
D | zstd_cwksp.h | 164 MEM_STATIC size_t ZSTD_cwksp_available_space(ZSTD_cwksp* ws); 166 MEM_STATIC void ZSTD_cwksp_assert_internal_consistency(ZSTD_cwksp* ws) { in ZSTD_cwksp_assert_internal_consistency() 179 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t const align) { in ZSTD_cwksp_align() 197 MEM_STATIC size_t ZSTD_cwksp_alloc_size(size_t size) { in ZSTD_cwksp_alloc_size() 211 MEM_STATIC size_t ZSTD_cwksp_aligned_alloc_size(size_t size) { in ZSTD_cwksp_aligned_alloc_size() 219 MEM_STATIC size_t ZSTD_cwksp_slack_space_required(void) { in ZSTD_cwksp_slack_space_required() 236 MEM_STATIC size_t ZSTD_cwksp_bytes_to_align_ptr(void* ptr, const size_t alignBytes) { in ZSTD_cwksp_bytes_to_align_ptr() 251 MEM_STATIC void* 279 MEM_STATIC size_t 322 MEM_STATIC int ZSTD_cwksp_owns_buffer(const ZSTD_cwksp* ws, const void* ptr) in ZSTD_cwksp_owns_buffer() [all …]
|
D | zstd_compress_internal.h | 469 MEM_STATIC U32 ZSTD_LLcode(U32 litLength) in ZSTD_LLcode() 486 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() 503 MEM_STATIC int ZSTD_cParam_withinBounds(ZSTD_cParameter cParam, int value) in ZSTD_cParam_withinBounds() 515 MEM_STATIC size_t ZSTD_noCompressBlock (void* dst, size_t dstCapacity, const void* src, size_t srcS… in ZSTD_noCompressBlock() 525 MEM_STATIC size_t ZSTD_rleCompressBlock (void* dst, size_t dstCapacity, BYTE src, size_t srcSize, U… in ZSTD_rleCompressBlock() 540 MEM_STATIC size_t ZSTD_minGain(size_t srcSize, ZSTD_strategy strat) in ZSTD_minGain() 548 MEM_STATIC int ZSTD_literalsCompressionIsDisabled(const ZSTD_CCtx_params* cctxParams) in ZSTD_literalsCompressionIsDisabled() 663 MEM_STATIC void 687 MEM_STATIC repcodes_t 797 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) in ZSTD_count() [all …]
|
D | zstd_opt.c | 40 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()
|
D | huf_compress.c | 474 MEM_STATIC int HUF_isSorted(nodeElt huffNode[], U32 const maxSymbolValue1) { in HUF_isSorted()
|
D | zstdmt_compress.c | 918 MEM_STATIC ZSTDMT_CCtx* ZSTDMT_createCCtx_advanced_internal(unsigned nbWorkers, ZSTD_customMem cMem… in ZSTDMT_createCCtx_advanced_internal()
|
D | zstd_lazy.c | 844 MEM_STATIC int ZSTD_isAligned(void const* ptr, size_t align) { in ZSTD_isAligned()
|
D | zstd_compress.c | 2573 MEM_STATIC size_t 2691 MEM_STATIC size_t
|
/external/zstd/lib/legacy/ |
D | zstd_legacy.h | 56 MEM_STATIC unsigned ZSTD_isLegacy(const void* src, size_t srcSize) in ZSTD_isLegacy() 89 MEM_STATIC unsigned long long ZSTD_getDecompressedSize_legacy(const void* src, size_t srcSize) in ZSTD_getDecompressedSize_legacy() 121 MEM_STATIC size_t ZSTD_decompressLegacy( in ZSTD_decompressLegacy() 181 MEM_STATIC ZSTD_frameSizeInfo ZSTD_findFrameSizeInfoLegacy(const void *src, size_t srcSize) in ZSTD_findFrameSizeInfoLegacy() 248 MEM_STATIC size_t ZSTD_findFrameCompressedSizeLegacy(const void *src, size_t srcSize) in ZSTD_findFrameCompressedSizeLegacy() 254 MEM_STATIC size_t ZSTD_freeLegacyStreamContext(void* legacyContext, U32 version) in ZSTD_freeLegacyStreamContext() 280 MEM_STATIC size_t ZSTD_initLegacyStream(void** legacyContext, U32 prevVersion, U32 newVersion, in ZSTD_initLegacyStream() 339 MEM_STATIC size_t ZSTD_decompressLegacyStream(void* legacyContext, U32 version, in ZSTD_decompressLegacyStream()
|
D | zstd_v03.c | 79 # define MEM_STATIC static __attribute__((unused)) macro 81 # define MEM_STATIC static inline 83 # define MEM_STATIC static __inline 85 # define MEM_STATIC static /* this version may generate warnings for unused static functions; dis… 138 MEM_STATIC unsigned MEM_32bits(void) { return sizeof(void*)==4; } in MEM_32bits() 139 MEM_STATIC unsigned MEM_64bits(void) { return sizeof(void*)==8; } in MEM_64bits() 141 MEM_STATIC unsigned MEM_isLittleEndian(void) in MEM_isLittleEndian() 151 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16() 152 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32() 153 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64() [all …]
|
D | zstd_v04.c | 41 # define MEM_STATIC static __attribute__((unused)) macro 43 # define MEM_STATIC static inline 45 # define MEM_STATIC static __inline 47 # define MEM_STATIC static /* this version may generate warnings for unused static functions; dis… 109 MEM_STATIC unsigned MEM_32bits(void) { return sizeof(void*)==4; } in MEM_32bits() 110 MEM_STATIC unsigned MEM_64bits(void) { return sizeof(void*)==8; } in MEM_64bits() 112 MEM_STATIC unsigned MEM_isLittleEndian(void) in MEM_isLittleEndian() 122 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16() 123 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32() 124 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64() [all …]
|
D | zstd_v02.c | 78 # define MEM_STATIC static __attribute__((unused)) macro 80 # define MEM_STATIC static inline 82 # define MEM_STATIC static __inline 84 # define MEM_STATIC static /* this version may generate warnings for unused static functions; dis… 137 MEM_STATIC unsigned MEM_32bits(void) { return sizeof(void*)==4; } in MEM_32bits() 138 MEM_STATIC unsigned MEM_64bits(void) { return sizeof(void*)==8; } in MEM_64bits() 140 MEM_STATIC unsigned MEM_isLittleEndian(void) in MEM_isLittleEndian() 150 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16() 151 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32() 152 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64() [all …]
|
D | zstd_v05.c | 69 # define MEM_STATIC static __attribute__((unused)) macro 71 # define MEM_STATIC static inline 73 # define MEM_STATIC static __inline 75 # define MEM_STATIC static /* this version may generate warnings for unused static functions; dis… 128 MEM_STATIC unsigned MEM_32bits(void) { return sizeof(void*)==4; } in MEM_32bits() 129 MEM_STATIC unsigned MEM_64bits(void) { return sizeof(void*)==8; } in MEM_64bits() 131 MEM_STATIC unsigned MEM_isLittleEndian(void) in MEM_isLittleEndian() 141 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16() 142 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32() 143 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64() [all …]
|
D | zstd_v06.c | 71 # define MEM_STATIC static __attribute__((unused)) macro 73 # define MEM_STATIC static inline 75 # define MEM_STATIC static __inline 77 # define MEM_STATIC static /* this version may generate warnings for unused static functions; dis… 130 MEM_STATIC unsigned MEM_32bits(void) { return sizeof(size_t)==4; } in MEM_32bits() 131 MEM_STATIC unsigned MEM_64bits(void) { return sizeof(size_t)==8; } in MEM_64bits() 133 MEM_STATIC unsigned MEM_isLittleEndian(void) in MEM_isLittleEndian() 143 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16() 144 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32() 145 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64() [all …]
|
D | zstd_v07.c | 231 # define MEM_STATIC static __attribute__((unused)) macro 233 # define MEM_STATIC static inline 235 # define MEM_STATIC static __inline 237 # define MEM_STATIC static /* this version may generate warnings for unused static functions; dis… 290 MEM_STATIC unsigned MEM_32bits(void) { return sizeof(size_t)==4; } in MEM_32bits() 291 MEM_STATIC unsigned MEM_64bits(void) { return sizeof(size_t)==8; } in MEM_64bits() 293 MEM_STATIC unsigned MEM_isLittleEndian(void) in MEM_isLittleEndian() 303 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16() 304 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32() 305 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64() [all …]
|
/external/zstd/lib/decompress/ |
D | zstd_decompress_internal.h | 209 MEM_STATIC int ZSTD_DCtx_get_bmi2(const struct ZSTD_DCtx_s *dctx) { in ZSTD_DCtx_get_bmi2()
|
D | zstd_decompress_block.c | 1272 MEM_STATIC int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* … 1287 MEM_STATIC void ZSTD_assertValidSequence(
|