Searched refs:CheckedMul (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/num-traits/src/ops/ |
D | checked.rs | 63 pub trait CheckedMul: Sized + Mul<Self, Output = Self> { trait 69 checked_impl!(CheckedMul, checked_mul, u8); 70 checked_impl!(CheckedMul, checked_mul, u16); 71 checked_impl!(CheckedMul, checked_mul, u32); 72 checked_impl!(CheckedMul, checked_mul, u64); 73 checked_impl!(CheckedMul, checked_mul, usize); 75 checked_impl!(CheckedMul, checked_mul, u128); 77 checked_impl!(CheckedMul, checked_mul, i8); 78 checked_impl!(CheckedMul, checked_mul, i16); 79 checked_impl!(CheckedMul, checked_mul, 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() argument
|
/external/angle/src/compiler/translator/ |
D | ConstantUnion.cpp | 48 float CheckedMul(float lhs, float rhs, TDiagnostics *diag, const TSourceLoc &line) in CheckedMul() function 497 returnValue.setFConst(CheckedMul(lhs.fConst, rhs.fConst, diag, line)); in mul() 506 returnValue.setFConst(CheckedMul(lhs.getFConst(), rhs.getFConst(), diag, line)); in mul()
|
/external/rust/crates/num-traits/src/ |
D | pow.rs | 3 use {CheckedMul, One}; 230 pub fn checked_pow<T: Clone + One + CheckedMul>(mut base: T, mut exp: usize) -> Option<T> { in checked_pow()
|
D | int.rs | 51 + CheckedMul<Output = Self>
|
D | lib.rs | 41 CheckedAdd, CheckedDiv, CheckedMul, CheckedNeg, CheckedRem, CheckedShl, CheckedShr, CheckedSub,
|
/external/angle/src/common/third_party/base/anglebase/numerics/ |
D | safe_math_impl.h | 222 CheckedMul(T x, T y, RangeConstraint *validity) 234 CheckedMul(T x, T y, RangeConstraint *validity) 264 CheckedMul(T x, T y, RangeConstraint *validity)
|
/external/llvm-project/llvm/unittests/Support/ |
D | CheckedArithmeticTest.cpp | 26 TEST(CheckedArithmetic, CheckedMul) { in TEST() argument
|