Lines Matching defs:sym
100 void menu_add_entry(struct symbol *sym);
105 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
127 struct symbol *sym_choice_default(struct symbol *sym);
128 struct property *sym_get_range_prop(struct symbol *sym);
129 const char *sym_get_string_default(struct symbol *sym);
130 struct symbol *sym_check_deps(struct symbol *sym);
133 static inline tristate sym_get_tristate_value(struct symbol *sym)
135 return sym->curr.tri;
139 static inline struct symbol *sym_get_choice_value(struct symbol *sym)
141 return (struct symbol *)sym->curr.val;
149 static inline bool sym_is_choice(struct symbol *sym)
151 return sym->flags & SYMBOL_CHOICE ? true : false;
154 static inline bool sym_is_choice_value(struct symbol *sym)
156 return sym->flags & SYMBOL_CHOICEVAL ? true : false;
159 static inline bool sym_is_optional(struct symbol *sym)
161 return sym->flags & SYMBOL_OPTIONAL ? true : false;
164 static inline bool sym_has_value(struct symbol *sym)
166 return sym->flags & SYMBOL_DEF_USER ? true : false;