Lines Matching refs:type
19 .type = S_TRISTATE,
27 .type = S_TRISTATE,
35 .type = S_TRISTATE,
47 enum symbol_type type = sym->type; in sym_get_type() local
49 if (type == S_TRISTATE && modules_val == no) in sym_get_type()
50 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()
147 switch (sym->type) { in sym_get_range_val()
167 switch (sym->type) { in sym_validate_range()
223 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) in sym_calc_visibility()
424 switch (sym->type) { in sym_calc_value()
546 int type = sym_get_type(sym); in sym_tristate_within_range() local
551 if (type != S_BOOLEAN && type != S_TRISTATE) in sym_tristate_within_range()
554 if (type == S_BOOLEAN && val == mod) in sym_tristate_within_range()
657 switch (sym->type) { in sym_string_valid()
701 switch (sym->type) { in sym_string_within_range()
744 switch (sym->type) { in sym_set_string_value()
770 if (sym->type == S_HEX && (newval[0] != '0' || (newval[1] != 'x' && newval[1] != 'X'))) { in sym_set_string_value()
808 switch (sym->type) { in sym_get_string_default()
837 if (sym->type == S_BOOLEAN && val == mod) in sym_get_string_default()
844 switch (sym->type) { in sym_get_string_default()
870 switch (sym->type) { in sym_get_string_value()
933 symbol->type = S_UNKNOWN; in sym_lookup()
1099 enum prop_type type; in sym_check_print_recursive() local
1118 type = stack->prop ? stack->prop->type : P_UNKNOWN; in sym_check_print_recursive()
1142 prop_get_type_name(type), in sym_check_print_recursive()
1147 prop_get_type_name(type), in sym_check_print_recursive()
1167 switch (e->type) { in sym_check_expr_deps()
1191 fprintf(stderr, "Oops! How to check %d?\n", e->type); in sym_check_expr_deps()
1222 if (prop->type == P_SELECT || prop->type == P_IMPLY) in sym_check_sym_deps()
1228 if (prop->type != P_DEFAULT || sym_is_choice(sym)) in sym_check_sym_deps()
1322 if (prop->expr && prop->expr->type == E_SYMBOL) in prop_get_symbol()
1327 const char *prop_get_type_name(enum prop_type type) in prop_get_type_name() argument
1329 switch (type) { in prop_get_type_name()