Searched refs:ZSTD_STATIC_ASSERT (Results 1 – 9 of 9) sorted by relevance
/external/zstd/contrib/linux-kernel/ |
D | zstd_compress_module.c | 14 ZSTD_STATIC_ASSERT(sizeof(ZSTD_parameters) == in zstd_check_structs() 16 ZSTD_STATIC_ASSERT(sizeof(ZSTD_compressionParameters) == in zstd_check_structs() 18 ZSTD_STATIC_ASSERT(sizeof(ZSTD_frameParameters) == in zstd_check_structs() 21 ZSTD_STATIC_ASSERT(offsetof(ZSTD_parameters, cParams) == in zstd_check_structs() 23 ZSTD_STATIC_ASSERT(offsetof(ZSTD_parameters, fParams) == in zstd_check_structs() 25 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, windowLog) == in zstd_check_structs() 27 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, chainLog) == in zstd_check_structs() 29 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, hashLog) == in zstd_check_structs() 31 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, searchLog) == in zstd_check_structs() 33 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, minMatch) == in zstd_check_structs() [all …]
|
/external/zstd/lib/decompress/ |
D | zstd_decompress.c | 437 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_ERROR < ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_getDecompressedSize() 1078 …ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, OFTable) == offsetof(ZSTD_entropyDTables_t, LLT… in ZSTD_loadDEntropy() 1079 …ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, MLTable) == offsetof(ZSTD_entropyDTables_t, OFT… in ZSTD_loadDEntropy() 1080 …ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) … in ZSTD_loadDEntropy() 1190 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin() 1429 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_dParam_getBounds()
|
D | zstd_decompress_block.c | 959 ZSTD_STATIC_ASSERT(ZSTD_lo_isLongOffset == 1); in ZSTD_decodeSequence() 960 ZSTD_STATIC_ASSERT(LONG_OFFSETS_MAX_EXTRA_BITS_32 == 5); in ZSTD_decodeSequence() 1005 ZSTD_STATIC_ASSERT(16+LLFSELog+MLFSELog+OffFSELog < STREAM_ACCUMULATOR_MIN_64); in ZSTD_decodeSequence() 1136 ZSTD_STATIC_ASSERT( in ZSTD_decompressSequences_body()
|
/external/zstd/lib/common/ |
D | zstd_internal.h | 45 #define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) macro
|
/external/zstd/lib/compress/ |
D | zstd_compress.c | 96 ZSTD_STATIC_ASSERT(zcss_init==0); in ZSTD_createCCtx_advanced() 97 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced() 428 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_cParam_getBounds() 434 ZSTD_STATIC_ASSERT(ZSTD_dictDefaultAttach < ZSTD_dictForceLoad); in ZSTD_cParam_getBounds() 440 … ZSTD_STATIC_ASSERT(ZSTD_lcm_auto < ZSTD_lcm_huffman && ZSTD_lcm_huffman < ZSTD_lcm_uncompressed); in ZSTD_cParam_getBounds() 2024 ZSTD_STATIC_ASSERT((U32)ZSTDb_buffered==1); in ZSTD_copyCCtx() 2180 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_entropyCompressSequences_internal() 2418 ZSTD_STATIC_ASSERT((unsigned)ZSTD_fast == 1); in ZSTD_selectBlockCompressor() 2817 ZSTD_STATIC_ASSERT(ZSTD_CHAINLOG_MAX <= 30); in ZSTD_overflowCorrectIfNeeded() 2818 ZSTD_STATIC_ASSERT(ZSTD_WINDOWLOG_MAX_32 <= 30); in ZSTD_overflowCorrectIfNeeded() [all …]
|
D | zstd_compress_sequences.c | 163 ZSTD_STATIC_ASSERT(ZSTD_defaultDisallowed == 0 && ZSTD_defaultAllowed != 0); in ZSTD_selectEncodingType()
|
D | zstd_ldm.c | 26 ZSTD_STATIC_ASSERT(LDM_BUCKET_SIZE_LOG <= ZSTD_LDM_BUCKETSIZELOG_MAX); in ZSTD_ldm_adjustParameters()
|
D | zstd_compress_internal.h | 460 ZSTD_STATIC_ASSERT(ZSTD_btultra == 8); in ZSTD_minGain()
|
D | zstd_opt.c | 1064 ZSTD_STATIC_ASSERT(sizeof(opt[cur].rep) == sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic()
|