• Home
  • Raw
  • Download

Lines Matching refs:tri

120 		prop->visible.tri = expr_calc_value(prop->visible.expr);  in sym_get_default_prop()
121 if (prop->visible.tri != no) in sym_get_default_prop()
132 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop()
133 if (prop->visible.tri != no) in sym_get_range_prop()
213 tristate tri; in sym_calc_visibility() local
216 tri = no; in sym_calc_visibility()
222 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility()
229 prop->visible.tri == mod && choice_sym->curr.tri == yes) in sym_calc_visibility()
230 prop->visible.tri = no; in sym_calc_visibility()
232 tri = EXPR_OR(tri, prop->visible.tri); in sym_calc_visibility()
234 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) in sym_calc_visibility()
235 tri = yes; in sym_calc_visibility()
236 if (sym->visible != tri) { in sym_calc_visibility()
237 sym->visible = tri; in sym_calc_visibility()
243 tri = yes; in sym_calc_visibility()
245 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility()
246 if (tri == mod) in sym_calc_visibility()
247 tri = yes; in sym_calc_visibility()
248 if (sym->dir_dep.tri != tri) { in sym_calc_visibility()
249 sym->dir_dep.tri = tri; in sym_calc_visibility()
252 tri = no; in sym_calc_visibility()
254 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility()
255 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_visibility()
256 tri = yes; in sym_calc_visibility()
257 if (sym->rev_dep.tri != tri) { in sym_calc_visibility()
258 sym->rev_dep.tri = tri; in sym_calc_visibility()
277 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_choice_default()
278 if (prop->visible.tri == no) in sym_choice_default()
322 sym->curr.tri = no; in sym_calc_choice()
362 sym->curr.tri = no; in sym_calc_value()
378 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value()
386 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value()
391 if (sym->rev_dep.tri != no) in sym_calc_value()
397 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value()
398 prop->visible.tri); in sym_calc_value()
402 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { in sym_calc_value()
414 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); in sym_calc_value()
416 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_value()
417 newval.tri = yes; in sym_calc_value()
444 if (sym_is_choice(sym) && newval.tri == yes) in sym_calc_value()
452 modules_val = modules_sym->curr.tri; in sym_calc_value()
499 if (sym->visible <= sym->rev_dep.tri) in sym_tristate_within_range()
503 return val >= sym->rev_dep.tri && val <= sym->visible; in sym_tristate_within_range()
535 sym->def[S_DEF_USER].tri = val; in sym_set_tristate_value()
715 val = symbol_no.curr.tri; in sym_get_string_default()
725 val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); in sym_get_string_default()
742 val = EXPR_OR(val, sym->rev_dep.tri); in sym_get_string_default()
746 if (!sym_is_choice_value(sym) && modules_sym->curr.tri == no) in sym_get_string_default()
786 return (modules_sym->curr.tri == no) ? "n" : "m"; in sym_get_string_value()
799 return sym->visible > sym->rev_dep.tri; in sym_is_changable()