Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_off_by_one_relative.c88 const char *equal_name = NULL; in array_check_data_info() local
112 equal_name = comp->right_var; in array_check_data_info()
117 equal_name = comp->left_var; in array_check_data_info()
123 if (equal_name) { in array_check_data_info()
126 sm_warning("potential off by one '%s[]' limit '%s'", array_name, equal_name); in array_check_data_info()
H A Dsmatch_buf_comparison.c424 const char *equal_name = NULL; in array_check_data_info() local
448 equal_name = comp->right_var; in array_check_data_info()
453 equal_name = comp->left_var; in array_check_data_info()
459 if (equal_name) { in array_check_data_info()
462 sm_warning("potential off by one '%s[]' limit '%s'", array_name, equal_name); in array_check_data_info()