Lines Matching refs:bounds

1568     ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax);  in ZSTD_DCtx_setMaxWindowSize()  local
1569 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize()
1570 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize()
1585 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1588 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds()
1589 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds()
1590 return bounds; in ZSTD_dParam_getBounds()
1592 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1593 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds()
1595 return bounds; in ZSTD_dParam_getBounds()
1597 bounds.lowerBound = (int)ZSTD_bm_buffered; in ZSTD_dParam_getBounds()
1598 bounds.upperBound = (int)ZSTD_bm_stable; in ZSTD_dParam_getBounds()
1599 return bounds; in ZSTD_dParam_getBounds()
1601 bounds.lowerBound = (int)ZSTD_d_validateChecksum; in ZSTD_dParam_getBounds()
1602 bounds.upperBound = (int)ZSTD_d_ignoreChecksum; in ZSTD_dParam_getBounds()
1603 return bounds; in ZSTD_dParam_getBounds()
1605 bounds.lowerBound = (int)ZSTD_rmd_refSingleDDict; in ZSTD_dParam_getBounds()
1606 bounds.upperBound = (int)ZSTD_rmd_refMultipleDDicts; in ZSTD_dParam_getBounds()
1607 return bounds; in ZSTD_dParam_getBounds()
1610 bounds.error = ERROR(parameter_unsupported); in ZSTD_dParam_getBounds()
1611 return bounds; in ZSTD_dParam_getBounds()
1619 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(dParam); in ZSTD_dParam_withinBounds() local
1620 if (ZSTD_isError(bounds.error)) return 0; in ZSTD_dParam_withinBounds()
1621 if (value < bounds.lowerBound) return 0; in ZSTD_dParam_withinBounds()
1622 if (value > bounds.upperBound) return 0; in ZSTD_dParam_withinBounds()