Lines Matching refs:type
43 enum symbol_type type = sym->type; in sym_get_type() local
45 if (type == S_TRISTATE) { in sym_get_type()
47 type = S_BOOLEAN; in sym_get_type()
49 type = S_BOOLEAN; in sym_get_type()
51 return type; in sym_get_type()
54 const char *sym_type_name(enum symbol_type type) in sym_type_name() argument
56 switch (type) { in sym_type_name()
109 switch (sym->type) { in sym_get_range_val()
129 switch (sym->type) { in sym_validate_range()
193 if (choice_sym && sym->type == S_TRISTATE && in sym_calc_visibility()
199 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) in sym_calc_visibility()
345 switch (sym->type) { in sym_calc_value()
479 int type = sym_get_type(sym); in sym_tristate_within_range() local
484 if (type != S_BOOLEAN && type != S_TRISTATE) in sym_tristate_within_range()
487 if (type == S_BOOLEAN && val == mod) in sym_tristate_within_range()
559 switch (sym->type) { in sym_string_valid()
603 switch (sym->type) { in sym_string_within_range()
646 switch (sym->type) { in sym_set_string_value()
672 if (sym->type == S_HEX && (newval[0] != '0' || (newval[1] != 'x' && newval[1] != 'X'))) { in sym_set_string_value()
711 switch (sym->type) { in sym_get_string_default()
740 if (sym->type == S_BOOLEAN && val == mod) in sym_get_string_default()
747 switch (sym->type) { in sym_get_string_default()
770 switch (sym->type) { in sym_get_string_value()
836 symbol->type = S_UNKNOWN; in sym_lookup()
1107 prop_get_type_name(prop->type), in sym_check_print_recursive()
1113 prop_get_type_name(prop->type), in sym_check_print_recursive()
1133 switch (e->type) { in sym_check_expr_deps()
1157 fprintf(stderr, "Oops! How to check %d?\n", e->type); in sym_check_expr_deps()
1188 if (prop->type == P_CHOICE || prop->type == P_SELECT || in sym_check_sym_deps()
1189 prop->type == P_IMPLY) in sym_check_sym_deps()
1195 if (prop->type != P_DEFAULT || sym_is_choice(sym)) in sym_check_sym_deps()
1280 if (prop->expr && (prop->expr->type == E_SYMBOL || in prop_get_symbol()
1281 prop->expr->type == E_LIST)) in prop_get_symbol()
1286 const char *prop_get_type_name(enum prop_type type) in prop_get_type_name() argument
1288 switch (type) { in prop_get_type_name()