Home
last modified time | relevance | path

Searched refs:bits_to_bytes (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dtarget.h58 static inline int bits_to_bytes(int bits) in bits_to_bytes() function
H A Dsmatch_address.c97 if (bits_to_bytes(bits + type_bits(tmp)) > tmp->ctype.alignment) { in get_member_offset()
98 offset += bits_to_bytes(bits); in get_member_offset()
H A Dsymbol.c163 sym->offset = bits_to_bytes(bit_size - bit_offset); in lay_out_struct()
176 sym->offset = bits_to_bytes(bit_size); in lay_out_struct()
815 unsigned long alignment = bits_to_bytes(bit_size); in init_ctype()
H A Devaluate.c612 multiply = is_void_type(base) ? 1 : bits_to_bytes(base->bit_size); in evaluate_ptr_add()
864 unsigned long value = bits_to_bytes(lbase->bit_size); in evaluate_ptr_sub()
1738 bits_to_bytes(expr->r_bitpos)); in degenerate()
1884 multiply = bits_to_bytes(target->bit_size); in evaluate_postop()
2222 size = bits_to_bytes(bits_in_bool) * bits_in_char; in evaluate_sizeof()
2247 base->value = bits_to_bytes(base_type->bit_size); in evaluate_sizeof()
2267 expr->value = bits_to_bytes(size); in evaluate_sizeof()
2301 expr->value = bits_to_bytes(size); in evaluate_ptrsizeof()
2374 e->init_offset = from * bits_to_bytes(e->ctype->bit_size); in convert_index()
3234 bits_to_bytes(ctype->bit_size)); in evaluate_offsetof()
H A Dsparse.c305 bits_to_bytes(sym->bit_size), in list_compound_symbol()
H A Dsmatch_type.c52 return bits_to_bytes(bits); in type_bytes()
59 return bits_to_bytes(type->bit_size); in array_bytes()
H A Dflow.c482 bits_to_bytes(sym->bit_size)); in check_access()
H A Dshow-parse.c750 framesize += bits_to_bytes(size); in show_call_expression()
H A Dexample.c1835 offset += bits_to_bytes(bits); in set_up_arch_entry()
H A Dcompile-i386.c2096 framesize += bits_to_bytes(size); in x86_call_expression()