Lines Matching refs:sym
40 struct symbol *sym; member
85 #define for_all_symbols(i, sym) for (i = 0; i < 257; i++) for (sym = symbol_hash[i]; sym; sym = sym… argument
115 struct symbol *sym; member
125 #define for_all_properties(sym, st, tok) \ argument
126 for (st = sym->prop; st; st = st->next) \
128 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
129 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
130 #define for_all_prompts(sym, st) \ argument
131 for (st = sym->prop; st; st = st->next) \
138 struct symbol *sym; member
161 struct expr *expr_alloc_symbol(struct symbol *sym);
176 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
177 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
181 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
189 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()
194 return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); in expr_is_no()