Lines Matching refs:tri
125 prop->visible.tri = expr_calc_value(prop->visible.expr);
126 if (prop->visible.tri != no)
137 prop->visible.tri = expr_calc_value(prop->visible.expr);
138 if (prop->visible.tri != no)
196 tristate tri;
199 tri = no;
201 prop->visible.tri = expr_calc_value(prop->visible.expr);
202 tri = E_OR(tri, prop->visible.tri);
204 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no))
205 tri = yes;
206 if (sym->visible != tri) {
207 sym->visible = tri;
212 tri = no;
214 tri = expr_calc_value(sym->rev_dep.expr);
215 if (tri == mod && sym_get_type(sym) == S_BOOLEAN)
216 tri = yes;
217 if (sym->rev_dep.tri != tri) {
218 sym->rev_dep.tri = tri;
239 prop->visible.tri = expr_calc_value(prop->visible.expr);
240 if (prop->visible.tri == no)
258 sym->curr.tri = no;
289 sym->curr.tri = no;
305 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no;
306 } else if (E_OR(sym->visible, sym->rev_dep.tri) != no) {
309 newval.tri = sym->def[S_DEF_USER].tri;
313 newval.tri = expr_calc_value(prop->expr);
315 newval.tri = E_OR(E_AND(newval.tri, sym->visible), sym->rev_dep.tri);
320 newval.tri = expr_calc_value(prop->expr);
323 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)
324 newval.tri = yes;
351 if (sym_is_choice(sym) && newval.tri == yes)
359 modules_val = modules_sym->curr.tri;
418 if (sym->visible <= sym->rev_dep.tri)
422 return val >= sym->rev_dep.tri && val <= sym->visible;
454 sym->def[S_DEF_USER].tri = val;
643 return sym->visible > sym->rev_dep.tri;