Searched refs:alloc_symbol (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | parse.c | 691 struct symbol *sym = alloc_symbol(pos, type); in alloc_indirect_symbol() 710 sym = alloc_symbol(token->pos, SYM_LABEL); in label_symbol() 732 sym = alloc_symbol(token->pos, type); in struct_union_enum_specifier() 769 sym = alloc_symbol(token->pos, type); in struct_union_enum_specifier() 950 sym = alloc_symbol(token->pos, SYM_NODE); in parse_enum_declaration() 1064 struct symbol *typeof_sym = alloc_symbol(token->pos, SYM_TYPEOF); in typeof_specifier() 1664 type = alloc_symbol(token->pos, SYM_BASETYPE); in declaration_specifiers() 1892 struct symbol *ptr = alloc_symbol(token->pos, SYM_PTR); in pointer() 1973 struct symbol *decl = alloc_symbol(token->pos, SYM_NODE); in declaration_list() 2033 struct symbol *sym = alloc_symbol(token->pos, SYM_NODE); in typename() [all …]
|
H A D | symbol.c | 77 struct symbol *alloc_symbol(struct position pos, int type) in alloc_symbol() function 371 struct symbol *arr_new = alloc_symbol(node->pos, SYM_ARRAY); in implicit_array_size() 562 struct symbol *new = alloc_symbol(type->pos, type->type); in create_fouled() 672 sym = alloc_symbol(token->pos, type); in create_symbol()
|
H A D | inline.c | 163 expr->cast_type = alloc_symbol(sym->pos, sym->type); in copy_expression() 485 sym = alloc_symbol(orig->pos, orig->type); in create_copy_symbol() 537 struct symbol *a = alloc_symbol(arg->pos, SYM_NODE); in inline_function()
|
H A D | evaluate.c | 100 struct symbol *sym = alloc_symbol(expr->pos, SYM_NODE); in evaluate_string() 101 struct symbol *array = alloc_symbol(expr->pos, SYM_ARRAY); in evaluate_string() 1296 struct symbol *sym = alloc_symbol(ctype->pos, SYM_PTR); in evaluate_conditional_expression() 1619 ptr = alloc_symbol(s->pos, SYM_PTR); in examine_fn_arguments() 1647 struct symbol *newsym = alloc_symbol(sym->pos, SYM_NODE); in convert_to_as_mod() 1658 struct symbol *node = alloc_symbol(expr->pos, SYM_NODE); in create_pointer() 1659 struct symbol *ptr = alloc_symbol(expr->pos, SYM_PTR); in create_pointer() 1711 struct symbol *a = alloc_symbol(expr->pos, SYM_NODE); in degenerate() 1826 node = alloc_symbol(expr->pos, SYM_NODE); in evaluate_dereference() 1844 node = alloc_symbol(expr->pos, SYM_NODE); in evaluate_dereference()
|
H A D | dissect.c | 167 sym = alloc_symbol(expr->pos, SYM_BAD); in expr_symbol() 399 ret = alloc_symbol(unop->pos, SYM_PTR); in do_expression()
|
H A D | builtin.c | 371 struct symbol *fun = alloc_symbol(sym->pos, SYM_FN); in declare_builtin() 384 struct symbol *anode = alloc_symbol(sym->pos, SYM_NODE); in declare_builtin()
|
H A D | expression.c | 106 array = alloc_symbol(token->pos, SYM_ARRAY); in handle_func() 110 decl = alloc_symbol(token->pos, SYM_NODE); in handle_func()
|
H A D | symbol.h | 311 extern struct symbol *alloc_symbol(struct position, int type);
|
H A D | smatch_type.c | 249 sym = alloc_symbol(expr->pos, SYM_PTR); in fake_pointer_sym()
|
H A D | pre-process.c | 1513 sym = alloc_symbol(pos, SYM_NODE); in do_define() 1644 sym = alloc_symbol(left->pos, SYM_NODE); in do_handle_undef()
|