• Home
  • Raw
  • Download

Lines Matching refs:type

38 	enum symbol_type type = sym->type;  in sym_get_type()  local
40 if (type == S_TRISTATE) { in sym_get_type()
42 type = S_BOOLEAN; in sym_get_type()
44 type = S_BOOLEAN; in sym_get_type()
46 return type; in sym_get_type()
49 const char *sym_type_name(enum symbol_type type) in sym_type_name() argument
51 switch (type) { in sym_type_name()
104 switch (sym->type) { in sym_get_range_val()
124 switch (sym->type) { in sym_validate_range()
188 if (choice_sym && sym->type == S_TRISTATE && in sym_calc_visibility()
194 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) in sym_calc_visibility()
340 switch (sym->type) { in sym_calc_value()
473 int type = sym_get_type(sym); in sym_tristate_within_range() local
478 if (type != S_BOOLEAN && type != S_TRISTATE) in sym_tristate_within_range()
481 if (type == S_BOOLEAN && val == mod) in sym_tristate_within_range()
555 switch (sym->type) { in sym_string_valid()
599 switch (sym->type) { in sym_string_within_range()
642 switch (sym->type) { in sym_set_string_value()
668 if (sym->type == S_HEX && (newval[0] != '0' || (newval[1] != 'x' && newval[1] != 'X'))) { in sym_set_string_value()
707 switch (sym->type) { in sym_get_string_default()
736 if (sym->type == S_BOOLEAN && val == mod) in sym_get_string_default()
743 switch (sym->type) { in sym_get_string_default()
766 switch (sym->type) { in sym_get_string_value()
832 symbol->type = S_UNKNOWN; in sym_lookup()
1103 prop_get_type_name(prop->type), in sym_check_print_recursive()
1109 prop_get_type_name(prop->type), in sym_check_print_recursive()
1129 switch (e->type) { in sym_check_expr_deps()
1153 fprintf(stderr, "Oops! How to check %d?\n", e->type); in sym_check_expr_deps()
1184 if (prop->type == P_CHOICE || prop->type == P_SELECT || in sym_check_sym_deps()
1185 prop->type == P_IMPLY) in sym_check_sym_deps()
1191 if (prop->type != P_DEFAULT || sym_is_choice(sym)) in sym_check_sym_deps()
1274 struct property *prop_alloc(enum prop_type type, struct symbol *sym) in prop_alloc() argument
1281 prop->type = type; in prop_alloc()
1298 if (prop->expr && (prop->expr->type == E_SYMBOL || in prop_get_symbol()
1299 prop->expr->type == E_LIST)) in prop_get_symbol()
1304 const char *prop_get_type_name(enum prop_type type) in prop_get_type_name() argument
1306 switch (type) { in prop_get_type_name()