Lines Matching refs:type
44 enum symbol_type type = sym->type; in sym_get_type() local
46 if (type == S_TRISTATE) { in sym_get_type()
48 type = S_BOOLEAN; in sym_get_type()
50 type = S_BOOLEAN; in sym_get_type()
52 return type; in sym_get_type()
55 const char *sym_type_name(enum symbol_type type) in sym_type_name() argument
57 switch (type) { in sym_type_name()
110 switch (sym->type) { in sym_get_range_val()
130 switch (sym->type) { in sym_validate_range()
194 if (choice_sym && sym->type == S_TRISTATE && in sym_calc_visibility()
200 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) in sym_calc_visibility()
346 switch (sym->type) { in sym_calc_value()
480 int type = sym_get_type(sym); in sym_tristate_within_range() local
485 if (type != S_BOOLEAN && type != S_TRISTATE) in sym_tristate_within_range()
488 if (type == S_BOOLEAN && val == mod) in sym_tristate_within_range()
560 switch (sym->type) { in sym_string_valid()
604 switch (sym->type) { in sym_string_within_range()
647 switch (sym->type) { in sym_set_string_value()
673 if (sym->type == S_HEX && (newval[0] != '0' || (newval[1] != 'x' && newval[1] != 'X'))) { in sym_set_string_value()
712 switch (sym->type) { in sym_get_string_default()
741 if (sym->type == S_BOOLEAN && val == mod) in sym_get_string_default()
748 switch (sym->type) { in sym_get_string_default()
771 switch (sym->type) { in sym_get_string_value()
837 symbol->type = S_UNKNOWN; in sym_lookup()
1108 prop_get_type_name(prop->type), in sym_check_print_recursive()
1114 prop_get_type_name(prop->type), in sym_check_print_recursive()
1134 switch (e->type) { in sym_check_expr_deps()
1158 fprintf(stderr, "Oops! How to check %d?\n", e->type); in sym_check_expr_deps()
1189 if (prop->type == P_CHOICE || prop->type == P_SELECT || in sym_check_sym_deps()
1190 prop->type == P_IMPLY) in sym_check_sym_deps()
1196 if (prop->type != P_DEFAULT || sym_is_choice(sym)) in sym_check_sym_deps()
1281 if (prop->expr && (prop->expr->type == E_SYMBOL || in prop_get_symbol()
1282 prop->expr->type == E_LIST)) in prop_get_symbol()
1287 const char *prop_get_type_name(enum prop_type type) in prop_get_type_name() argument
1289 switch (type) { in prop_get_type_name()