Home
last modified time | relevance | path

Searched refs:ZSTD_STATIC_ASSERT (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c429 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_ERROR < ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_getDecompressedSize()
1066ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, OFTable) == offsetof(ZSTD_entropyDTables_t, LLT… in ZSTD_loadDEntropy()
1067ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, MLTable) == offsetof(ZSTD_entropyDTables_t, OFT… in ZSTD_loadDEntropy()
1068ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) … in ZSTD_loadDEntropy()
1172 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
1411 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_dParam_getBounds()
H A Dzstd_decompress_block.c850 ZSTD_STATIC_ASSERT(ZSTD_lo_isLongOffset == 1); in ZSTD_decodeSequence()
851 ZSTD_STATIC_ASSERT(LONG_OFFSETS_MAX_EXTRA_BITS_32 == 5); in ZSTD_decodeSequence()
896 ZSTD_STATIC_ASSERT(16+LLFSELog+MLFSELog+OffFSELog < STREAM_ACCUMULATOR_MIN_64); in ZSTD_decodeSequence()
1015 ZSTD_STATIC_ASSERT( in ZSTD_decompressSequences_body()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c83 ZSTD_STATIC_ASSERT(zcss_init==0); in ZSTD_createCCtx_advanced()
84 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced()
394 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_cParam_getBounds()
400 ZSTD_STATIC_ASSERT(ZSTD_dictDefaultAttach < ZSTD_dictForceCopy); in ZSTD_cParam_getBounds()
406ZSTD_STATIC_ASSERT(ZSTD_lcm_auto < ZSTD_lcm_huffman && ZSTD_lcm_huffman < ZSTD_lcm_uncompressed); in ZSTD_cParam_getBounds()
1838 ZSTD_STATIC_ASSERT((U32)ZSTDb_buffered==1); in ZSTD_copyCCtx()
1991 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_compressSequences_internal()
2218 ZSTD_STATIC_ASSERT((unsigned)ZSTD_fast == 1); in ZSTD_selectBlockCompressor()
2561 ZSTD_STATIC_ASSERT(ZSTD_CHAINLOG_MAX <= 30); in ZSTD_overflowCorrectIfNeeded()
2562 ZSTD_STATIC_ASSERT(ZSTD_WINDOWLOG_MAX_32 <= 30); in ZSTD_overflowCorrectIfNeeded()
[all …]
H A Dzstd_compress_sequences.c150 ZSTD_STATIC_ASSERT(ZSTD_defaultDisallowed == 0 && ZSTD_defaultAllowed != 0); in ZSTD_selectEncodingType()
H A Dzstd_ldm.c26 ZSTD_STATIC_ASSERT(LDM_BUCKET_SIZE_LOG <= ZSTD_LDM_BUCKETSIZELOG_MAX); in ZSTD_ldm_adjustParameters()
H A Dzstd_compress_internal.h397 ZSTD_STATIC_ASSERT(ZSTD_btultra == 8); in ZSTD_minGain()
H A Dzstd_opt.c923 ZSTD_STATIC_ASSERT(sizeof(opt[cur].rep) == sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c661 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_ERROR < ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_getDecompressedSize()
1344ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, OFTable) == offsetof(ZSTD_entropyDTables_t, LLT… in ZSTD_loadDEntropy()
1345ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, MLTable) == offsetof(ZSTD_entropyDTables_t, OFT… in ZSTD_loadDEntropy()
1346ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) … in ZSTD_loadDEntropy()
1460 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
1709 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_dParam_getBounds()
H A Dzstd_decompress_block.c1202 ZSTD_STATIC_ASSERT(ZSTD_lo_isLongOffset == 1);
1203 ZSTD_STATIC_ASSERT(LONG_OFFSETS_MAX_EXTRA_BITS_32 == 5);
1247 ZSTD_STATIC_ASSERT(16+LLFSELog+MLFSELog+OffFSELog < STREAM_ACCUMULATOR_MIN_64);
1354 ZSTD_STATIC_ASSERT(
1571 ZSTD_STATIC_ASSERT(
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_internal.h45 #define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) macro
/freebsd/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h48 #define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) macro
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c111 ZSTD_STATIC_ASSERT(zcss_init==0); in ZSTD_createCCtx_advanced()
112 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced()
517 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_cParam_getBounds()
523 ZSTD_STATIC_ASSERT(ZSTD_dictDefaultAttach < ZSTD_dictForceLoad); in ZSTD_cParam_getBounds()
529 ZSTD_STATIC_ASSERT(ZSTD_ps_auto < ZSTD_ps_enable && ZSTD_ps_enable < ZSTD_ps_disable); in ZSTD_cParam_getBounds()
1450 ZSTD_STATIC_ASSERT(ZSTD_HASHLOG_MIN >= 4 && ZSTD_WINDOWLOG_MIN >= 4 && ZSTD_CHAINLOG_MIN >= 4); in ZSTD_sizeof_matchState()
2290 ZSTD_STATIC_ASSERT((U32)ZSTDb_buffered==1); in ZSTD_copyCCtx()
2602 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_entropyCompressSeqStore_internal()
2769 ZSTD_STATIC_ASSERT((unsigned)ZSTD_fast == 1); in ZSTD_selectBlockCompressor()
3911 ZSTD_STATIC_ASSERT(ZSTD_CHAINLOG_MAX <= 30); in ZSTD_overflowCorrectIfNeeded()
[all …]
H A Dzstd_cwksp.h297ZSTD_STATIC_ASSERT((ZSTD_CWKSP_ALIGNMENT_BYTES & (ZSTD_CWKSP_ALIGNMENT_BYTES - 1)) == 0); /* power… in ZSTD_cwksp_internal_advance_phase()
H A Dzstd_compress_sequences.c165 ZSTD_STATIC_ASSERT(ZSTD_defaultDisallowed == 0 && ZSTD_defaultAllowed != 0); in ZSTD_selectEncodingType()
H A Dzstd_compress_internal.h543 ZSTD_STATIC_ASSERT(ZSTD_btultra == 8); in ZSTD_minGain()
1244ZSTD_STATIC_ASSERT(ZSTD_DUBT_UNSORTED_MARK < ZSTD_WINDOW_START_INDEX); /* Start above ZSTD_DUBT_UN… in ZSTD_window_init()
H A Dzstd_ldm.c139 ZSTD_STATIC_ASSERT(LDM_BUCKET_SIZE_LOG <= ZSTD_LDM_BUCKETSIZELOG_MAX); in ZSTD_ldm_adjustParameters()
H A Dzstd_opt.c1174 ZSTD_STATIC_ASSERT(sizeof(opt[cur].rep) == sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic()