Lines Matching defs:val
306 bool sym_tristate_within_range(struct symbol *sym, tristate val)
316 switch (val) {
331 bool sym_set_tristate_value(struct symbol *sym, tristate val)
335 if (oldval != val && !sym_tristate_within_range(sym, val))
342 if (sym_is_choice_value(sym) && val == yes) {
349 S_TRI(sym->def) = val;
350 if (oldval != val) {
433 char *val;
467 S_VAL(sym->def) = val = malloc(size);
468 *val++ = '0';
469 *val++ = 'x';
471 S_VAL(sym->def) = val = malloc(size);
475 strcpy(val, newval);
484 tristate val;
489 val = sym_get_tristate_value(sym);
490 switch (val) {