Home
last modified time | relevance | path

Searched refs:MOD_STATIC (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dmemops.c81 && !(pseudo->sym->ctype.modifiers & (MOD_STATIC | MOD_NONLOCAL)) in local_pseudo()
209 if (mod & (MOD_VOLATILE | MOD_NONLOCAL | MOD_STATIC)) in simplify_memops()
H A Dcheck_stack.c47 if (sym->ctype.modifiers & MOD_STATIC) in match_declarations()
H A Dcheck_allocation_funcs.c50 (MOD_NONLOCAL | MOD_STATIC | MOD_ADDRESSABLE)) in match_allocation()
H A Dtest-unssa.c34 if (sym->ctype.modifiers & MOD_STATIC) in output_fn()
H A Dssa.c193 mod &= (MOD_NONLOCAL | MOD_STATIC | MOD_ADDRESSABLE); in ssa_convert_one_var()
252 if (mod & (MOD_NONLOCAL | MOD_STATIC)) in ssa_convert_one_var()
H A Dtest-dissect.c13 return (m & MOD_STATIC) ? 's' : (m & MOD_NONLOCAL) ? 'g' : 'l'; in storage()
H A Dgdbhelpers98 if ($arg0->modifiers & MOD_STATIC)
99 printf "MOD_STATIC "
H A Dsmatch_mtag.c195 (sym->ctype.modifiers & MOD_STATIC) ? get_filename() : "extern", in get_toplevel_mtag()
229 (sym->ctype.modifiers & MOD_STATIC) ? get_filename() : "extern"); in global_variable()
H A Dcheck_unused_ret.c117 if (left->symbol->ctype.modifiers & (MOD_TOPLEVEL | MOD_EXTERN | MOD_STATIC)) in match_assign_call()
H A Dsymbol.h208 #define MOD_STATIC 0x00000004 macro
246 #define MOD_STORAGE (MOD_AUTO | MOD_REGISTER | MOD_STATIC | MOD_EXTERN | MOD_INLINE | MOD_TOPLEVEL)
H A Dsmatch_type.c574 if (sym->ctype.modifiers & MOD_STATIC) in is_static()
627 return !!(cur_func_sym->ctype.modifiers & MOD_STATIC); in fn_static()
632 if (cur_func_sym->ctype.modifiers & MOD_STATIC) in global_static()
H A Dcheck_kernel.c283 if (!(sym->ctype.modifiers & MOD_STATIC)) in find_module_init_exit()
325 if (!(sym->ctype.modifiers & MOD_STATIC)) in match_end_file()
H A Dsmatch_db.c187 if (cur_func_sym->ctype.modifiers & MOD_STATIC) in set_fn_mtag()
351 (sym->ctype.modifiers & MOD_STATIC) ? get_base_file() : "extern", in sql_insert_data_info_var_sym()
389 (fn->symbol->ctype.modifiers & MOD_STATIC) ? get_base_file() : "extern", in sql_insert_fn_data_link()
391 !!(fn->symbol->ctype.modifiers & MOD_STATIC), in sql_insert_fn_data_link()
470 if (sym->ctype.modifiers & MOD_STATIC) { in get_static_filter()
535 if (expr->symbol->ctype.modifiers & (MOD_NONLOCAL | MOD_STATIC | MOD_ADDRESSABLE)) in is_local_symbol()
1190 if (sym->ctype.modifiers & MOD_STATIC) in match_data_from_db()
2811 if (sym->ctype.modifiers & MOD_STATIC) in get_data_info_name()
H A Dcheck_leaks.c92 if (sym->ctype.modifiers & (MOD_NONLOCAL | MOD_STATIC | MOD_ADDRESSABLE)) in is_local()
H A Dcheck_unreachable.c58 if (sym->initializer && !(sym->ctype.modifiers & MOD_STATIC)) in print_unreached_initializers()
H A Dsmatch_array_values.c52 (sym->ctype.modifiers & MOD_STATIC)) in is_file_local()
H A Dsmatch_type_val.c410 (cur_func_sym->ctype.modifiers & MOD_STATIC) ? get_base_file() : "extern", in db_get_parameter_type()
412 !!(cur_func_sym->ctype.modifiers & MOD_STATIC), in db_get_parameter_type()
H A Dcheck_uninitialized.c66 if (sym->ctype.modifiers & MOD_STATIC) in match_declarations()
H A Dsmatch_buf_size.c248 sym->ctype.modifiers & MOD_STATIC) in size_from_db_symbol()
902 sym->ctype.modifiers & MOD_STATIC) in record_global_size()
H A Dsymbol.c606 if ((next->ctype.modifiers & (MOD_TOPLEVEL|MOD_STATIC)) == MOD_TOPLEVEL) { in check_declaration()
646 if (sym->ctype.modifiers & MOD_STATIC || in bind_symbol()
H A Dexpression.c113 decl->ctype.modifiers = MOD_STATIC; in handle_func()
445 if (sym && (sym->ctype.modifiers & (MOD_TOPLEVEL | MOD_STATIC))) in primary_expression()
H A Dcompile-i386.c859 if ((sym->ctype.modifiers & MOD_STATIC) == 0) in emit_func_post()
904 if ((modifiers & MOD_STATIC) == 0) in emit_object_pre()
947 if (modifiers & MOD_STATIC) { in emit_global_noinit()
2233 if (sym->ctype.modifiers & (MOD_TOPLEVEL | MOD_EXTERN | MOD_STATIC)) { in x86_symbol_expr()
H A Dshow-parse.c125 {MOD_STATIC, "static"}, in modifier_string()
950 if (sym->ctype.modifiers & (MOD_TOPLEVEL | MOD_EXTERN | MOD_STATIC)) { in show_symbol_expr()
H A Dsmatch_constraints.c187 if (sym->ctype.modifiers & MOD_STATIC) in get_toplevel_name()
H A Dcheck_atomic_inc_dec.c332 if (sym->ctype.modifiers & MOD_STATIC && in check_counter()

12