Lines Matching refs:rhs
162 void *rhs, char op) in handle_overflow() argument
175 val_to_string(rhs_val_str, sizeof(rhs_val_str), type, rhs); in handle_overflow()
188 void *lhs, void *rhs) in __ubsan_handle_add_overflow() argument
191 handle_overflow(data, lhs, rhs, '+'); in __ubsan_handle_add_overflow()
196 void *lhs, void *rhs) in __ubsan_handle_sub_overflow() argument
198 handle_overflow(data, lhs, rhs, '-'); in __ubsan_handle_sub_overflow()
203 void *lhs, void *rhs) in __ubsan_handle_mul_overflow() argument
205 handle_overflow(data, lhs, rhs, '*'); in __ubsan_handle_mul_overflow()
230 void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument
239 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs); in __ubsan_handle_divrem_overflow()
241 if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1) in __ubsan_handle_divrem_overflow()
356 void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument
369 val_to_string(rhs_str, sizeof(rhs_str), rhs_type, rhs); in __ubsan_handle_shift_out_of_bounds()
372 if (val_is_negative(rhs_type, rhs)) in __ubsan_handle_shift_out_of_bounds()
375 else if (get_unsigned_val(rhs_type, rhs) >= in __ubsan_handle_shift_out_of_bounds()