Lines Matching refs:expr
125 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
137 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop()
181 range_sym = prop->expr->left.sym; in sym_validate_range()
184 range_sym = prop->expr->right.sym; in sym_validate_range()
216 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility()
229 if (sym->dir_dep.expr) in sym_calc_visibility()
230 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility()
238 if (sym->rev_dep.expr) in sym_calc_visibility()
239 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility()
247 if (sym->implied.expr) in sym_calc_visibility()
248 tri = expr_calc_value(sym->implied.expr); in sym_calc_visibility()
271 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_choice_default()
382 expr_gstr_print(sym->dir_dep.expr, &gs); in sym_warn_unmet_dep()
385 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, in sym_warn_unmet_dep()
387 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep()
472 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value()
706 return val >= sym_get_range_val(prop->expr->left.sym, 10) && in sym_string_within_range()
707 val <= sym_get_range_val(prop->expr->right.sym, 10); in sym_string_within_range()
715 return val >= sym_get_range_val(prop->expr->left.sym, 16) && in sym_string_within_range()
716 val <= sym_get_range_val(prop->expr->right.sym, 16); in sym_string_within_range()
807 val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); in sym_get_string_default()
1063 struct expr **expr; member
1124 } else if (stack->expr == &sym->dir_dep.expr) { in sym_check_print_recursive()
1128 } else if (stack->expr == &sym->rev_dep.expr) { in sym_check_print_recursive()
1131 } else if (stack->expr == &sym->implied.expr) { in sym_check_print_recursive()
1134 } else if (stack->expr) { in sym_check_print_recursive()
1156 static struct symbol *sym_check_expr_deps(const struct expr *e) in sym_check_expr_deps()
1165 sym = sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1168 return sym_check_expr_deps(e->right.expr); in sym_check_expr_deps()
1170 return sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1199 stack.expr = &sym->dir_dep.expr; in sym_check_sym_deps()
1200 sym2 = sym_check_expr_deps(sym->dir_dep.expr); in sym_check_sym_deps()
1204 stack.expr = &sym->rev_dep.expr; in sym_check_sym_deps()
1205 sym2 = sym_check_expr_deps(sym->rev_dep.expr); in sym_check_sym_deps()
1209 stack.expr = &sym->implied.expr; in sym_check_sym_deps()
1210 sym2 = sym_check_expr_deps(sym->implied.expr); in sym_check_sym_deps()
1214 stack.expr = NULL; in sym_check_sym_deps()
1220 sym2 = sym_check_expr_deps(prop->visible.expr); in sym_check_sym_deps()
1225 stack.expr = &prop->expr; in sym_check_sym_deps()
1226 sym2 = sym_check_expr_deps(prop->expr); in sym_check_sym_deps()
1229 stack.expr = NULL; in sym_check_sym_deps()
1317 if (prop->expr && prop->expr->type == E_SYMBOL) in prop_get_symbol()
1318 return prop->expr->left.sym; in prop_get_symbol()