Lines Matching refs:sym
35 static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct sm… in extra_mod_hook() argument
39 type = get_real_base_type(sym); in extra_mod_hook()
43 set_state(my_member_id, name, sym, state); in extra_mod_hook()
118 struct symbol *sym; in has_global_scope() local
122 sym = expr->symbol; in has_global_scope()
123 if (!sym) in has_global_scope()
125 return toplevel(sym->scope); in has_global_scope()
197 struct symbol *sym; in check_members_initialized() local
202 sym = get_type(expr); in check_members_initialized()
203 if (sym && sym->type == SYM_PTR) { in check_members_initialized()
205 sym = get_real_base_type(sym); in check_members_initialized()
207 if (!sym) in check_members_initialized()
209 if (sym->type != SYM_STRUCT) in check_members_initialized()
219 FOR_EACH_PTR(sym->symbol_list, tmp) { in check_members_initialized()
226 FOR_EACH_PTR(sym->symbol_list, tmp) { in check_members_initialized()