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 val2 = sym_get_range_val(prop->expr->left.sym, base); in sym_validate_range()
145 val2 = sym_get_range_val(prop->expr->right.sym, base); in sym_validate_range()
189 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility()
211 if (sym->dir_dep.expr) in sym_calc_visibility()
212 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility()
220 if (sym->rev_dep.expr) in sym_calc_visibility()
221 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility()
229 if (sym->implied.expr) in sym_calc_visibility()
230 tri = expr_calc_value(sym->implied.expr); in sym_calc_visibility()
249 struct expr *e; in sym_choice_default()
253 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_choice_default()
263 expr_list_for_each_sym(prop->expr, e, def_sym) in sym_choice_default()
275 struct expr *e; in sym_calc_choice()
281 expr_list_for_each_sym(prop->expr, e, def_sym) { in sym_calc_choice()
313 expr_gstr_print(sym->dir_dep.expr, &gs); in sym_warn_unmet_dep()
316 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, in sym_warn_unmet_dep()
318 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep()
328 struct expr *e; in sym_calc_value()
394 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value()
452 expr_list_for_each_sym(prop->expr, e, choice_sym) { in sym_calc_value()
516 struct expr *e; in sym_set_tristate_value()
521 for (e = prop->expr; e; e = e->left.expr) { in sym_set_tristate_value()
615 return val >= sym_get_range_val(prop->expr->left.sym, 10) && in sym_string_within_range()
616 val <= sym_get_range_val(prop->expr->right.sym, 10); in sym_string_within_range()
624 return val >= sym_get_range_val(prop->expr->left.sym, 16) && in sym_string_within_range()
625 val <= sym_get_range_val(prop->expr->right.sym, 16); in sym_string_within_range()
717 val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); in sym_get_string_default()
972 struct expr **expr; member
1047 } else if (stack->expr == &sym->dir_dep.expr) { in sym_check_print_recursive()
1052 } else if (stack->expr == &sym->rev_dep.expr) { in sym_check_print_recursive()
1057 } else if (stack->expr == &sym->implied.expr) { in sym_check_print_recursive()
1062 } else if (stack->expr) { in sym_check_print_recursive()
1086 static struct symbol *sym_check_expr_deps(struct expr *e) in sym_check_expr_deps()
1095 sym = sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1098 return sym_check_expr_deps(e->right.expr); in sym_check_expr_deps()
1100 return sym_check_expr_deps(e->left.expr); in sym_check_expr_deps()
1129 stack.expr = &sym->dir_dep.expr; in sym_check_sym_deps()
1130 sym2 = sym_check_expr_deps(sym->dir_dep.expr); in sym_check_sym_deps()
1134 stack.expr = &sym->rev_dep.expr; in sym_check_sym_deps()
1135 sym2 = sym_check_expr_deps(sym->rev_dep.expr); in sym_check_sym_deps()
1139 stack.expr = &sym->implied.expr; in sym_check_sym_deps()
1140 sym2 = sym_check_expr_deps(sym->implied.expr); in sym_check_sym_deps()
1144 stack.expr = NULL; in sym_check_sym_deps()
1151 sym2 = sym_check_expr_deps(prop->visible.expr); in sym_check_sym_deps()
1156 stack.expr = &prop->expr; in sym_check_sym_deps()
1157 sym2 = sym_check_expr_deps(prop->expr); in sym_check_sym_deps()
1160 stack.expr = NULL; in sym_check_sym_deps()
1173 struct expr *e; in sym_check_choice_deps()
1179 expr_list_for_each_sym(prop->expr, e, sym) in sym_check_choice_deps()
1188 expr_list_for_each_sym(prop->expr, e, sym) { in sym_check_choice_deps()
1194 expr_list_for_each_sym(prop->expr, e, sym) in sym_check_choice_deps()
1239 if (prop->expr && (prop->expr->type == E_SYMBOL || in prop_get_symbol()
1240 prop->expr->type == E_LIST)) in prop_get_symbol()
1241 return prop->expr->left.sym; in prop_get_symbol()