Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_param_compare_limit.c100 if (strcmp(left_name, right_name) > 0) { in add_comparison_var_sym()
104 left_name = right_name; in add_comparison_var_sym()
106 right_name = tmp_name; in add_comparison_var_sym()
132 char *right_name = NULL; in __compare_param_limit_hook() local
140 if (!right_name || !right_sym) in __compare_param_limit_hook()
156 free_string(right_name); in __compare_param_limit_hook()
157 right_name = tmp_name; in __compare_param_limit_hook()
171 free_string(right_name); in __compare_param_limit_hook()
311 char *right_name = NULL; in db_return_comparison() local
341 if (!right_name || !right_sym) in db_return_comparison()
[all …]
H A Dcheck_signed_integer_overflow_check.c33 char *right_name; in match_condition() local
60 right_name = expr_to_str(right); in match_condition()
61 …sm_warning("signed overflow undefined. '%s %s %s'", left_name, show_special(expr->op), right_name); in match_condition()
63 free_string(right_name); in match_condition()
H A Dsmatch_assigned_expr.c65 char *right_name = NULL; in match_assignment() local
91 right_name = expr_to_var_sym(expr->right, &right_sym); in match_assignment()
92 if (!right_name || !right_sym) in match_assignment()
95 store_link(link_id, right_name, right_sym, left_name, left_sym); in match_assignment()
99 free_string(right_name); in match_assignment()
H A Dsmatch_return_to_param.c150 char *right_name; in store_mapping_helper() local
177 right_name = expr_to_var_sym(new, &right_sym); in store_mapping_helper()
178 if (!right_name || !right_sym) in store_mapping_helper()
181 set_state(my_id, left_name, left_sym, alloc_my_state(right_name, right_sym)); in store_mapping_helper()
182 store_link(link_id, right_name, right_sym, left_name, left_sym); in store_mapping_helper()
185 free_string(right_name); in store_mapping_helper()
H A Dsmatch_comparison.c1435 left_name = right_name; in add_comparison_var_sym()
1438 right_name = tmp_name; in add_comparison_var_sym()
1461 char *right_name = NULL; in add_comparison() local
1472 if (!right_name) in add_comparison()
1483 left_name = right_name; in add_comparison()
1487 right_name = tmp_name; in add_comparison()
1504 free_string(right_name); in add_comparison()
2158 const char *right_name; in match_call_info() local
2208 if (!right_name) in match_call_info()
2227 const char *right_name; in struct_member_callback() local
[all …]
H A Dsmatch_mtag.c128 char *left_name, *right_name; in get_mtag_return() local
148 right_name = expr_to_str(right); in get_mtag_return()
151 left_name, right_name); in get_mtag_return()
163 free_string(right_name); in get_mtag_return()
H A Dsmatch_struct_assignment.c328 char *left_name = NULL, *right_name = NULL; in copy_containter_states() local
336 right_name = expr_to_var_sym(right, &right_sym); in copy_containter_states()
337 if (!right_name || !right_sym) in copy_containter_states()
343 len = snprintf(buf, sizeof(buf), "%s(-%d)", right_name, offset); in copy_containter_states()
361 free_string(right_name); in copy_containter_states()
H A Dcheck_signed.c40 char *left_name, *right_name; in match_assign() local
61 right_name = expr_to_str(expr->right); in match_assign()
63 right_name, sval_to_numstr(sval), sval_to_numstr(max), left_name); in match_assign()
H A Dsmatch_extra.c1076 char *right_name = NULL; in match_vanilla_assign() local
1098 right_name = expr_to_var_sym(right, &right_sym); in match_vanilla_assign()
1102 right_name && right_sym && in match_vanilla_assign()
1124 right_state = get_state(SMATCH_EXTRA, right_name, right_sym); in match_vanilla_assign()
1161 free_string(right_name); in match_vanilla_assign()
H A Dsmatch_db.c395 void sql_insert_mtag_about(mtag_t tag, const char *left_name, const char *right_name) in sql_insert_mtag_about() argument
399 left_name, right_name); in sql_insert_mtag_about()
H A Dsmatch.h1015 void sql_insert_mtag_about(mtag_t tag, const char *left_name, const char *right_name);
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dmtag_about.schema7 right_name varchar(80),
9 CONSTRAINT mtag_about_row UNIQUE (tag, file, function, line, left_name, right_name)