/illumos-gate/usr/src/tools/smatch/src/ |
H A D | expression.c | 573 static struct token *cast_expression(struct token *token, struct expression **tree); 586 return unary_expression(token, &expr->cast_expression); in type_info_expression() 608 expr->cast_expression = cast; in type_info_expression() 609 token = initializer(&cast->cast_expression, token); in type_info_expression() 610 token = postfix_expression(token, &expr->cast_expression, cast); in type_info_expression() 646 next = cast_expression(token->next, &unop); in unary_expression() 664 next = cast_expression(token->next, &unop); in unary_expression() 704 static struct token *cast_expression(struct token *token, struct expression **tree) in cast_expression() function 723 token = initializer(&cast->cast_expression, token); in cast_expression() 729 token = cast_expression(token, &v); in cast_expression() [all …]
|
H A D | inline.c | 158 if (expr->cast_expression->type == EXPR_INITIALIZER) { in copy_expression() 159 struct expression *cast = expr->cast_expression; in copy_expression() 162 expr->cast_expression = copy_expression(cast); in copy_expression() 172 struct expression *cast = copy_expression(expr->cast_expression); in copy_expression() 173 if (cast == expr->cast_expression) in copy_expression() 176 expr->cast_expression = cast; in copy_expression()
|
H A D | check_sizeof.c | 32 expr = strip_expr(expr->cast_expression); in check_pointer() 86 obj = strip_expr(arg->cast_expression); in match_check_params()
|
H A D | check_passes_sizeof.c | 55 size_arg = strip_expr(size_arg->cast_expression); in get_buf_number()
|
H A D | smatch_helper.c | 336 expr->cast_expression, len, in __get_variable_from_expr() 742 expr_set_parent_expr(expr->cast_expression, expr); in strip_expr_helper() 744 if (!expr->cast_expression) in strip_expr_helper() 746 return strip_expr_helper(expr->cast_expression, set_parent); in strip_expr_helper()
|
H A D | smatch_recurse.c | 72 ret = recurse(expr->cast_expression, func, param, nr); in recurse()
|
H A D | expression.h | 203 struct expression *cast_expression; member
|
H A D | ast-inspect.c | 209 ast_append_child(node, "cast_expression:", expr->cast_expression, inspect_expression); in inspect_expression()
|
H A D | dissect.c | 330 do_expression(U_VOID, expr->cast_expression); in do_expression() 338 do_initializer(ret, expr->cast_expression); in do_expression()
|
H A D | smatch_flow.c | 491 expr_set_parent_expr(expr->cast_expression, expr); in __split_expr() 494 __split_expr(expr->cast_expression); in __split_expr() 497 if (expr->cast_expression) in __split_expr() 498 __pass_to_client(strip_parens(expr->cast_expression), in __split_expr()
|
H A D | evaluate.c | 329 struct expression *orig = old->cast_expression; in cast_to() 347 expr->cast_expression = old; in cast_to() 1561 mark_assigned(expr->cast_expression); in mark_assigned() 2180 sym = evaluate_expression(expr->cast_expression); in evaluate_type_information() 2252 size->cast_expression = type->array_size; in evaluate_sizeof() 2849 struct expression *old = expr->cast_expression; in cast_to_bool() 2924 struct expression *source = expr->cast_expression; in evaluate_cast()
|
H A D | show-parse.c | 980 int op = show_expression(expr->cast_expression); in show_cast_expr() 984 old_type = expr->cast_expression->ctype; in show_cast_expr()
|
H A D | smatch_constraints_required.c | 379 array = strip_expr(array->cast_expression); in match_assign_ARRAY_SIZE()
|
H A D | smatch_math.c | 1116 sym = evaluate_expression(expr->cast_expression); in handle_sizeof() 1271 if (get_rl_sval(expr->cast_expression, implied, recurse_cnt, &rl, &sval)) { in handle_cast()
|
H A D | compile-i386.c | 1652 struct storage *op = x86_expression(expr->cast_expression); in emit_cast_expr() 1656 old_type = expr->cast_expression->ctype; in emit_cast_expr()
|
H A D | check_kernel_printf.c | 994 arg = arg->cast_expression; in check_cast_from_pointer()
|
H A D | expand.c | 815 struct expression *target = expr->cast_expression; in expand_cast()
|
H A D | linearize.c | 1822 struct expression *orig = expr->cast_expression; in linearize_cast()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_grammar.y | 205 %type <l_node> cast_expression 449 | unary_operator cast_expression { $$ = OP1($1, $2); } 467 cast_expression: 469 | DT_TOK_LPAR type_name DT_TOK_RPAR cast_expression { 475 cast_expression 476 | multiplicative_expression DT_TOK_MUL cast_expression { 479 | multiplicative_expression DT_TOK_DIV cast_expression { 482 | multiplicative_expression DT_TOK_MOD cast_expression {
|