Home
last modified time | relevance | path

Searched refs:SYM_NODE (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dsymbol.h60 SYM_NODE, enumerator
352 if (type->type == SYM_NODE) in is_int_type()
362 if (type->type == SYM_NODE) in is_enum_type()
369 if (sym->type == SYM_NODE) in is_signed_type()
385 if (type->type == SYM_NODE) in is_ptr_type()
392 if (type->type == SYM_NODE) in is_func_type()
399 if (type->type == SYM_NODE) in is_array_type()
406 if (type->type == SYM_NODE) in is_float_type()
418 if (type->type == SYM_NODE) in is_void_type()
425 if (type->type == SYM_NODE) in is_bool_type()
[all …]
H A Dsymbol.c113 if (sym->type == SYM_NODE) in bitfield_base_size()
221 if (base_type->type == SYM_NODE) { in examine_base_type()
286 if (sym->ctype.base_type->type == SYM_NODE) in merge_type()
467 case SYM_NODE: in examine_symbol_type()
491 if (base->type == SYM_NODE) { in examine_symbol_type()
495 sym->type = SYM_NODE; in examine_symbol_type()
500 sym->type = SYM_NODE; in examine_symbol_type()
529 [SYM_NODE] = "node", in get_type_name()
575 while (type->type == SYM_NODE) in befoul()
797 { &const_void_ctype, SYM_NODE, MOD_CONST, NULL, NULL, &void_ctype },
[all …]
H A Devaluate.c221 if (node->type == SYM_NODE) { in base_type()
277 if (typea->type == SYM_NODE) in warn_for_different_enum_types()
279 if (typeb->type == SYM_NODE) in warn_for_different_enum_types()
379 if (type->type == SYM_NODE) in classify_type()
404 if (type->type == SYM_NODE) in is_string_type()
1550 if (sym->type != SYM_NODE) in mark_assigned()
1673 if (sym->type == SYM_NODE) { in create_pointer()
1699 if (ctype->type == SYM_NODE) in degenerate()
1812 if (ctype->type == SYM_NODE) in evaluate_dereference()
2282 if (type->type == SYM_NODE) in evaluate_ptrsizeof()
[all …]
H A Dsmatch_unknown_value.c39 .type = SYM_NODE,
H A Dbuiltin.c269 if (type->type == SYM_NODE) in evaluate_overflow_gen()
279 if (type->type == SYM_NODE) in evaluate_overflow_gen()
359 sym = create_symbol(stream, ptr->name, SYM_NODE, NS_SYMBOL); in init_builtins()
370 struct symbol *sym = create_symbol(stream, name, SYM_NODE, NS_SYMBOL); in declare_builtin()
384 struct symbol *anode = alloc_symbol(sym->pos, SYM_NODE); in declare_builtin()
H A Dcheck_struct_type.c44 if (size_type->type != SYM_NODE) in match_assign()
H A Dcheck_continue_vs_break.c108 if (!stmt->goto_label || stmt->goto_label->type != SYM_NODE) in match_continue()
H A Dparse.c950 sym = alloc_symbol(token->pos, SYM_NODE); in parse_enum_declaration()
959 if (ctype->type == SYM_NODE) in parse_enum_declaration()
2219 cont = alloc_symbol(stmt->pos, SYM_NODE); in start_iterator()
2221 brk = alloc_symbol(stmt->pos, SYM_NODE); in start_iterator()
2242 ret = alloc_symbol(sym->pos, SYM_NODE); in start_function()
2279 brk = alloc_symbol(stmt->pos, SYM_NODE); in start_switch()
2311 sym = alloc_symbol(stmt->pos, SYM_NODE); in add_case_statement()
2636 sym = alloc_symbol(token->pos, SYM_NODE); in parameter_type_list()
2901 type = alloc_symbol(arg->pos, SYM_NODE); in apply_k_r_types()
2986 decl = alloc_symbol(token->pos, SYM_NODE); in external_declaration()
[all …]
H A Dsmatch_type.c37 if (ret->type == SYM_RESTRICT || ret->type == SYM_NODE) in get_real_base_type()
234 if (sym->type == SYM_NODE) { in get_pointer_type()
746 if (sym->type == SYM_RESTRICT || sym->type == SYM_NODE) in get_member_type_from_key()
884 } else if (type->type == SYM_NODE) { in type_str_helper()
H A Dcheck_syscall_arg_type.c66 if (!node || node->type != SYM_NODE) in _typedef_lookup()
H A Dcheck_indenting.c170 stmt->goto_label->type == SYM_NODE && in match_stmt()
H A Dcheck_unreachable.c168 if (stmt->goto_label && stmt->goto_label->type == SYM_NODE && in unreachable_stmt()
H A Dctags.c137 case SYM_NODE: in examine_symbol()
H A Dast-inspect.c105 [SYM_NODE] = "SYM_NODE", in symbol_type_name()
H A Dshow-parse.c54 [SYM_NODE] = "node", in do_debug_symbol()
303 if (!sym || (sym->type != SYM_NODE && sym->type != SYM_ARRAY && in do_show_type()
367 case SYM_NODE: in do_show_type()
H A Dsparse.c292 if (sym->type == SYM_NODE) in list_compound_symbol()
H A Dsmatch_flow.c1181 if (stmt->goto_label && stmt->goto_label->type == SYM_NODE) { in __split_stmt()
1798 if (sym->type != SYM_NODE) in split_inlines_in_scope()
1847 if (sym->type != SYM_NODE || get_base_type(sym)->type != SYM_FN) { in split_c_file_functions()
1860 if (sym->type == SYM_NODE && get_base_type(sym)->type == SYM_FN) { in split_c_file_functions()
H A Dcheck_memcpy_overflow.c118 if (type->type == SYM_NODE) in name_in_union()
H A Dssa.c24 if (type->type == SYM_NODE) in is_promotable()
H A Dcheck_kernel.c281 if (sym->type != SYM_NODE) in find_module_init_exit()
H A Dlinearize.c945 if (sym->type == SYM_NODE) in bitfield_base_type()
1257 case SYM_NODE: in get_mtype()
1346 if (src->type == SYM_NODE) in get_cast_opcode()
1348 if (dst->type == SYM_NODE) in get_cast_opcode()
1503 if (fntype->type == SYM_NODE) in linearize_call_expression()
H A Dexpand.c174 if (ctype->type == SYM_NODE) in warn_shift_count()
862 if (sym->type == SYM_NODE) in expand_call()
H A Dpre-process.c1513 sym = alloc_symbol(pos, SYM_NODE); in do_define()
1644 sym = alloc_symbol(left->pos, SYM_NODE); in do_handle_undef()
2198 sym = create_symbol(stream, dynamic[i].name, SYM_NODE, NS_MACRO); in init_preprocessor()
H A Dsparse-llvm.c180 if (sym->type == SYM_NODE) in symbol_type()
1262 if (sym->type == SYM_NODE) in is_prototype()
H A Dinline.c537 struct symbol *a = alloc_symbol(arg->pos, SYM_NODE); in inline_function()

12