Lines Matching refs:sym
39 struct symbol *sym; member
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
134 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sy… argument
202 #define for_all_properties(sym, st, tok) \ argument
203 for (st = sym->prop; st; st = st->next) \
205 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
206 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
207 #define for_all_prompts(sym, st) \ argument
208 for (st = sym->prop; st; st = st->next) \
231 struct symbol *sym; member
287 struct expr *expr_alloc_symbol(struct symbol *sym);
301 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
302 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
303 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
313 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()
318 return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); in expr_is_no()