/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_struct_type.c | 36 if (!left_type || left_type->type != SYM_STRUCT) in match_assign() 47 if (size_type->type != SYM_STRUCT) in match_assign()
|
H A D | check_rosenberg.c | 40 if (!type || type->type != SYM_STRUCT) in extra_mod_hook() 73 if (base_type && base_type->type == SYM_STRUCT) { in check_struct() 110 if (!type || type->type != SYM_STRUCT) in warn_on_holey_struct() 209 if (sym->type != SYM_STRUCT) in check_members_initialized() 319 if (!type || type->type != SYM_STRUCT) in match_skb_put()
|
H A D | smatch_type_val.c | 205 if (!type || type->type != SYM_STRUCT) in is_ignored_fake_assignment() 366 if (left_type->type == SYM_STRUCT && left_type == right_type) in is_uncasted_pointer_assign() 441 if (!left_type || left_type->type != SYM_STRUCT) in is_uncasted_fn_param_from_db() 471 if (type && type->type == SYM_STRUCT) in match_assign_value() 547 if (type && (type->type == SYM_ARRAY || type->type == SYM_STRUCT)) in match_global_assign() 621 if (type && type->type == SYM_STRUCT) in db_param_add()
|
H A D | check_buffer_too_small_for_struct.c | 36 if (!left_type || left_type->type != SYM_STRUCT) in match_assign() 87 if (!left_type || left_type->type != SYM_STRUCT) in match_dereferences()
|
H A D | check_implicit_dependencies.c | 70 if (arg->type == SYM_STRUCT) in match_syscall_definition() 169 if (ignore_structs && member_sym->type == SYM_STRUCT) { in print_read_member_type() 204 if (ignore_structs && member_sym->type == SYM_STRUCT) { in print_write_member_type()
|
H A D | smatch_address.c | 47 if (type->type != SYM_STRUCT) in is_non_null_array() 91 if (!type || type->type != SYM_STRUCT) in get_member_offset() 140 if (!type || type->type != SYM_STRUCT) in get_member_offset_from_deref()
|
H A D | check_uninitialized.c | 44 base_type->type == SYM_STRUCT || in mark_members_uninitialized() 72 if (type->type == SYM_STRUCT) { in match_declarations() 253 if (!type || type->type != SYM_STRUCT) in match_call_struct_members()
|
H A D | smatch_struct_assignment.c | 81 if (type->type == SYM_STRUCT) in get_struct_type() 203 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_inner_struct_members() 275 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in __struct_members_copy() 419 left_type->type != SYM_STRUCT)) in __fake_struct_member_assignments()
|
H A D | smatch_type_links.c | 61 if (!type || type->type != SYM_STRUCT) in match_assign()
|
H A D | smatch_mtag_data.c | 104 if (type->type != SYM_STRUCT) in is_head_next() 139 if (type->type == SYM_STRUCT || in invalid_type()
|
H A D | check_memcpy_overflow.c | 162 if (type->type != SYM_STRUCT) in ends_on_struct_member_boundary() 227 if (type->type != SYM_STRUCT) in is_ignored_struct()
|
H A D | test-dissect.c | 10 if (m & MOD_INLINE || t == SYM_STRUCT || t == SYM_UNION /*|| t == SYM_ENUM*/) in storage()
|
H A D | smatch_buf_size.c | 402 if (!sym || sym->type != SYM_STRUCT) in last_member_is_resizable() 410 if (type->type == SYM_STRUCT) in last_member_is_resizable() 448 if (!base_sym || base_sym->type != SYM_STRUCT) in get_stored_size_end_struct_bytes() 813 if (type->type != SYM_STRUCT && in is_type_bytes()
|
H A D | smatch_kernel_user_data.c | 216 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in tag_inner_struct_members() 245 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in tag_struct_members() 288 if (type->type == SYM_STRUCT || type->type == SYM_UNION) { in tag_as_user_data() 400 if (!sym || sym->type != SYM_STRUCT || !sym->ident) in is_skb_data() 527 if (left_type->type != SYM_STRUCT && in handle_struct_assignment() 1189 if (tmp && (tmp->type == SYM_STRUCT || tmp->type == SYM_UNION)) { in set_param_user_data()
|
H A D | smatch_flow.c | 1270 if (!type || type->type != SYM_STRUCT) in member_to_number() 1290 if (!type || type->type != SYM_STRUCT) in number_to_member() 1323 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_inner_struct_members() 1361 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_unset_to_zero() 1384 (struct_type->type != SYM_STRUCT && struct_type->type != SYM_UNION)) in fake_member_assigns_helper() 1534 } else if (get_real_base_type(sym)->type == SYM_STRUCT) { in fake_global_assign()
|
H A D | smatch_type.c | 559 if (!type || type->type != SYM_STRUCT) in is_struct_ptr() 778 if (type && type->type == SYM_STRUCT) in is_struct() 852 } else if (type->type == SYM_STRUCT) { in type_str_helper()
|
H A D | smatch_fn_arg_link.c | 61 if (!type || type->type != SYM_STRUCT || !type->ident) in save_in_fn_ptr_data_link_table()
|
H A D | smatch_param_cleared.c | 158 if (!type || type->type != SYM_STRUCT) in match_assign()
|
H A D | ctags.c | 142 case SYM_STRUCT: in examine_symbol()
|
H A D | ast-inspect.c | 109 [SYM_STRUCT] = "SYM_STRUCT", in symbol_type_name()
|
H A D | smatch_container_of.c | 392 if (!type || type->type != SYM_STRUCT) in get_member_from_offset() 437 if (type->type != SYM_STRUCT) { in get_name_from_offset()
|
H A D | show-parse.c | 58 [SYM_STRUCT] = "strt", in do_debug_symbol() 351 case SYM_STRUCT: in do_show_type() 475 case SYM_STRUCT: in show_symbol()
|
H A D | dissect.c | 146 if (type->type != SYM_STRUCT && type->type != SYM_UNION) in report_implicit() 228 case SYM_STRUCT: case SYM_UNION: //case SYM_ENUM: in examine_sym_node()
|
H A D | c2xml.c | 207 case SYM_STRUCT: in examine_symbol()
|
H A D | sparse.c | 297 case SYM_STRUCT: case SYM_UNION: case SYM_ARRAY: in list_compound_symbol()
|