Lines Matching refs:cond
1139 for filename, cond in self.defconfig_list.defaults:
1140 if expr_value(cond):
3489 for value, cond in sym.defaults:
3491 depend_on(sym, cond)
3498 for low, high, cond in sym.ranges:
3501 depend_on(sym, cond)
3524 for _, cond in choice.defaults:
3525 depend_on(choice, cond)
3663 cur.defaults = [(default, self._make_and(cond, dep))
3664 for default, cond in cur.defaults]
3668 cur.ranges = [(low, high, self._make_and(cond, dep))
3669 for low, high, cond in cur.ranges]
3673 cur.selects = [(target, self._make_and(cond, dep))
3674 for target, cond in cur.selects]
3678 cur.implies = [(target, self._make_and(cond, dep))
3679 for target, cond in cur.implies]
3710 for target, cond in node.selects:
3713 self._make_and(sym, cond))
3717 for target, cond in node.implies:
3720 self._make_and(sym, cond))
4322 for low_expr, high_expr, cond in self.ranges:
4323 if expr_value(cond):
4365 for sym, cond in self.defaults:
4366 if expr_value(cond):
4410 for sym, cond in self.defaults:
4411 if expr_value(cond):
4464 for default, cond in self.defaults:
4465 dep_val = expr_value(cond)
4929 for default, cond in self.defaults:
4930 cond_val = expr_value(cond)
4947 for default, cond in self.defaults:
4948 if expr_value(cond):
5442 for sym, cond in self.defaults:
5444 if expr_value(cond) and sym.visibility:
5656 return [(default, self._strip_dep(cond))
5657 for default, cond in self.defaults]
5664 return [(select, self._strip_dep(cond))
5665 for select, cond in self.selects]
5672 return [(imply, self._strip_dep(cond))
5673 for imply, cond in self.implies]
5680 return [(low, high, self._strip_dep(cond))
5681 for low, high, cond in self.ranges]
5698 for value, cond in self.defaults:
5700 res |= expr_items(cond)
5702 for value, cond in self.selects:
5704 res |= expr_items(cond)
5706 for value, cond in self.implies:
5708 res |= expr_items(cond)
5710 for low, high, cond in self.ranges:
5713 res |= expr_items(cond)
5810 def indent_add_cond(s, cond): argument
5811 if cond is not self.kconfig.y:
5812 s += " if " + expr_str(cond, sc_expr_str_fn)
5851 for low, high, cond in self.orig_ranges:
5855 cond)
5857 for default, cond in self.orig_defaults:
5859 cond)
5865 for select, cond in self.orig_selects:
5866 indent_add_cond("select " + sc_expr_str_fn(select), cond)
5868 for imply, cond in self.orig_implies:
5869 indent_add_cond("imply " + sc_expr_str_fn(imply), cond)
6766 def _warning_if_fn(kconf, _, cond, msg): argument
6767 if cond == "y":
6773 def _error_if_fn(kconf, _, cond, msg): argument
6774 if cond == "y":