Home
last modified time | relevance | path

Searched refs:param (Results 1 – 15 of 15) sorted by relevance

/lib/zlib_dfltcc/
Ddfltcc_deflate.c64 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; in dfltcc_gdht() local
68 param, NULL, NULL, in dfltcc_gdht()
77 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; in dfltcc_cmpr() local
83 param, &strm->next_out, &avail_out, in dfltcc_cmpr()
94 const struct dfltcc_param_v0 *param in send_eobs() argument
101 bi_reverse(param->eobs >> (15 - param->eobl), param->eobl), in send_eobs()
102 param->eobl); in send_eobs()
115 state->compressed_len += param->eobl; in send_eobs()
127 struct dfltcc_param_v0 *param = &dfltcc_state->common.param; in dfltcc_deflate() local
137 param->hl = 0; in dfltcc_deflate()
[all …]
Ddfltcc_inflate.c44 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; in dfltcc_was_inflate_used() local
46 return !param->nt; in dfltcc_was_inflate_used()
74 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; in dfltcc_xpnd() local
80 param, &strm->next_out, &avail_out, in dfltcc_xpnd()
95 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_inflate() local
119 if (strm->avail_in == 0 && !param->cf) in dfltcc_inflate()
128 param->cvt = CVT_ADLER32; in dfltcc_inflate()
129 param->sbb = state->bits; in dfltcc_inflate()
130 if (param->hl) in dfltcc_inflate()
131 param->nt = 0; /* Honor history for the first block */ in dfltcc_inflate()
[all …]
Ddfltcc.c29 dfltcc(DFLTCC_QAF, &dfltcc_state->param, NULL, NULL, NULL, NULL, NULL); in dfltcc_reset_state()
30 memmove(&dfltcc_state->af, &dfltcc_state->param, sizeof(dfltcc_state->af)); in dfltcc_reset_state()
35 memset(&dfltcc_state->param, 0, sizeof(dfltcc_state->param)); in dfltcc_reset_state()
36 dfltcc_state->param.nt = 1; in dfltcc_reset_state()
37 dfltcc_state->param.ribm = DFLTCC_RIBM; in dfltcc_reset_state()
Ddfltcc_util.h28 void *param, in dfltcc() argument
41 register void *r1 __asm__("r1") = param; in dfltcc()
Ddfltcc.h94 struct dfltcc_param_v0 param; /* Parameter block */ member
/lib/math/
Drational-test.c26 static void get_desc(const struct rational_test_param *param, char *desc) in get_desc() argument
28 strscpy(desc, param->name, KUNIT_PARAM_DESC_SIZE); in get_desc()
36 const struct rational_test_param *param = (const struct rational_test_param *)test->param_value; in rational_test() local
39 rational_best_approximation(param->num, param->den, param->max_num, param->max_den, &n, &d); in rational_test()
40 KUNIT_EXPECT_EQ(test, n, param->exp_num); in rational_test()
41 KUNIT_EXPECT_EQ(test, d, param->exp_den); in rational_test()
/lib/kunit/
Dkunit-example-test.c210 const struct example_param *param = test->param_value; in example_params_test() local
213 KUNIT_ASSERT_NOT_NULL(test, param); in example_params_test()
216 if (!param->value) in example_params_test()
220 KUNIT_EXPECT_EQ(test, param->value % param->value, 0); in example_params_test()
/lib/
DKconfig.kmsan32 # -fsanitize-memory-param-retval is supported only by Clang >= 14.
34 def_bool $(cc-option,-fsanitize=kernel-memory -fsanitize-memory-param-retval)
41 If the compiler supports -fsanitize-memory-param-retval, KMSAN will
Dcmdline.c227 char *next_arg(char *args, char **param, char **val) in next_arg() argument
249 *param = args; in next_arg()
Ddynamic_debug.c1274 static int ddebug_dyndbg_param_cb(char *param, char *val, in ddebug_dyndbg_param_cb() argument
1279 sep = strchr(param, '.'); in ddebug_dyndbg_param_cb()
1283 modname = param; in ddebug_dyndbg_param_cb()
1284 param = sep + 1; in ddebug_dyndbg_param_cb()
1286 if (strcmp(param, "dyndbg")) in ddebug_dyndbg_param_cb()
1295 static int ddebug_dyndbg_boot_param_cb(char *param, char *val, in ddebug_dyndbg_boot_param_cb() argument
1298 vpr_info("%s=\"%s\"\n", param, val); in ddebug_dyndbg_boot_param_cb()
1299 return ddebug_dyndbg_param_cb(param, val, NULL, 0); in ddebug_dyndbg_boot_param_cb()
1307 int ddebug_dyndbg_module_param_cb(char *param, char *val, const char *module) in ddebug_dyndbg_module_param_cb() argument
1309 vpr_info("module: %s %s=\"%s\"\n", module, param, val); in ddebug_dyndbg_module_param_cb()
[all …]
Dbch.c470 int rem, c, r, p, k, param[BCH_MAX_M]; in solve_linear_system() local
500 param[k++] = c; in solve_linear_system()
512 rows[r] = (p && (r == param[p-1])) ? in solve_linear_system()
524 rows[param[c]] = (rows[param[c]] & ~1)|((p >> c) & 1); in solve_linear_system()
DKconfig.kcsan8 (CC_IS_GCC && $(cc-option,-fsanitize=thread --param tsan-distinguish-volatile=1))
35 (CC_IS_GCC && $(cc-option,-fsanitize=thread --param tsan-compound-read-before-write=1))
DKconfig.kasan54 (CC_IS_GCC && $(cc-option,-fsanitize=kernel-address --param asan-kernel-mem-intrinsic-prefix=1))
/lib/zstd/compress/
Dzstd_compress.c376 ZSTD_bounds ZSTD_cParam_getBounds(ZSTD_cParameter param) in ZSTD_cParam_getBounds() argument
380 switch(param) in ZSTD_cParam_getBounds()
576 static int ZSTD_isUpdateAuthorized(ZSTD_cParameter param) in ZSTD_isUpdateAuthorized() argument
578 switch(param) in ZSTD_isUpdateAuthorized()
621 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value) in ZSTD_CCtx_setParameter() argument
623 DEBUGLOG(4, "ZSTD_CCtx_setParameter (%i, %i)", (int)param, value); in ZSTD_CCtx_setParameter()
625 if (ZSTD_isUpdateAuthorized(param)) { in ZSTD_CCtx_setParameter()
631 switch(param) in ZSTD_CCtx_setParameter()
675 return ZSTD_CCtxParams_setParameter(&cctx->requestedParams, param, value); in ZSTD_CCtx_setParameter()
679 ZSTD_cParameter param, int value) in ZSTD_CCtxParams_setParameter() argument
[all …]
/lib/zstd/decompress/
Dzstd_decompress.c1695 size_t ZSTD_DCtx_getParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int* value) in ZSTD_DCtx_getParameter() argument
1697 switch (param) { in ZSTD_DCtx_getParameter()