Searched refs:right_p (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_extra.c | 1778 static void move_known_values(struct expression **left_p, struct expression **right_p) in move_known_values() argument 1781 struct expression *right = *right_p; in move_known_values() 1797 *right_p = right->left; in move_known_values() 1802 *right_p = right->right; in move_known_values() 1807 *right_p = right->left; in move_known_values() 1824 *right_p = binop_expression(right, invert_op(left->op), left->right); in move_known_values() 1829 *right_p = binop_expression(right, invert_op(left->op), left->left); in move_known_values() 1835 *right_p = binop_expression(right, invert_op(left->op), left->right); in move_known_values() 1850 static int do_simple_algebra(struct expression **left_p, struct expression **right_p) in do_simple_algebra() argument 1853 struct expression *right = *right_p; in do_simple_algebra() [all …]
|
H A D | smatch_comparison.c | 1230 static void move_plus_to_minus_helper(struct expression **left_p, struct expression **right_p) in move_plus_to_minus_helper() argument 1233 struct expression *right = *right_p; in move_plus_to_minus_helper() 1247 *right_p = binop_expression(right, '-', left->right); in move_plus_to_minus_helper() 1250 static void move_plus_to_minus(struct expression **left_p, struct expression **right_p) in move_plus_to_minus() argument 1252 if (is_plus_one(*left_p) && is_plus_one(*right_p)) in move_plus_to_minus() 1255 move_plus_to_minus_helper(left_p, right_p); in move_plus_to_minus() 1256 move_plus_to_minus_helper(right_p, left_p); in move_plus_to_minus()
|