/aosp_15_r20/external/trusty/arm-trusted-firmware/lib/transfer_list/ |
D | transfer_list.c | 235 if (add_overflow(last->hdr_size, last->data_size, &sz)) { in transfer_list_next() 250 add_overflow(te->hdr_size, te->data_size, &sz) || in transfer_list_next() 251 add_overflow(va, sz, &ev) || ev > tl_ev) { in transfer_list_next() 334 if (add_overflow(te->hdr_size, te->data_size, &sz) || in transfer_list_set_data_size() 339 if (add_overflow(te->hdr_size, new_data_size, &sz) || in transfer_list_set_data_size() 421 if (add_overflow(sizeof(*te), data_size, &sz) || in transfer_list_add()
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/include/lib/ |
D | utils_def.h | 114 #define add_overflow(a, b, res) __builtin_add_overflow((a), (b), (res)) macro 127 add_overflow((v), __roundup_mask, &__roundup_tmp) ? 1 : \ 141 add_overflow((__a), (b), &__add_res) ? 1 : \
|
/aosp_15_r20/external/llvm-libc/src/__support/ |
H A D | math_extras.h | 57 [[nodiscard]] LIBC_INLINE constexpr bool add_overflow(T a, T b, T &res) { in add_overflow() function 91 T carry1 = add_overflow(a, b, sum); in add_with_carry() 92 T carry2 = add_overflow(sum, carry_in, sum); in add_with_carry()
|
H A D | big_int.h | 549 LIBC_INLINE constexpr WordType add_overflow(const BigInt &rhs) { 555 result.add_overflow(other); 563 other.add_overflow(*this); // Returned carry value is ignored. 568 add_overflow(other); // Returned carry value is ignored.
|
H A D | freelist_heap.h | 102 if (add_overflow(size, (alignment - 1) + Block::ALIGNMENT, request_size)) in allocate_impl()
|
/aosp_15_r20/external/llvm-libc/test/src/__support/ |
H A D | math_extras_test.cpp | 112 TYPED_TEST(LlvmLibcBlockMathExtrasTest, add_overflow, UnsignedTypes) { in TYPED_TEST() argument 131 bool carry = add_overflow<T>(tc.lhs, tc.rhs, sum); in TYPED_TEST()
|
/aosp_15_r20/external/cronet/third_party/libc++abi/src/src/ |
H A D | cxa_vector.cpp | 138 bool add_overflow(size_t x, size_t y, size_t *res) { in add_overflow() function 156 if (add_overflow(element_heap_size, padding_size, &allocation_size)) in calculate_allocation_size_or_throw()
|
/aosp_15_r20/external/squashfs-tools/squashfs-tools/ |
H A D | unsquashfs.c | 157 int add_overflow(int a, int b) in add_overflow() function 182 if(add_overflow(size, 1) || in queue_init() 2221 if(add_overflow(processors, 3) || in initialise_threads() 2300 if(add_overflow(data_buffer_size, max_files) || in initialise_threads() 2301 add_overflow(data_buffer_size, max_files * 2)) in initialise_threads() 2310 if(add_overflow(fragment_buffer_size, data_buffer_size)) in initialise_threads() 2316 if(add_overflow(all_buffers_size, all_buffers_size)) in initialise_threads()
|
H A D | caches-queues-lists.c | 33 extern int add_overflow(int, int); 46 if(add_overflow(size, 1) || in queue_init()
|
H A D | mksquashfs.c | 397 int add_overflow(int a, int b) in add_overflow() function 4373 if(add_overflow(total_mem, fragq)) in initialise_threads() 4376 if(add_overflow(total_mem, bwriteq)) in initialise_threads() 4379 if(add_overflow(total_mem, fwriteq)) in initialise_threads()
|
/aosp_15_r20/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 48 RECOVERABLE(add_overflow, OverflowData *Data, ValueHandle LHS, ValueHandle RHS)
|
/aosp_15_r20/external/swiftshader/third_party/subzero/src/ |
H A D | IceUtils.h | 72 inline bool add_overflow(uint32_t x, uint32_t y, uint32_t *sum) { in add_overflow() function
|
H A D | IceOperand.h | 585 if (Utils::add_overflow(Weight, Delta, &Weight) || Weight == Inf) in addWeight()
|
/aosp_15_r20/trusty/kernel/lib/ubsan/ |
H A D | ubsan.h | 181 UBSAN_HANDLER(add_overflow,
|
H A D | ubsan.c | 218 UBSAN_HANDLER(add_overflow, in UBSAN_HANDLER() argument
|
/aosp_15_r20/external/coreboot/src/lib/ |
H A D | ubsan.c | 106 ABORT_VARIANT_VP_VP_VP(add_overflow);
|
/aosp_15_r20/external/llvm-libc/src/__support/FPUtil/ |
H A D | dyadic_float.h | 412 if (result.mantissa.add_overflow(b.mantissa)) { in quick_add()
|