Lines Matching refs:symbol

17 struct symbol symbol_yes = {
25 struct symbol symbol_mod = {
33 struct symbol symbol_no = {
41 struct symbol *modules_sym;
45 enum symbol_type sym_get_type(const struct symbol *sym) in sym_get_type()
80 struct menu *sym_get_prompt_menu(const struct symbol *sym) in sym_get_prompt_menu()
98 struct menu *sym_get_choice_menu(const struct symbol *sym) in sym_get_choice_menu()
120 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop()
132 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop()
144 static long long sym_get_range_val(struct symbol *sym, int base) in sym_get_range_val()
160 static void sym_validate_range(struct symbol *sym) in sym_validate_range()
163 struct symbol *range_sym; in sym_validate_range()
192 static void sym_set_changed(struct symbol *sym) in sym_set_changed()
202 struct symbol *sym; in sym_set_all_changed()
208 static void sym_calc_visibility(struct symbol *sym) in sym_calc_visibility()
263 struct symbol *sym_choice_default(struct menu *choice) in sym_choice_default()
266 struct symbol *def_sym; in sym_choice_default()
295 struct symbol *sym_calc_choice(struct menu *choice) in sym_calc_choice()
297 struct symbol *res = NULL; in sym_calc_choice()
298 struct symbol *sym; in sym_calc_choice()
372 static void sym_warn_unmet_dep(const struct symbol *sym) in sym_warn_unmet_dep()
401 void sym_calc_value(struct symbol *sym) in sym_calc_value()
501 struct symbol *ds = prop_get_symbol(prop); in sym_calc_value()
530 struct symbol *sym; in sym_clear_all_valid()
539 bool sym_tristate_within_range(const struct symbol *sym, tristate val) in sym_tristate_within_range()
556 bool sym_set_tristate_value(struct symbol *sym, tristate val) in sym_set_tristate_value()
581 void choice_set_value(struct menu *choice, struct symbol *sym) in choice_set_value()
618 tristate sym_toggle_tristate_value(struct symbol *sym) in sym_toggle_tristate_value()
648 bool sym_string_valid(struct symbol *sym, const char *str) in sym_string_valid()
691 bool sym_string_within_range(struct symbol *sym, const char *str) in sym_string_within_range()
733 bool sym_set_string_value(struct symbol *sym, const char *newval) in sym_set_string_value()
789 const char *sym_get_string_default(struct symbol *sym) in sym_get_string_default()
792 struct symbol *ds; in sym_get_string_default()
861 const char *sym_get_string_value(struct symbol *sym) in sym_get_string_value()
884 bool sym_is_changeable(const struct symbol *sym) in sym_is_changeable()
889 bool sym_is_choice_value(const struct symbol *sym) in sym_is_choice_value()
896 struct symbol *sym_lookup(const char *name, int flags) in sym_lookup()
898 struct symbol *symbol; in sym_lookup() local
912 hash_for_each_possible(sym_hashtable, symbol, node, hash) { in sym_lookup()
913 if (symbol->name && in sym_lookup()
914 !strcmp(symbol->name, name) && in sym_lookup()
915 (flags ? symbol->flags & flags in sym_lookup()
916 : !(symbol->flags & SYMBOL_CONST))) in sym_lookup()
917 return symbol; in sym_lookup()
925 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
926 memset(symbol, 0, sizeof(*symbol)); in sym_lookup()
927 symbol->name = new_name; in sym_lookup()
928 symbol->type = S_UNKNOWN; in sym_lookup()
929 symbol->flags = flags; in sym_lookup()
930 INIT_LIST_HEAD(&symbol->menus); in sym_lookup()
931 INIT_LIST_HEAD(&symbol->choice_link); in sym_lookup()
933 hash_add(sym_hashtable, &symbol->node, hash); in sym_lookup()
935 return symbol; in sym_lookup()
938 struct symbol *sym_find(const char *name) in sym_find()
940 struct symbol *symbol = NULL; in sym_find() local
955 hash_for_each_possible(sym_hashtable, symbol, node, hash) { in sym_find()
956 if (symbol->name && in sym_find()
957 !strcmp(symbol->name, name) && in sym_find()
958 !(symbol->flags & SYMBOL_CONST)) in sym_find()
962 return symbol; in sym_find()
966 struct symbol *sym;
1000 struct symbol **sym_re_search(const char *pattern) in sym_re_search()
1002 struct symbol *sym, **sym_arr = NULL; in sym_re_search()
1038 sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); in sym_re_search()
1061 struct symbol *sym;
1066 static void dep_stack_insert(struct dep_stack *stack, struct symbol *sym) in dep_stack_insert()
1088 static void sym_check_print_recursive(struct symbol *last_sym) in sym_check_print_recursive()
1091 struct symbol *sym, *next_sym; in sym_check_print_recursive()
1156 static struct symbol *sym_check_expr_deps(const struct expr *e) in sym_check_expr_deps()
1158 struct symbol *sym; in sym_check_expr_deps()
1191 static struct symbol *sym_check_sym_deps(struct symbol *sym) in sym_check_sym_deps()
1193 struct symbol *sym2; in sym_check_sym_deps()
1238 static struct symbol *sym_check_choice_deps(struct symbol *choice) in sym_check_choice_deps()
1241 struct symbol *sym2; in sym_check_choice_deps()
1284 struct symbol *sym_check_deps(struct symbol *sym) in sym_check_deps()
1287 struct symbol *sym2; in sym_check_deps()
1315 struct symbol *prop_get_symbol(const struct property *prop) in prop_get_symbol()