Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_buf_size.c427 struct symbol *base_sym; in get_stored_size_end_struct_bytes() local
444 base_sym = get_real_base_type(sym); in get_stored_size_end_struct_bytes()
445 if (!base_sym || base_sym->type != SYM_PTR) in get_stored_size_end_struct_bytes()
447 base_sym = get_real_base_type(base_sym); in get_stored_size_end_struct_bytes()
448 if (!base_sym || base_sym->type != SYM_STRUCT) in get_stored_size_end_struct_bytes()
451 if (!is_last_member_of_struct(base_sym, expr->member)) in get_stored_size_end_struct_bytes()
453 if (!last_member_is_resizable(base_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()