Lines Matching refs:sym2
226 static int menu_validate_number(struct symbol *sym, struct symbol *sym2) in menu_validate_number() argument
228 return sym2->type == S_INT || sym2->type == S_HEX || in menu_validate_number()
229 (sym2->type == S_UNKNOWN && sym_string_valid(sym, sym2->name)); in menu_validate_number()
235 struct symbol *sym2; in sym_check_prop() local
248 sym2 = prop_get_symbol(prop); in sym_check_prop()
250 if (!menu_validate_number(sym, sym2)) in sym_check_prop()
257 sym_get_choice_prop(sym2); in sym_check_prop()
263 sym2->name); in sym_check_prop()
269 sym2 = prop_get_symbol(prop); in sym_check_prop()
274 else if (sym2->type != S_UNKNOWN && in sym_check_prop()
275 sym2->type != S_BOOLEAN && in sym_check_prop()
276 sym2->type != S_TRISTATE) in sym_check_prop()
280 "tristate type", sym2->name, use); in sym_check_prop()