Lines Matching refs:tri
128 prop->visible.tri = expr_calc_value(prop->visible.expr);
129 if (prop->visible.tri != no)
140 prop->visible.tri = expr_calc_value(prop->visible.expr);
141 if (prop->visible.tri != no)
199 tristate tri;
202 tri = no;
204 prop->visible.tri = expr_calc_value(prop->visible.expr);
205 tri = E_OR(tri, prop->visible.tri);
207 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no))
208 tri = yes;
209 if (sym->visible != tri) {
210 sym->visible = tri;
215 tri = no;
217 tri = expr_calc_value(sym->rev_dep.expr);
218 if (tri == mod && sym_get_type(sym) == S_BOOLEAN)
219 tri = yes;
220 if (sym->rev_dep.tri != tri) {
221 sym->rev_dep.tri = tri;
242 prop->visible.tri = expr_calc_value(prop->visible.expr);
243 if (prop->visible.tri == no)
261 sym->curr.tri = no;
292 sym->curr.tri = no;
308 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no;
309 } else if (E_OR(sym->visible, sym->rev_dep.tri) != no) {
312 newval.tri = sym->def[S_DEF_USER].tri;
316 newval.tri = expr_calc_value(prop->expr);
318 newval.tri = E_OR(E_AND(newval.tri, sym->visible), sym->rev_dep.tri);
323 newval.tri = expr_calc_value(prop->expr);
326 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)
327 newval.tri = yes;
354 if (sym_is_choice(sym) && newval.tri == yes)
362 modules_val = modules_sym->curr.tri;
421 if (sym->visible <= sym->rev_dep.tri)
425 return val >= sym->rev_dep.tri && val <= sym->visible;
457 sym->def[S_DEF_USER].tri = val;
646 return sym->visible > sym->rev_dep.tri;