Lines Matching defs:sym
344 extern int show_symbol_expr_init(struct symbol *sym);
354 extern const char *show_typename(struct symbol *sym);
355 extern const char *builtin_typename(struct symbol *sym);
356 extern const char *builtin_type_suffix(struct symbol *sym);
361 extern void merge_type(struct symbol *sym, struct symbol *base_type);
362 extern void check_declaration(struct symbol *sym);
363 extern void check_duplicates(struct symbol *sym);
370 static inline struct symbol *get_base_type(const struct symbol *sym)
372 return examine_symbol_type(sym->ctype.base_type);
397 static inline int is_signed_type(struct symbol *sym)
399 if (sym->type == SYM_NODE)
400 sym = sym->ctype.base_type;
401 if (sym->type == SYM_PTR)
403 return !(sym->ctype.modifiers & MOD_UNSIGNED);
524 static inline int is_extern_inline(struct symbol *sym)
526 return (sym->ctype.modifiers & MOD_EXTERN) &&
527 (sym->ctype.modifiers & MOD_INLINE) &&
528 is_function(sym->ctype.base_type);