Searched refs:ZSTD_STATIC_ASSERT (Results 1 – 5 of 5) sorted by relevance
53 #define ZSTD_STATIC_ASSERT(c) { enum { ZSTD_static_assert = 1/(int)(!!(c)) }; } macro
178 ZSTD_STATIC_ASSERT(ZSTD_FRAMEHEADERSIZE_PREFIX >= ZSTD_FRAMEIDSIZE); in ZSTD_startingInputLength()484 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_ERROR < ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_getDecompressedSize()1284 ZSTD_STATIC_ASSERT(ZSTD_lo_isLongOffset == 1); in ZSTD_decodeSequence()1285 ZSTD_STATIC_ASSERT(LONG_OFFSETS_MAX_EXTRA_BITS_32 == 5); in ZSTD_decodeSequence()1325 ZSTD_STATIC_ASSERT(16+LLFSELog+MLFSELog+OffFSELog < STREAM_ACCUMULATOR_MIN_64); in ZSTD_decodeSequence()1426 ZSTD_STATIC_ASSERT(ZSTD_lo_isLongOffset == 1); in ZSTD_decodeSequenceLong()1427 ZSTD_STATIC_ASSERT(LONG_OFFSETS_MAX_EXTRA_BITS_32 == 5); in ZSTD_decodeSequenceLong()1465 ZSTD_STATIC_ASSERT(16+LLFSELog+MLFSELog+OffFSELog < STREAM_ACCUMULATOR_MIN_64); in ZSTD_decodeSequenceLong()2273 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
69 ZSTD_STATIC_ASSERT(zcss_init==0); in ZSTD_createCCtx_advanced()70 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced()1219 ZSTD_STATIC_ASSERT((U32)ZSTDb_buffered==1); in ZSTD_copyCCtx()1479 ZSTD_STATIC_ASSERT(ZSTD_defaultDisallowed == 0 && ZSTD_defaultAllowed != 0); in ZSTD_selectEncodingType()1724 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_compressSequences_internal()1869 ZSTD_STATIC_ASSERT((unsigned)ZSTD_fast == 1); in ZSTD_selectBlockCompressor()2005 ZSTD_STATIC_ASSERT(ZSTD_CHAINLOG_MAX <= 30); in ZSTD_compress_frameChunk()2006 ZSTD_STATIC_ASSERT(ZSTD_WINDOWLOG_MAX_32 <= 30); in ZSTD_compress_frameChunk()2007 ZSTD_STATIC_ASSERT(ZSTD_WINDOWLOG_MAX <= 31); in ZSTD_compress_frameChunk()2267 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_loadZstdDictionary()
24 ZSTD_STATIC_ASSERT(LDM_BUCKET_SIZE_LOG <= ZSTD_LDM_BUCKETSIZELOG_MAX); in ZSTD_ldm_adjustParameters()
86 #define ZSTD_STATIC_ASSERT(c) { enum { ZSTD_static_assert = 1/(int)(!!(c)) }; } macro