Lines Matching refs:expr_value

1141                 if expr_value(cond):
1615 if node.item is MENU and expr_value(node.dep) and \
1616 expr_value(node.visibility) and \
1648 elif expr_value(node.dep) and \
1649 ((item is MENU and expr_value(node.visibility)) or
1707 sym.visibility <= expr_value(sym.rev_dep):
1985 return expr_value(self._expect_expr_and_eol())
4381 if expr_value(cond):
4425 if expr_value(cond):
4473 if expr_value(cond):
4529 dep_val = expr_value(cond)
4531 val = min(expr_value(default), dep_val)
4539 dep_val = expr_value(self.weak_rev_dep)
4540 if dep_val and expr_value(self.direct_dep):
4546 dep_val = expr_value(self.rev_dep)
4548 if expr_value(self.direct_dep) < dep_val:
4558 (self.type is BOOL or expr_value(self.weak_rev_dep) == 2):
4613 if expr_value(subexpr) ]
4618 if expr_value(subexpr) ]
4840 add("direct deps " + TRI_TO_STR[expr_value(self.direct_dep)])
4933 rev_dep_val = expr_value(self.rev_dep)
4940 if self.type is BOOL or expr_value(self.weak_rev_dep) == 2:
4949 if self.type is BOOL or expr_value(self.weak_rev_dep) == 2:
4958 return (0, 1) if expr_value(self.weak_rev_dep) != 2 else (0, 2)
5038 cond_val = expr_value(cond)
5040 val = min(expr_value(default), cond_val)
5043 val = max(expr_value(self.rev_dep),
5044 expr_value(self.weak_rev_dep),
5056 if expr_value(cond):
5070 TRI_TO_STR[expr_value(self.direct_dep)],
5071 TRI_TO_STR[expr_value(self.rev_dep)])
5075 if expr_value(select) <= expr_value(self.direct_dep):
5090 TRI_TO_STR[expr_value(selecting_sym.direct_dep)])
5095 TRI_TO_STR[expr_value(select[2])])
5562 if expr_value(cond) and sym.visibility:
5879 self.prompt[0], TRI_TO_STR[expr_value(self.prompt[1])]))
5884 add("deps " + TRI_TO_STR[expr_value(self.dep)])
5887 add("'visible if' deps " + TRI_TO_STR[expr_value(self.visibility)])
6130 def expr_value(expr): function
6145 v1 = expr_value(expr[1])
6148 return 0 if not v1 else min(v1, expr_value(expr[2]))
6151 v1 = expr_value(expr[1])
6153 return 2 if v1 == 2 else max(v1, expr_value(expr[2]))
6156 return 2 - expr_value(expr[1])
6438 vis = max(vis, expr_value(node.prompt[1]))