/external/rust/crates/num-traits/src/ops/ |
D | checked.rs | 5 pub trait CheckedAdd: Sized + Add<Self, Output = Self> { interface 22 checked_impl!(CheckedAdd, checked_add, u8); 23 checked_impl!(CheckedAdd, checked_add, u16); 24 checked_impl!(CheckedAdd, checked_add, u32); 25 checked_impl!(CheckedAdd, checked_add, u64); 26 checked_impl!(CheckedAdd, checked_add, usize); 28 checked_impl!(CheckedAdd, checked_add, u128); 30 checked_impl!(CheckedAdd, checked_add, i8); 31 checked_impl!(CheckedAdd, checked_add, i16); 32 checked_impl!(CheckedAdd, checked_add, i32); [all …]
|
/external/rust/crates/gdbstub/src/protocol/common/ |
D | hex.rs | 1 use num_traits::{CheckedAdd, CheckedMul, FromPrimitive, Zero}; 17 I: FromPrimitive + Zero + CheckedAdd + CheckedMul, in decode_hex()
|
/external/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 436 static inline uintptr_t CheckedAdd(uintptr_t a, uintptr_t b) { in CheckedAdd() function 445 return CheckedAdd(addr, align - 1) & ~(align - 1); in RoundUp() 530 size_t req_rnd = RoundUp(CheckedAdd(request, sizeof (s->header)), in DoAllocWithArena() 585 if (CheckedAdd(req_rnd, arena->min_size) <= s->header.size) { in DoAllocWithArena()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 436 static inline uintptr_t CheckedAdd(uintptr_t a, uintptr_t b) { in CheckedAdd() function 445 return CheckedAdd(addr, align - 1) & ~(align - 1); in RoundUp() 530 size_t req_rnd = RoundUp(CheckedAdd(request, sizeof (s->header)), in DoAllocWithArena() 585 if (CheckedAdd(req_rnd, arena->min_size) <= s->header.size) { in DoAllocWithArena()
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | low_level_alloc.cc | 436 static inline uintptr_t CheckedAdd(uintptr_t a, uintptr_t b) { in CheckedAdd() function 445 return CheckedAdd(addr, align - 1) & ~(align - 1); in RoundUp() 530 size_t req_rnd = RoundUp(CheckedAdd(request, sizeof (s->header)), in DoAllocWithArena() 585 if (CheckedAdd(req_rnd, arena->min_size) <= s->header.size) { in DoAllocWithArena()
|
/external/angle/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 436 static inline uintptr_t CheckedAdd(uintptr_t a, uintptr_t b) { in CheckedAdd() function 445 return CheckedAdd(addr, align - 1) & ~(align - 1); in RoundUp() 530 size_t req_rnd = RoundUp(CheckedAdd(request, sizeof (s->header)), in DoAllocWithArena() 585 if (CheckedAdd(req_rnd, arena->min_size) <= s->header.size) { in DoAllocWithArena()
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 436 static inline uintptr_t CheckedAdd(uintptr_t a, uintptr_t b) { in CheckedAdd() function 445 return CheckedAdd(addr, align - 1) & ~(align - 1); in RoundUp() 530 size_t req_rnd = RoundUp(CheckedAdd(request, sizeof (s->header)), in DoAllocWithArena() 585 if (CheckedAdd(req_rnd, arena->min_size) <= s->header.size) { in DoAllocWithArena()
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 436 static inline uintptr_t CheckedAdd(uintptr_t a, uintptr_t b) { in CheckedAdd() function 445 return CheckedAdd(addr, align - 1) & ~(align - 1); in RoundUp() 530 size_t req_rnd = RoundUp(CheckedAdd(request, sizeof (s->header)), in DoAllocWithArena() 585 if (CheckedAdd(req_rnd, arena->min_size) <= s->header.size) { in DoAllocWithArena()
|
/external/rust/crates/num-traits/src/ |
D | int.rs | 49 + CheckedAdd<Output = Self>
|
D | lib.rs | 41 CheckedAdd, CheckedDiv, CheckedMul, CheckedNeg, CheckedRem, CheckedShl, CheckedShr, CheckedSub,
|
/external/llvm-project/llvm/unittests/Support/ |
D | CheckedArithmeticTest.cpp | 8 TEST(CheckedArithmetic, CheckedAdd) { in TEST() argument
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | while_loop_analysis.cc | 347 optional<int64> CheckedAdd(int64 a, int64 b) { in CheckedAdd() function 458 trips = CheckedAdd(*trips, 1); in PatternMatchLoopTripCount()
|
/external/angle/src/common/third_party/base/anglebase/numerics/ |
D | safe_math_impl.h | 157 CheckedAdd(T x, T y, RangeConstraint *validity)
|