Searched refs:BOUNDED (Results 1 – 6 of 6) sorted by relevance
/linux/lib/zstd/decompress/ |
H A D | zstd_decompress_internal.h | 117 #define ZSTD_LITBUFFEREXTRASIZE BOUNDED(ZSTD_LBMIN, ZSTD_DECODER_INTERNAL_BUFFER, ZSTD_LBMAX)
|
H A D | zstd_decompress.c | 1078 return BOUNDED(1, inputSize, dctx->expected); in ZSTD_nextSrcSizeToDecompressWithInputSize()
|
/linux/lib/zstd/common/ |
H A D | zstd_internal.h | 51 #define BOUNDED(min,val,max) (MAX(min,MIN(val,max))) macro
|
/linux/lib/zstd/compress/ |
H A D | zstd_lazy.c | 969 const U32 rowLog = BOUNDED(4, ms->cParams.searchLog, 6); in ZSTD_row_update() 1491 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_generic() 1492 const U32 rowLog = BOUNDED(4, ms->cParams.searchLog, 6); in ZSTD_compressBlock_lazy_generic() 1882 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_extDict_generic() 1883 const U32 rowLog = BOUNDED(4, ms->cParams.searchLog, 6); in ZSTD_compressBlock_lazy_extDict_generic()
|
H A D | zstd_opt.c | 807 assert(BOUNDED(3, ms->cParams.minMatch, 6) == mls); in ZSTD_btGetAllMatches_internal() 859 U32 const mls = BOUNDED(3, ms->cParams.minMatch, 6);
|
H A D | zstd_compress.c | 1398 size_t const windowSize = (size_t) BOUNDED(1ULL, 1ULL << cParams->windowLog, pledgedSrcSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1706 U32 const rowLog = BOUNDED(4, cParams->searchLog, 6); in ZSTD_reset_matchState()
|