Lines Matching defs:bounds
1385 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax);
1386 size_t const min = (size_t)1 << bounds.lowerBound;
1387 size_t const max = (size_t)1 << bounds.upperBound;
1402 ZSTD_bounds bounds = { 0, 0, 0 };
1405 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN;
1406 bounds.upperBound = ZSTD_WINDOWLOG_MAX;
1407 return bounds;
1409 bounds.lowerBound = (int)ZSTD_f_zstd1;
1410 bounds.upperBound = (int)ZSTD_f_zstd1_magicless;
1412 return bounds;
1414 bounds.lowerBound = (int)ZSTD_obm_buffered;
1415 bounds.upperBound = (int)ZSTD_obm_stable;
1416 return bounds;
1419 bounds.error = ERROR(parameter_unsupported);
1420 return bounds;
1424 * @return 1 if value is within dParam bounds,
1428 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(dParam);
1429 if (ZSTD_isError(bounds.error)) return 0;
1430 if (value < bounds.lowerBound) return 0;
1431 if (value > bounds.upperBound) return 0;