Lines Matching refs:rhs
166 void *rhs, char op) in handle_overflow() argument
180 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()
236 void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument
246 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs); in __ubsan_handle_divrem_overflow()
248 if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1) in __ubsan_handle_divrem_overflow()
370 void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument
383 val_to_string(rhs_str, sizeof(rhs_str), rhs_type, rhs); in __ubsan_handle_shift_out_of_bounds()
386 if (val_is_negative(rhs_type, rhs)) in __ubsan_handle_shift_out_of_bounds()
389 else if (get_unsigned_val(rhs_type, rhs) >= in __ubsan_handle_shift_out_of_bounds()