Lines Matching refs:cond
1141 for filename, cond in self.defconfig_list.defaults:
1142 if expr_value(cond):
3501 for value, cond in sym.defaults:
3503 depend_on(sym, cond)
3510 for low, high, cond in sym.ranges:
3513 depend_on(sym, cond)
3536 for _, cond in choice.defaults:
3537 depend_on(choice, cond)
3692 cur.defaults = [(default, self._make_and(cond, dep))
3693 for default, cond in cur.defaults]
3697 cur.ranges = [(low, high, self._make_and(cond, dep))
3698 for low, high, cond in cur.ranges]
3702 cur.selects = [(target, self._make_and(cond, dep))
3703 for target, cond in cur.selects]
3707 cur.implies = [(target, self._make_and(cond, dep))
3708 for target, cond in cur.implies]
3747 for target, cond in node.selects:
3750 self._make_and(sym, cond))
3754 for target, cond in node.implies:
3757 self._make_and(sym, cond))
4360 for low_expr, high_expr, cond in self.ranges:
4361 if expr_value(cond):
4403 for sym, cond in self.defaults:
4404 if expr_value(cond):
4448 for sym, cond in self.defaults:
4449 if expr_value(cond):
4502 for default, cond in self.defaults:
4503 dep_val = expr_value(cond)
4967 for default, cond in self.defaults:
4968 cond_val = expr_value(cond)
4985 for default, cond in self.defaults:
4986 if expr_value(cond):
5480 for sym, cond in self.defaults:
5482 if expr_value(cond) and sym.visibility:
5695 return [(default, self._strip_dep(cond))
5696 for default, cond in self.defaults]
5703 return [(select, self._strip_dep(cond))
5704 for select, cond in self.selects]
5711 return [(imply, self._strip_dep(cond))
5712 for imply, cond in self.implies]
5719 return [(low, high, self._strip_dep(cond))
5720 for low, high, cond in self.ranges]
5737 for value, cond in self.defaults:
5739 res |= expr_items(cond)
5741 for value, cond in self.selects:
5743 res |= expr_items(cond)
5745 for value, cond in self.implies:
5747 res |= expr_items(cond)
5749 for low, high, cond in self.ranges:
5752 res |= expr_items(cond)
5849 def indent_add_cond(s, cond): argument
5850 if cond is not self.kconfig.y:
5851 s += " if " + expr_str(cond, sc_expr_str_fn)
5895 for low, high, cond in self.orig_ranges:
5899 cond)
5901 for default, cond in self.orig_defaults:
5903 cond)
5909 for select, cond in self.orig_selects:
5910 indent_add_cond("select " + sc_expr_str_fn(select), cond)
5912 for imply, cond in self.orig_implies:
5913 indent_add_cond("imply " + sc_expr_str_fn(imply), cond)
6815 def _warning_if_fn(kconf, _, cond, msg): argument
6816 if cond == "y":
6822 def _error_if_fn(kconf, _, cond, msg): argument
6823 if cond == "y":