Searched refs:type_bytes (Results 1 – 17 of 17) sorted by relevance
50 total_size += type_bytes(base); in match_declarations()55 if (type_bytes(base) >= MAX_ALLOWED) { in match_declarations()57 sm_warning("'%s' puts %d bytes on stack", name, type_bytes(base)); in match_declarations()59 add_scope_hook(&scope_end, INT_PTR(type_bytes(base))); in match_declarations()
71 struct_bytes = type_bytes(type); in bytes_to_end_of_struct()92 return type_bytes(type); in size_of_union()175 offset += type_bytes(tmp); in ends_on_struct_member_boundary()176 size = type_bytes(tmp); in ends_on_struct_member_boundary()183 offset += type_bytes(tmp); in ends_on_struct_member_boundary()184 size += type_bytes(tmp); in ends_on_struct_member_boundary()
49 if (bytes >= type_bytes(left_type)) in match_assign()59 if (min_size.value >= type_bytes(left_type)) in match_assign()98 if (min_size.value >= type_bytes(left_type)) in match_dereferences()
108 if (!(type_bits(tmp) % 8) && type_bits(tmp) / 8 == type_bytes(tmp)) in get_member_offset()109 offset += type_bytes(tmp); in get_member_offset()295 bytes.uvalue = type_bytes(type); in get_address_rl()301 if (type_bytes(type)) { in get_address_rl()
147 return type_bytes(type); in bytes_per_element()344 ret = type_bytes(type); in get_bytes_from_address()439 if (!type_bytes(sym)) in get_stored_size_end_struct_bytes()460 return estate_to_size(state) - type_bytes(base_sym) + type_bytes(get_type(expr)); in get_stored_size_end_struct_bytes()500 bytes = type_bytes(type); in get_array_size_bytes_rl()816 if (sval.value != type_bytes(type)) in is_type_bytes()
71 return type_bytes(type); in bytes_per_element()129 if (struct_size.value != type_bytes(type)) in handle_zero_size_arrays()140 sval.value == type_bytes(array_type)) in handle_zero_size_arrays()143 sval.value == type_bytes(array_type)) in handle_zero_size_arrays()
41 bytes = type_bytes(left_type); in db_returns_buf_size()
44 cast_size = type_bytes(type); in match_overflow()
32 return type_bytes(type); in get_data_size()
249 if (!type_bytes(type)) in get_array_mtag_offset()258 *offset = start_offset + sval.value * type_bytes(type); in get_array_mtag_offset()
1147 ret.value = type_bytes(sym); in handle_sizeof()1332 res_sval->value = offset + sval.value * type_bytes(type); in get_offset_from_down()1347 res_sval->value = offset + sval.value * type_bytes(type); in get_offset_from_down()1351 sval.value = type_bytes(type); in get_offset_from_down()
90 align += type_bytes(tmp); in check_struct()
400 cur += type_bytes(tmp); in get_member_from_offset()
140 return type_bytes(type); in bytes_per_element()
42 int type_bytes(struct symbol *type) in type_bytes() function
345 size = type_bytes(get_base_type(expr->cast_type)); in __get_variable_from_expr()
472 int type_bytes(struct symbol *type);