Home
last modified time | relevance | path

Searched refs:__builtin_mul_overflow (Results 1 – 25 of 41) sorted by relevance

12

/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DPseudoRandom.h42 #if __has_builtin(__builtin_mul_overflow) && __has_builtin(__builtin_add_overflow) in nextRandomInteger()
45 __builtin_mul_overflow(mSeed, (int64_t)6364136223846793005, &prod); in nextRandomInteger()
/external/bcc/libbpf-tools/
Dcompat.h35 #if __has_builtin(__builtin_mul_overflow) in libbpf_reallocarray()
36 if (__builtin_mul_overflow(nmemb, size, &total)) in libbpf_reallocarray()
/external/llvm-libc/src/__support/
Dmemory_size.h22 #if __has_builtin(__builtin_mul_overflow) in mul_overflow()
23 return __builtin_mul_overflow(a, b, res); in mul_overflow()
/external/clang/test/CodeGen/
Dbuiltins-overflow.c81 if (__builtin_mul_overflow(x, y, &r)) in test_mul_overflow_uint_uint_uint()
95 if (__builtin_mul_overflow(x, y, &r)) in test_mul_overflow_int_int_int()
/external/llvm-libc/include/llvm-libc-macros/
Dstdckdint-macros.h22 #define ckd_mul(R, A, B) __builtin_mul_overflow((A), (B), (R))
/external/pcre/src/
Dpcre2_chkdint.c71 if (__builtin_mul_overflow(a, b, &m)) return TRUE; in PRIV()
/external/cronet/third_party/libc++abi/src/src/
Dcxa_vector.cpp129 #if (defined(_LIBCXXABI_COMPILER_CLANG) && __has_builtin(__builtin_mul_overflow)) \ in mul_overflow()
131 return __builtin_mul_overflow(x, y, res); in mul_overflow()
/external/libbpf/include/linux/
Doverflow.h32 __builtin_mul_overflow(__a, __b, __d); \
/external/pigweed/pw_preprocessor/public/pw_preprocessor/
Dcompiler.h261 #define PW_MUL_OVERFLOW(a, b, out) __builtin_mul_overflow(a, b, out)
/external/cronet/third_party/libc++/src/include/__mdspan/
Dlayout_stride.h86 bool __overflowed = __builtin_mul_overflow(__prod, __ext.extent(__r), &__prod); in __required_span_size_is_representable()
110 …bool __overflowed_mul = __builtin_mul_overflow(__prod, static_cast<index_type>(__strides[__r]), &_… in __required_span_size_is_representable()
Dlayout_left.h63 bool __overflowed = __builtin_mul_overflow(__prod, __ext.extent(__r), &__prod); in __required_span_size_is_representable()
Dlayout_right.h62 bool __overflowed = __builtin_mul_overflow(__prod, __ext.extent(__r), &__prod); in __required_span_size_is_representable()
Dmdspan.h222 return (__builtin_mul_overflow(__prod, extent(_Idxs), &__prod) || ... || false); in size()
/external/virglrenderer/src/drm/linux/
Doverflow.h91 __builtin_mul_overflow(__a, __b, __d); \
/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/
DCustomTestLayouts.h70 bool overflowed = __builtin_mul_overflow(prod, std::min(ext.extent(r), Wrap), &prod); in required_span_size_is_representable()
233 bool overflowed = __builtin_mul_overflow(prod, ext.extent(r), &prod); in required_span_size_is_representable()
/external/libbpf/src/
Dlibbpf_internal.h184 #if __has_builtin(__builtin_mul_overflow) in libbpf_reallocarray()
185 if (unlikely(__builtin_mul_overflow(nmemb, size, &total))) in libbpf_reallocarray()
/external/pdfium/third_party/base/numerics/
Dsafe_math_clang_gcc_impl.h107 : !__builtin_mul_overflow(x, y, result); in Do()
/external/angle/src/common/base/anglebase/numerics/
Dsafe_math_clang_gcc_impl.h122 : !__builtin_mul_overflow(x, y, result); in Do()
/external/cronet/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/numerics/
Dsafe_math_clang_gcc_impl.h105 : !__builtin_mul_overflow(x, y, result); in Do()
/external/libchrome/base/numerics/
Dsafe_math_clang_gcc_impl.h106 : !__builtin_mul_overflow(x, y, result); in Do()
/external/cronet/base/numerics/
Dsafe_math_clang_gcc_impl.h106 : !__builtin_mul_overflow(x, y, result); in Do()
/external/cronet/third_party/libc++/src/include/__charconv/
Dtraits.h144 return __builtin_mul_overflow(__a, __b, &__r);
/external/libopus/silk/
DSigProc_FIX.h469 __builtin_mul_overflow(b, c, &_d); in silk_MLA_ovflw()
/external/curl/src/
Dtool_urlglob.c78 if(__builtin_mul_overflow(*amount, with, &sum)) in multiply()
/external/harfbuzz_ng/src/
Dhb-algs.hh1029 #if hb_has_builtin(__builtin_mul_overflow) in hb_unsigned_mul_overflows()
1033 return __builtin_mul_overflow (count, size, result); in hb_unsigned_mul_overflows()

12