Home
last modified time | relevance | path

Searched defs:stmt (Results 1 – 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_continue_vs_break.c35 static int is_do_while_zero(struct statement *stmt) in is_do_while_zero()
44 static void push_statement(struct statement_list **stack, struct statement *stmt) in push_statement()
56 struct statement *stmt; in inside_do_while_zero() local
64 struct statement *stmt; in loop_is_macro() local
74 static void match_stmt(struct statement *stmt) in match_stmt()
85 static void match_stmt_after(struct statement *stmt) in match_stmt_after()
103 static void match_continue(struct statement *stmt) in match_continue()
H A Dcheck_unreachable.c26 static int empty_statement(struct statement *stmt) in empty_statement()
38 struct statement *stmt; in is_last_stmt() local
64 static int is_ignored_macro(struct statement *stmt) in is_ignored_macro()
81 static int prev_line_was_endif(struct statement *stmt) in prev_line_was_endif()
103 static int we_jumped_into_the_middle_of_a_loop(struct statement *stmt) in we_jumped_into_the_middle_of_a_loop()
128 static void unreachable_stmt(struct statement *stmt) in unreachable_stmt()
194 static char *get_function_name(struct statement *stmt) in get_function_name()
208 static void turn_off_unreachable(struct statement *stmt) in turn_off_unreachable()
H A Dcheck_indenting.c24 static int in_ignored_macro(struct statement *stmt) in in_ignored_macro()
40 static int missing_curly_braces(struct statement *stmt) in missing_curly_braces()
68 static int prev_lines_say_endif(struct statement *stmt) in prev_lines_say_endif()
87 static int is_pre_or_post_statement(struct statement *stmt) in is_pre_or_post_statement()
113 static void match_stmt(struct statement *stmt) in match_stmt()
H A Dsmatch_scope.c22 static int end_of_function(struct statement *stmt) in end_of_function()
39 static void match_end_of_block(struct statement *stmt) in match_end_of_block()
59 static int is_outer_stmt(struct statement *stmt) in is_outer_stmt()
80 static void match_stmt(struct statement *stmt) in match_stmt()
H A Dcheck_no_if_block.c22 static void match_if_stmt(struct statement *stmt) in match_if_stmt()
37 static void match_for_stmt(struct statement *stmt) in match_for_stmt()
H A Dcheck_missing_break.c129 static void match_stmt(struct statement *stmt) in match_stmt()
137 static void match_switch(struct statement *stmt) in match_switch()
161 static void match_switch_end(struct statement *stmt) in match_switch_end()
H A Dparse.c665 struct statement *stmt = __alloc_statement(0); in alloc_statement() local
2079 static struct token *parse_asm_operands(struct token *token, struct statement *stmt, in parse_asm_operands()
2100 static struct token *parse_asm_clobbers(struct token *token, struct statement *stmt, in parse_asm_clobbers()
2113 static struct token *parse_asm_labels(struct token *token, struct statement *stmt, in parse_asm_labels()
2129 static struct token *parse_asm_statement(struct token *token, struct statement *stmt) in parse_asm_statement()
2196 struct statement *stmt; in make_statement() local
2214 static void start_iterator(struct statement *stmt) in start_iterator()
2231 static void end_iterator(struct statement *stmt) in end_iterator()
2239 struct statement *stmt = alloc_statement(sym->pos, STMT_COMPOUND); in start_function() local
2274 static void start_switch(struct statement *stmt) in start_switch()
[all …]
H A Dcheck_bogus_loop.c32 static struct expression *get_iterator_set(struct statement *stmt) in get_iterator_set()
59 static void match_loop(struct statement *stmt) in match_loop()
H A Dinline.c46 static struct statement * dup_statement(struct statement *stmt) in dup_statement()
197 struct statement *stmt = alloc_statement(expr->pos, STMT_COMPOUND); in copy_expression() local
325 static struct statement *copy_one_statement(struct statement *stmt) in copy_one_statement()
471 struct statement *stmt; in copy_statement() local
512 struct statement *stmt = alloc_statement(expr->pos, STMT_COMPOUND); in inline_function() local
H A Dsmatch_flow.c579 static int is_forever_loop(struct statement *stmt) in is_forever_loop()
611 static void handle_pre_loop(struct statement *stmt) in handle_pre_loop()
694 static void handle_post_loop(struct statement *stmt) in handle_post_loop()
720 static int empty_statement(struct statement *stmt) in empty_statement()
731 struct statement *stmt; in last_stmt_on_same_line() local
763 static int is_case_val(struct statement *stmt, sval_t sval) in is_case_val()
801 static void split_known_switch(struct statement *stmt, sval_t sval) in split_known_switch()
842 static void split_case(struct statement *stmt) in split_case()
892 struct statement *stmt; in is_last_stmt() local
982 static void split_compound(struct statement *stmt) in split_compound()
[all …]
H A Dcheck_nospec.c176 static int is_nospec_asm(struct statement *stmt) in is_nospec_asm()
190 static void match_asm(struct statement *stmt) in match_asm()
196 static void match_after_nospec_asm(struct statement *stmt) in match_after_nospec_asm()
221 static void match_barrier(struct statement *stmt) in match_barrier()
H A Dsmatch_conditions.c128 static void handle_compound_stmt(struct statement *stmt) in handle_compound_stmt()
158 struct statement *stmt; in handle_preop() local
681 static struct statement *split_then_return_last(struct statement *stmt) in split_then_return_last()
707 struct statement *stmt; in __handle_expr_statement_assigns() local
H A Dcheck_readl_infinite_loops.c123 static void before_loop(struct statement *stmt) in before_loop()
135 static void after_loop(struct statement *stmt) in after_loop()
H A Dcheck_spectre.c35 struct statement *stmt; in is_read() local
68 struct statement *stmt; in is_harmless() local
H A Dsmatch_modification_hooks.c219 static void asm_expr(struct statement *stmt, int late) in asm_expr()
240 static void asm_expr_early(struct statement *stmt) in asm_expr_early()
255 static void asm_expr_late(struct statement *stmt) in asm_expr_late()
H A Dcheck_double_checking.c129 struct statement *stmt; in previous_statement_was_synchronize() local
237 static void after_loop(struct statement *stmt) in after_loop()
H A Dcheck_no_effect.c22 static void match_stmt(struct statement *stmt) in match_stmt()
H A Dcheck_all_func_returns.c30 struct statement *stmt; in check_func_return() local
H A Dcheck_return.c25 struct statement *stmt; in must_check() local
H A Dsmatch_start_states.c31 static void save_start_states(struct statement *stmt) in save_start_states()
H A Dlinearize.c1975 static pseudo_t linearize_compound_statement(struct entrypoint *ep, struct statement *stmt) in linearize_compound_statement()
2003 static pseudo_t linearize_fn_statement(struct entrypoint *ep, struct statement *stmt) in linearize_fn_statement()
2025 static pseudo_t linearize_inlined_call(struct entrypoint *ep, struct statement *stmt) in linearize_inlined_call()
2053 static pseudo_t linearize_context(struct entrypoint *ep, struct statement *stmt) in linearize_context()
2064 static pseudo_t linearize_range(struct entrypoint *ep, struct statement *stmt) in linearize_range()
2107 static pseudo_t linearize_asm_statement(struct entrypoint *ep, struct statement *stmt) in linearize_asm_statement()
2168 static pseudo_t linearize_declaration(struct entrypoint *ep, struct statement *stmt) in linearize_declaration()
2180 static pseudo_t linearize_return(struct entrypoint *ep, struct statement *stmt) in linearize_return()
2195 static pseudo_t linearize_switch(struct entrypoint *ep, struct statement *stmt) in linearize_switch()
2265 static pseudo_t linearize_iterator(struct entrypoint *ep, struct statement *stmt) in linearize_iterator()
[all …]
H A Dexpand.c1064 struct statement *stmt = expr->statement; in expand_expression() local
1134 static void expand_return_expression(struct statement *stmt) in expand_return_expression()
1139 static int expand_if_statement(struct statement *stmt) in expand_if_statement()
1180 static int expand_compound(struct statement *stmt) in expand_compound()
1203 static int expand_statement(struct statement *stmt) in expand_statement()
H A Dcheck_passes_sizeof.c28 struct statement *stmt; in get_returned_expr() local
H A Dcheck_access_ok_math.c91 static void match_asm_stmt(struct statement *stmt) in match_asm_stmt()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_sugar.c315 dt_node_t *stmt = dt_node_statement(dt_node_op2(DT_TOK_ASGN, in dt_sugar_new_clearerror_clause() local
392 dt_node_t *stmt; in dt_sugar_visit_stmts() local

123