Lines Matching refs:expr

87 		prop->visible.tri = expr_calc_value(prop->visible.expr);  in sym_get_default_prop()
99 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop()
143 range_sym = prop->expr->left.sym; in sym_validate_range()
146 range_sym = prop->expr->right.sym; in sym_validate_range()
187 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility()
209 if (sym->dir_dep.expr) in sym_calc_visibility()
210 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility()
218 if (sym->rev_dep.expr) in sym_calc_visibility()
219 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility()
227 if (sym->implied.expr) in sym_calc_visibility()
228 tri = expr_calc_value(sym->implied.expr); in sym_calc_visibility()
247 struct expr *e; in sym_choice_default()
251 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_choice_default()
261 expr_list_for_each_sym(prop->expr, e, def_sym) in sym_choice_default()
273 struct expr *e; in sym_calc_choice()
279 expr_list_for_each_sym(prop->expr, e, def_sym) { in sym_calc_choice()
311 expr_gstr_print(sym->dir_dep.expr, &gs); in sym_warn_unmet_dep()
314 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, in sym_warn_unmet_dep()
316 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep()
326 struct expr *e; in sym_calc_value()
392 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value()
450 expr_list_for_each_sym(prop->expr, e, choice_sym) { in sym_calc_value()
514 struct expr *e; in sym_set_tristate_value()
519 for (e = prop->expr; e; e = e->left.expr) { in sym_set_tristate_value()
613 return val >= sym_get_range_val(prop->expr->left.sym, 10) && in sym_string_within_range()
614 val <= sym_get_range_val(prop->expr->right.sym, 10); in sym_string_within_range()
622 return val >= sym_get_range_val(prop->expr->left.sym, 16) && in sym_string_within_range()
623 val <= sym_get_range_val(prop->expr->right.sym, 16); in sym_string_within_range()
715 val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); in sym_get_string_default()
970 struct expr **expr; member
1045 } else if (stack->expr == &sym->dir_dep.expr) { in sym_check_print_recursive()
1050 } else if (stack->expr == &sym->rev_dep.expr) { in sym_check_print_recursive()
1055 } else if (stack->expr == &sym->implied.expr) { in sym_check_print_recursive()
1060 } else if (stack->expr) { in sym_check_print_recursive()
1084 static struct symbol *sym_check_expr_deps(struct expr *e) in sym_check_expr_deps()
1093 sym = sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1096 return sym_check_expr_deps(e->right.expr); in sym_check_expr_deps()
1098 return sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1127 stack.expr = &sym->dir_dep.expr; in sym_check_sym_deps()
1128 sym2 = sym_check_expr_deps(sym->dir_dep.expr); in sym_check_sym_deps()
1132 stack.expr = &sym->rev_dep.expr; in sym_check_sym_deps()
1133 sym2 = sym_check_expr_deps(sym->rev_dep.expr); in sym_check_sym_deps()
1137 stack.expr = &sym->implied.expr; in sym_check_sym_deps()
1138 sym2 = sym_check_expr_deps(sym->implied.expr); in sym_check_sym_deps()
1142 stack.expr = NULL; in sym_check_sym_deps()
1149 sym2 = sym_check_expr_deps(prop->visible.expr); in sym_check_sym_deps()
1154 stack.expr = &prop->expr; in sym_check_sym_deps()
1155 sym2 = sym_check_expr_deps(prop->expr); in sym_check_sym_deps()
1158 stack.expr = NULL; in sym_check_sym_deps()
1171 struct expr *e; in sym_check_choice_deps()
1177 expr_list_for_each_sym(prop->expr, e, sym) in sym_check_choice_deps()
1186 expr_list_for_each_sym(prop->expr, e, sym) { in sym_check_choice_deps()
1192 expr_list_for_each_sym(prop->expr, e, sym) in sym_check_choice_deps()
1237 if (prop->expr && (prop->expr->type == E_SYMBOL || in prop_get_symbol()
1238 prop->expr->type == E_LIST)) in prop_get_symbol()
1239 return prop->expr->left.sym; in prop_get_symbol()