/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_function_ptrs.c | 169 if (!type || type->type != SYM_FN) in get_returned_ptr() 256 if (!type || type->type != SYM_FN) in match_passes_function_pointer() 304 if (type->type == SYM_FN) in can_hold_function_ptr() 352 if (type->type != SYM_FN) { in match_function_assign() 379 if (!type || type->type != SYM_FN) in match_returns_function_pointer() 385 if (!type || type->type != SYM_FN) in match_returns_function_pointer() 419 if (!base_type || base_type->type != SYM_FN) in print_initializer_list()
|
H A D | symbol.h | 62 SYM_FN, enumerator 387 return type->type == SYM_PTR || type->type == SYM_ARRAY || type->type == SYM_FN; in is_ptr_type() 394 return type->type == SYM_FN; in is_func_type() 470 return type && type->type == SYM_FN; in is_function()
|
H A D | smatch_type.c | 192 if (tmp->type != SYM_FN) in get_return_type() 420 if (!sym || sym->type != SYM_FN) in returns_unsigned() 436 if (!sym || sym->type != SYM_FN) in returns_pointer() 643 if (!sym || sym->type != SYM_FN) in cur_func_return_type() 661 if (fn_type->type != SYM_FN) in get_arg_type() 859 } else if (type->type == SYM_FN) { in type_str_helper()
|
H A D | smatch_about_fn_ptr_arg.c | 162 if (!type || type->type != SYM_FN) in match_assign_function() 204 if (!type || type->type != SYM_FN) in check_passes_fn_and_data()
|
H A D | ctags.c | 138 if (base && base->type == SYM_FN) in examine_symbol() 155 case SYM_FN: in examine_symbol()
|
H A D | check_return_cast.c | 31 if (!func_type || func_type->type != SYM_FN) in match_return()
|
H A D | smatch_unknown_value.c | 34 .type = SYM_FN,
|
H A D | dissect.c | 103 break; case SYM_FN: in fix_mode() 224 case SYM_PTR: case SYM_FN: in examine_sym_node() 358 ret = ret->type == SYM_FN ? base_type(ret) in do_expression() 593 break; case SYM_FN: in do_symbol()
|
H A D | check_all_func_returns.c | 71 if (sym == &void_ctype || (sym->type == SYM_FN && in check_func_return()
|
H A D | show-parse.c | 56 [SYM_FN] = "fn..", in do_debug_symbol() 90 if (sym->type == SYM_FN) { in do_debug_symbol() 342 case SYM_FN: in do_show_type() 484 case SYM_FN: { in show_symbol() 760 if (sym->ctype.base_type->type == SYM_FN) in show_call_expression()
|
H A D | smatch_fn_arg_link.c | 159 if (!type || type->type != SYM_FN) in check_passes_fn_and_data()
|
H A D | symbol.c | 466 case SYM_FN: in examine_symbol_type() 531 [SYM_FN] = "function", in get_type_name() 614 if (get_sym_type(next) == SYM_FN) in check_declaration()
|
H A D | check_unwind.c | 125 if (!type || type->type != SYM_FN) in func_returns_int()
|
H A D | ast-inspect.c | 107 [SYM_FN] = "SYM_FN", in symbol_type_name()
|
H A D | c2xml.c | 211 case SYM_FN: in examine_symbol()
|
H A D | smatch_address.c | 225 if (!type || type->type != SYM_FN) in handle_fn_address()
|
H A D | builtin.c | 322 static struct symbol builtin_fn_type = { .type = SYM_FN /* , .variadic =1 */ }; 371 struct symbol *fun = alloc_symbol(sym->pos, SYM_FN); in declare_builtin()
|
H A D | evaluate.c | 371 [SYM_FN] = TYPE_PTR | TYPE_FN, in classify_type() 754 case SYM_FN: { in type_difference() 1463 if (b1->type == SYM_FN) in check_assignment_types() 1618 case SYM_FN: in examine_fn_arguments() 1753 case SYM_FN: in degenerate() 1822 case SYM_FN: in evaluate_dereference() 3130 if (ctype->type != SYM_FN) { in evaluate_call() 3422 if (base_type->type == SYM_FN) { in evaluate_symbol()
|
H A D | smatch_mtag.c | 431 (type->type == SYM_ARRAY || type->type == SYM_FN) && in get_mtag_sval()
|
H A D | smatch_flow.c | 1803 if (base->type != SYM_FN) 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 D | check_kernel.c | 288 if (fn->type != SYM_FN) in find_module_init_exit()
|
H A D | smatch_container_of.c | 299 if (!type || type->type != SYM_FN) in is_fn_ptr()
|
H A D | sparse-llvm.c | 209 case SYM_FN: in symbol_type() 1264 return sym && sym->type == SYM_FN && !sym->stmt; in is_prototype()
|
H A D | parse.c | 1867 fn = alloc_indirect_symbol(token->pos, ctype, SYM_FN); in direct_declarator() 2948 struct symbol *fn = alloc_symbol(token->pos, SYM_FN); in toplevel_asm_declaration() 3032 } else if (base_type && base_type->type == SYM_FN) { in external_declaration() 3108 if (!is_typedef && base_type && base_type->type == SYM_FN) { in external_declaration()
|
H A D | compile-i386.c | 1847 case SYM_FN: { in x86_symbol() 2106 if (sym->ctype.base_type->type == SYM_FN) in x86_call_expression()
|