Lines Matching refs:expr
88 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
100 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop()
144 range_sym = prop->expr->left.sym; in sym_validate_range()
147 range_sym = prop->expr->right.sym; in sym_validate_range()
188 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility()
210 if (sym->dir_dep.expr) in sym_calc_visibility()
211 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility()
219 if (sym->rev_dep.expr) in sym_calc_visibility()
220 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility()
228 if (sym->implied.expr) in sym_calc_visibility()
229 tri = expr_calc_value(sym->implied.expr); in sym_calc_visibility()
248 struct expr *e; in sym_choice_default()
252 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_choice_default()
262 expr_list_for_each_sym(prop->expr, e, def_sym) in sym_choice_default()
274 struct expr *e; in sym_calc_choice()
280 expr_list_for_each_sym(prop->expr, e, def_sym) { in sym_calc_choice()
312 expr_gstr_print(sym->dir_dep.expr, &gs); in sym_warn_unmet_dep()
315 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, in sym_warn_unmet_dep()
317 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep()
327 struct expr *e; in sym_calc_value()
393 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value()
451 expr_list_for_each_sym(prop->expr, e, choice_sym) { in sym_calc_value()
515 struct expr *e; in sym_set_tristate_value()
520 for (e = prop->expr; e; e = e->left.expr) { in sym_set_tristate_value()
614 return val >= sym_get_range_val(prop->expr->left.sym, 10) && in sym_string_within_range()
615 val <= sym_get_range_val(prop->expr->right.sym, 10); in sym_string_within_range()
623 return val >= sym_get_range_val(prop->expr->left.sym, 16) && in sym_string_within_range()
624 val <= sym_get_range_val(prop->expr->right.sym, 16); in sym_string_within_range()
716 val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); in sym_get_string_default()
1014 struct expr **expr; member
1089 } else if (stack->expr == &sym->dir_dep.expr) { in sym_check_print_recursive()
1094 } else if (stack->expr == &sym->rev_dep.expr) { in sym_check_print_recursive()
1099 } else if (stack->expr == &sym->implied.expr) { in sym_check_print_recursive()
1104 } else if (stack->expr) { in sym_check_print_recursive()
1128 static struct symbol *sym_check_expr_deps(struct expr *e) in sym_check_expr_deps()
1137 sym = sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1140 return sym_check_expr_deps(e->right.expr); in sym_check_expr_deps()
1142 return sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1171 stack.expr = &sym->dir_dep.expr; in sym_check_sym_deps()
1172 sym2 = sym_check_expr_deps(sym->dir_dep.expr); in sym_check_sym_deps()
1176 stack.expr = &sym->rev_dep.expr; in sym_check_sym_deps()
1177 sym2 = sym_check_expr_deps(sym->rev_dep.expr); in sym_check_sym_deps()
1181 stack.expr = &sym->implied.expr; in sym_check_sym_deps()
1182 sym2 = sym_check_expr_deps(sym->implied.expr); in sym_check_sym_deps()
1186 stack.expr = NULL; in sym_check_sym_deps()
1193 sym2 = sym_check_expr_deps(prop->visible.expr); in sym_check_sym_deps()
1198 stack.expr = &prop->expr; in sym_check_sym_deps()
1199 sym2 = sym_check_expr_deps(prop->expr); in sym_check_sym_deps()
1202 stack.expr = NULL; in sym_check_sym_deps()
1215 struct expr *e; in sym_check_choice_deps()
1221 expr_list_for_each_sym(prop->expr, e, sym) in sym_check_choice_deps()
1230 expr_list_for_each_sym(prop->expr, e, sym) { in sym_check_choice_deps()
1236 expr_list_for_each_sym(prop->expr, e, sym) in sym_check_choice_deps()
1281 if (prop->expr && (prop->expr->type == E_SYMBOL || in prop_get_symbol()
1282 prop->expr->type == E_LIST)) in prop_get_symbol()
1283 return prop->expr->left.sym; in prop_get_symbol()