Symbol: type_bytes
usr/src/tools/smatch/src/check_allocating_enough_data.c
41
bytes = type_bytes(left_type);
usr/src/tools/smatch/src/check_buffer_too_small_for_struct.c
49
if (bytes >= type_bytes(left_type))
usr/src/tools/smatch/src/check_buffer_too_small_for_struct.c
59
if (min_size.value >= type_bytes(left_type))
usr/src/tools/smatch/src/check_buffer_too_small_for_struct.c
98
if (min_size.value >= type_bytes(left_type))
usr/src/tools/smatch/src/check_cast_assign.c
44
cast_size = type_bytes(type);
usr/src/tools/smatch/src/check_kmalloc_wrong_size.c
32
return type_bytes(type);
usr/src/tools/smatch/src/check_memcpy_overflow.c
175
offset += type_bytes(tmp);
usr/src/tools/smatch/src/check_memcpy_overflow.c
176
size = type_bytes(tmp);
usr/src/tools/smatch/src/check_memcpy_overflow.c
183
offset += type_bytes(tmp);
usr/src/tools/smatch/src/check_memcpy_overflow.c
184
size += type_bytes(tmp);
usr/src/tools/smatch/src/check_memcpy_overflow.c
71
struct_bytes = type_bytes(type);
usr/src/tools/smatch/src/check_memcpy_overflow.c
92
return type_bytes(type);
usr/src/tools/smatch/src/check_rosenberg.c
90
align += type_bytes(tmp);
usr/src/tools/smatch/src/check_stack.c
50
total_size += type_bytes(base);
usr/src/tools/smatch/src/check_stack.c
55
if (type_bytes(base) >= MAX_ALLOWED) {
usr/src/tools/smatch/src/check_stack.c
57
sm_warning("'%s' puts %d bytes on stack", name, type_bytes(base));
usr/src/tools/smatch/src/check_stack.c
59
add_scope_hook(&scope_end, INT_PTR(type_bytes(base)));
usr/src/tools/smatch/src/smatch.h
472
int type_bytes(struct symbol *type);
usr/src/tools/smatch/src/smatch_address.c
108
if (!(type_bits(tmp) % 8) && type_bits(tmp) / 8 == type_bytes(tmp))
usr/src/tools/smatch/src/smatch_address.c
109
offset += type_bytes(tmp);
usr/src/tools/smatch/src/smatch_address.c
295
bytes.uvalue = type_bytes(type);
usr/src/tools/smatch/src/smatch_address.c
301
if (type_bytes(type)) {
usr/src/tools/smatch/src/smatch_buf_comparison.c
140
return type_bytes(type);
usr/src/tools/smatch/src/smatch_buf_size.c
147
return type_bytes(type);
usr/src/tools/smatch/src/smatch_buf_size.c
344
ret = type_bytes(type);
usr/src/tools/smatch/src/smatch_buf_size.c
439
if (!type_bytes(sym))
usr/src/tools/smatch/src/smatch_buf_size.c
460
return estate_to_size(state) - type_bytes(base_sym) + type_bytes(get_type(expr));
usr/src/tools/smatch/src/smatch_buf_size.c
500
bytes = type_bytes(type);
usr/src/tools/smatch/src/smatch_buf_size.c
816
if (sval.value != type_bytes(type))
usr/src/tools/smatch/src/smatch_constraints_required.c
129
if (struct_size.value != type_bytes(type))
usr/src/tools/smatch/src/smatch_constraints_required.c
140
sval.value == type_bytes(array_type))
usr/src/tools/smatch/src/smatch_constraints_required.c
143
sval.value == type_bytes(array_type))
usr/src/tools/smatch/src/smatch_constraints_required.c
71
return type_bytes(type);
usr/src/tools/smatch/src/smatch_container_of.c
400
cur += type_bytes(tmp);
usr/src/tools/smatch/src/smatch_helper.c
345
size = type_bytes(get_base_type(expr->cast_type));
usr/src/tools/smatch/src/smatch_math.c
1147
ret.value = type_bytes(sym);
usr/src/tools/smatch/src/smatch_math.c
1332
res_sval->value = offset + sval.value * type_bytes(type);
usr/src/tools/smatch/src/smatch_math.c
1347
res_sval->value = offset + sval.value * type_bytes(type);
usr/src/tools/smatch/src/smatch_math.c
1351
sval.value = type_bytes(type);
usr/src/tools/smatch/src/smatch_mtag.c
249
if (!type_bytes(type))
usr/src/tools/smatch/src/smatch_mtag.c
258
*offset = start_offset + sval.value * type_bytes(type);