Home
last modified time | relevance | path

Searched refs:sub_overflow (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/llvm-libc/src/__support/
H A Dmath_extras.h63 [[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 Dbig_int.h574 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 Dmath_extras_test.cpp137 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 Dbig_int_test.cpp767 uint64_t overflow = trunc.sub_overflow(hi); \
/aosp_15_r20/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h51 RECOVERABLE(sub_overflow, OverflowData *Data, ValueHandle LHS, ValueHandle RHS)
/aosp_15_r20/trusty/kernel/lib/ubsan/
H A Dubsan.h185 UBSAN_HANDLER(sub_overflow,
H A Dubsan.c225 UBSAN_HANDLER(sub_overflow, in UBSAN_HANDLER() argument
/aosp_15_r20/external/coreboot/src/lib/
H A Dubsan.c120 ABORT_VARIANT_VP_VP_VP(sub_overflow);