Lines Matching refs:rhs
167 void *rhs, char op) in handle_overflow() argument
182 val_to_string(rhs_val_str, sizeof(rhs_val_str), type, rhs); in handle_overflow()
193 void *lhs, void *rhs) in __ubsan_handle_add_overflow() argument
196 handle_overflow(data, lhs, rhs, '+'); in __ubsan_handle_add_overflow()
201 void *lhs, void *rhs) in __ubsan_handle_sub_overflow() argument
203 handle_overflow(data, lhs, rhs, '-'); in __ubsan_handle_sub_overflow()
208 void *lhs, void *rhs) in __ubsan_handle_mul_overflow() argument
210 handle_overflow(data, lhs, rhs, '*'); in __ubsan_handle_mul_overflow()
234 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument
244 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs); in __ubsan_handle_divrem_overflow()
246 if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1) in __ubsan_handle_divrem_overflow()
360 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument
374 val_to_string(rhs_str, sizeof(rhs_str), rhs_type, rhs); in __ubsan_handle_shift_out_of_bounds()
377 if (val_is_negative(rhs_type, rhs)) in __ubsan_handle_shift_out_of_bounds()
380 else if (get_unsigned_val(rhs_type, rhs) >= in __ubsan_handle_shift_out_of_bounds()