Lines Matching refs:bounds

1633     ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax);  in ZSTD_DCtx_setMaxWindowSize()  local
1634 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize()
1635 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize()
1650 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1653 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds()
1654 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds()
1655 return bounds; in ZSTD_dParam_getBounds()
1657 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1658 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds()
1660 return bounds; in ZSTD_dParam_getBounds()
1662 bounds.lowerBound = (int)ZSTD_bm_buffered; in ZSTD_dParam_getBounds()
1663 bounds.upperBound = (int)ZSTD_bm_stable; in ZSTD_dParam_getBounds()
1664 return bounds; in ZSTD_dParam_getBounds()
1666 bounds.lowerBound = (int)ZSTD_d_validateChecksum; in ZSTD_dParam_getBounds()
1667 bounds.upperBound = (int)ZSTD_d_ignoreChecksum; in ZSTD_dParam_getBounds()
1668 return bounds; in ZSTD_dParam_getBounds()
1670 bounds.lowerBound = (int)ZSTD_rmd_refSingleDDict; in ZSTD_dParam_getBounds()
1671 bounds.upperBound = (int)ZSTD_rmd_refMultipleDDicts; in ZSTD_dParam_getBounds()
1672 return bounds; in ZSTD_dParam_getBounds()
1675 bounds.error = ERROR(parameter_unsupported); in ZSTD_dParam_getBounds()
1676 return bounds; in ZSTD_dParam_getBounds()
1684 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(dParam); in ZSTD_dParam_withinBounds() local
1685 if (ZSTD_isError(bounds.error)) return 0; in ZSTD_dParam_withinBounds()
1686 if (value < bounds.lowerBound) return 0; in ZSTD_dParam_withinBounds()
1687 if (value > bounds.upperBound) return 0; in ZSTD_dParam_withinBounds()