Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_struct_type.c41 if (!arg || arg->type != EXPR_SIZEOF || !arg->cast_type) in match_assign()
43 size_type = arg->cast_type; in match_assign()
H A Dsmatch_ranges.c352 struct symbol *cast_type; in filter_by_comparison() local
358 cast_type = rl_type(left_orig); in filter_by_comparison()
360 cast_type = rl_type(right_orig); in filter_by_comparison()
362 cast_type = &int_ctype; in filter_by_comparison()
364 min = sval_type_min(cast_type); in filter_by_comparison()
365 max = sval_type_max(cast_type); in filter_by_comparison()
1989 struct symbol *cast_type; in rl_binop() local
1993 cast_type = rl_type(left); in rl_binop()
1995 cast_type = rl_type(right); in rl_binop()
1997 cast_type = &int_ctype; in rl_binop()
[all …]
H A Dexpression.c588 token = typename(token->next, &expr->cast_type, NULL); in type_info_expression()
606 cast->cast_type = expr->cast_type; in type_info_expression()
607 expr->cast_type = NULL; in type_info_expression()
715 cast->cast_type = sym; in cast_expression()
H A Dinline.c160 struct symbol *sym = expr->cast_type; in copy_expression()
163 expr->cast_type = alloc_symbol(sym->pos, sym->type); in copy_expression()
164 *expr->cast_type = *sym; in copy_expression()
H A Dexpression.h202 struct symbol *cast_type; member
H A Dast-inspect.c208 ast_append_child(node, "cast_type:", expr->cast_type, inspect_symbol); in inspect_expression()
H A Dsmatch_helper.c344 if (expr->cast_type && get_base_type(expr->cast_type)) { in __get_variable_from_expr()
345 size = type_bytes(get_base_type(expr->cast_type)); in __get_variable_from_expr()
H A Devaluate.c334 old->cast_type = type; in cast_to()
346 expr->cast_type = type; in cast_to()
2178 struct symbol *sym = expr->cast_type; in evaluate_type_information()
2242 base->cast_type = base_type; in evaluate_sizeof()
2251 size->cast_type = size_t_ctype; in evaluate_sizeof()
2944 struct symbol *sym = expr->cast_type; in evaluate_cast()
2963 ctype = examine_symbol_type(expr->cast_type); in evaluate_cast()
2965 expr->cast_type = ctype; in evaluate_cast()
H A Ddissect.c337 ret = base_type(expr->cast_type); in do_expression()
H A Dsmatch_type.c294 ret = get_real_base_type(expr->cast_type); in get_type_helper()
H A Dshow-parse.c985 new_type = expr->cast_type; in show_cast_expr()
H A Dsmatch_math.c1114 sym = expr->cast_type; in handle_sizeof()
H A Dcompile-i386.c1657 new_type = expr->cast_type; in emit_cast_expr()