Lines Matching defs:sym
88 void menu_add_entry(struct symbol *sym);
93 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
123 struct symbol *sym_choice_default(struct symbol *sym);
124 const char *sym_get_string_default(struct symbol *sym);
125 struct symbol *sym_check_deps(struct symbol *sym);
126 struct property *prop_alloc(enum prop_type type, struct symbol *sym);
129 static inline tristate sym_get_tristate_value(struct symbol *sym)
131 return sym->curr.tri;
135 static inline struct symbol *sym_get_choice_value(struct symbol *sym)
137 return (struct symbol *)sym->curr.val;
145 static inline bool sym_is_choice(struct symbol *sym)
147 return sym->flags & SYMBOL_CHOICE ? true : false;
150 static inline bool sym_is_choice_value(struct symbol *sym)
152 return sym->flags & SYMBOL_CHOICEVAL ? true : false;
155 static inline bool sym_is_optional(struct symbol *sym)
157 return sym->flags & SYMBOL_OPTIONAL ? true : false;
160 static inline bool sym_has_value(struct symbol *sym)
162 return sym->flags & SYMBOL_DEF_USER ? true : false;