Lines Matching refs:sym
39 struct symbol *sym; member
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
90 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sy… argument
146 struct symbol *sym; /* the symbol for which the property is associated */ member
158 #define for_all_properties(sym, st, tok) \ argument
159 for (st = sym->prop; st; st = st->next) \
161 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
162 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
163 #define for_all_prompts(sym, st) \ argument
164 for (st = sym->prop; st; st = st->next) \
171 struct symbol *sym; member
202 struct expr *expr_alloc_symbol(struct symbol *sym);
215 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
216 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
217 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
226 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()
231 return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); in expr_is_no()