Lines Matching refs:sym
39 struct symbol *sym; member
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
89 #define for_all_symbols(i, sym) for (i = 0; i < 257; i++) for (sym = symbol_hash[i]; sym; sym = sym… argument
139 struct symbol *sym; /* the symbol for which the property is associated */ member
151 #define for_all_properties(sym, st, tok) \ argument
152 for (st = sym->prop; st; st = st->next) \
154 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
155 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
156 #define for_all_prompts(sym, st) \ argument
157 for (st = sym->prop; st; st = st->next) \
164 struct symbol *sym; member
187 struct expr *expr_alloc_symbol(struct symbol *sym);
202 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
203 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
207 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
215 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()
220 return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); in expr_is_no()