Home
last modified time | relevance | path

Searched refs:SYM_FN (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_function_ptrs.c169 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 Dsymbol.h62 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 Dsmatch_type.c192 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 Dsmatch_about_fn_ptr_arg.c162 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 Dctags.c138 if (base && base->type == SYM_FN) in examine_symbol()
155 case SYM_FN: in examine_symbol()
H A Dcheck_return_cast.c31 if (!func_type || func_type->type != SYM_FN) in match_return()
H A Dsmatch_unknown_value.c34 .type = SYM_FN,
H A Dcheck_all_func_returns.c71 if (sym == &void_ctype || (sym->type == SYM_FN && in check_func_return()
H A Ddissect.c103 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 Dshow-parse.c56 [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 Dsmatch_fn_arg_link.c159 if (!type || type->type != SYM_FN) in check_passes_fn_and_data()
H A Dcheck_unwind.c125 if (!type || type->type != SYM_FN) in func_returns_int()
H A Dsymbol.c466 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 Dast-inspect.c107 [SYM_FN] = "SYM_FN", in symbol_type_name()
H A Dsmatch_address.c225 if (!type || type->type != SYM_FN) in handle_fn_address()
H A Dc2xml.c211 case SYM_FN: in examine_symbol()
H A Dbuiltin.c322 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 Devaluate.c371 [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 Dsmatch_mtag.c431 (type->type == SYM_ARRAY || type->type == SYM_FN) && in get_mtag_sval()
H A Dsmatch_flow.c1803 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 Dcheck_kernel.c288 if (fn->type != SYM_FN) in find_module_init_exit()
H A Dsmatch_container_of.c299 if (!type || type->type != SYM_FN) in is_fn_ptr()
H A Dsparse-llvm.c209 case SYM_FN: in symbol_type()
1264 return sym && sym->type == SYM_FN && !sym->stmt; in is_prototype()
H A Dparse.c1867 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 Dcompile-i386.c1847 case SYM_FN: { in x86_symbol()
2106 if (sym->ctype.base_type->type == SYM_FN) in x86_call_expression()

12