Lines Matching refs:value

1787 static int ZSTD_dParam_withinBounds(ZSTD_dParameter dParam, int value)  in ZSTD_dParam_withinBounds()  argument
1791 if (value < bounds.lowerBound) return 0; in ZSTD_dParam_withinBounds()
1792 if (value > bounds.upperBound) return 0; in ZSTD_dParam_withinBounds()
1800 size_t ZSTD_DCtx_getParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int* value) in ZSTD_DCtx_getParameter() argument
1804 *value = (int)ZSTD_highbit32((U32)dctx->maxWindowSize); in ZSTD_DCtx_getParameter()
1807 *value = (int)dctx->format; in ZSTD_DCtx_getParameter()
1810 *value = (int)dctx->outBufferMode; in ZSTD_DCtx_getParameter()
1813 *value = (int)dctx->forceIgnoreChecksum; in ZSTD_DCtx_getParameter()
1816 *value = (int)dctx->refMultipleDDicts; in ZSTD_DCtx_getParameter()
1819 *value = (int)dctx->disableHufAsm; in ZSTD_DCtx_getParameter()
1822 *value = dctx->maxBlockSizeParam; in ZSTD_DCtx_getParameter()
1829 size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter dParam, int value) in ZSTD_DCtx_setParameter() argument
1834 if (value == 0) value = ZSTD_WINDOWLOG_LIMIT_DEFAULT; in ZSTD_DCtx_setParameter()
1835 CHECK_DBOUNDS(ZSTD_d_windowLogMax, value); in ZSTD_DCtx_setParameter()
1836 dctx->maxWindowSize = ((size_t)1) << value; in ZSTD_DCtx_setParameter()
1839 CHECK_DBOUNDS(ZSTD_d_format, value); in ZSTD_DCtx_setParameter()
1840 dctx->format = (ZSTD_format_e)value; in ZSTD_DCtx_setParameter()
1843 CHECK_DBOUNDS(ZSTD_d_stableOutBuffer, value); in ZSTD_DCtx_setParameter()
1844 dctx->outBufferMode = (ZSTD_bufferMode_e)value; in ZSTD_DCtx_setParameter()
1847 CHECK_DBOUNDS(ZSTD_d_forceIgnoreChecksum, value); in ZSTD_DCtx_setParameter()
1848 dctx->forceIgnoreChecksum = (ZSTD_forceIgnoreChecksum_e)value; in ZSTD_DCtx_setParameter()
1851 CHECK_DBOUNDS(ZSTD_d_refMultipleDDicts, value); in ZSTD_DCtx_setParameter()
1855 dctx->refMultipleDDicts = (ZSTD_refMultipleDDicts_e)value; in ZSTD_DCtx_setParameter()
1858 CHECK_DBOUNDS(ZSTD_d_disableHuffmanAssembly, value); in ZSTD_DCtx_setParameter()
1859 dctx->disableHufAsm = value != 0; in ZSTD_DCtx_setParameter()
1862 if (value != 0) CHECK_DBOUNDS(ZSTD_d_maxBlockSize, value); in ZSTD_DCtx_setParameter()
1863 dctx->maxBlockSizeParam = value; in ZSTD_DCtx_setParameter()