Searched refs:sub_overflow (Results 1 – 8 of 8) sorted by relevance
/aosp_15_r20/external/llvm-libc/src/__support/ |
H A D | math_extras.h | 63 [[nodiscard]] LIBC_INLINE constexpr bool sub_overflow(T a, T b, T &res) { in sub_overflow() function 117 T carry1 = sub_overflow(a, b, sub); in sub_with_borrow() 118 T carry2 = sub_overflow(sub, carry_in, sub); in sub_with_borrow()
|
H A D | big_int.h | 574 LIBC_INLINE constexpr WordType sub_overflow(const BigInt &rhs) { 580 result.sub_overflow(other); // Returned carry value is ignored. 586 result.sub_overflow(other); // Returned carry value is ignored. 592 sub_overflow(other); // Returned carry value is ignored.
|
/aosp_15_r20/external/llvm-libc/test/src/__support/ |
H A D | math_extras_test.cpp | 137 TYPED_TEST(LlvmLibcBlockMathExtrasTest, sub_overflow, UnsignedTypes) { in TYPED_TEST() argument 156 bool carry = sub_overflow<T>(tc.lhs, tc.rhs, sub); in TYPED_TEST()
|
H A D | big_int_test.cpp | 767 uint64_t overflow = trunc.sub_overflow(hi); \
|
/aosp_15_r20/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 51 RECOVERABLE(sub_overflow, OverflowData *Data, ValueHandle LHS, ValueHandle RHS)
|
/aosp_15_r20/trusty/kernel/lib/ubsan/ |
H A D | ubsan.h | 185 UBSAN_HANDLER(sub_overflow,
|
H A D | ubsan.c | 225 UBSAN_HANDLER(sub_overflow, in UBSAN_HANDLER() argument
|
/aosp_15_r20/external/coreboot/src/lib/ |
H A D | ubsan.c | 120 ABORT_VARIANT_VP_VP_VP(sub_overflow);
|