Lines Matching refs:bounds

1614     ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax);  in ZSTD_DCtx_setMaxWindowSize()  local
1615 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize()
1616 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize()
1631 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1634 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds()
1635 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds()
1636 return bounds; in ZSTD_dParam_getBounds()
1638 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1639 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds()
1641 return bounds; in ZSTD_dParam_getBounds()
1643 bounds.lowerBound = (int)ZSTD_bm_buffered; in ZSTD_dParam_getBounds()
1644 bounds.upperBound = (int)ZSTD_bm_stable; in ZSTD_dParam_getBounds()
1645 return bounds; in ZSTD_dParam_getBounds()
1647 bounds.lowerBound = (int)ZSTD_d_validateChecksum; in ZSTD_dParam_getBounds()
1648 bounds.upperBound = (int)ZSTD_d_ignoreChecksum; in ZSTD_dParam_getBounds()
1649 return bounds; in ZSTD_dParam_getBounds()
1651 bounds.lowerBound = (int)ZSTD_rmd_refSingleDDict; in ZSTD_dParam_getBounds()
1652 bounds.upperBound = (int)ZSTD_rmd_refMultipleDDicts; in ZSTD_dParam_getBounds()
1653 return bounds; in ZSTD_dParam_getBounds()
1656 bounds.error = ERROR(parameter_unsupported); in ZSTD_dParam_getBounds()
1657 return bounds; in ZSTD_dParam_getBounds()
1665 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(dParam); in ZSTD_dParam_withinBounds() local
1666 if (ZSTD_isError(bounds.error)) return 0; in ZSTD_dParam_withinBounds()
1667 if (value < bounds.lowerBound) return 0; in ZSTD_dParam_withinBounds()
1668 if (value > bounds.upperBound) return 0; in ZSTD_dParam_withinBounds()