Lines Matching refs:sym
37 struct symbol *sym; member
50 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
88 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sy… argument
144 struct symbol *sym; /* the symbol for which the property is associated */ member
156 #define for_all_properties(sym, st, tok) \ argument
157 for (st = sym->prop; st; st = st->next) \
159 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
160 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
161 #define for_all_prompts(sym, st) \ argument
162 for (st = sym->prop; st; st = st->next) \
169 struct symbol *sym; member
200 struct expr *expr_alloc_symbol(struct symbol *sym);
213 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
214 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
215 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
224 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()
229 return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); in expr_is_no()