Home
last modified time | relevance | path

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

/external/rust/crates/num-traits/src/ops/
Dchecked.rs63 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/
Dhex.rs1 use num_traits::{CheckedAdd, CheckedMul, FromPrimitive, Zero};
17 I: FromPrimitive + Zero + CheckedAdd + CheckedMul, in decode_hex() argument
/external/angle/src/compiler/translator/
DConstantUnion.cpp48 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/
Dpow.rs3 use {CheckedMul, One};
230 pub fn checked_pow<T: Clone + One + CheckedMul>(mut base: T, mut exp: usize) -> Option<T> { in checked_pow()
Dint.rs51 + CheckedMul<Output = Self>
Dlib.rs41 CheckedAdd, CheckedDiv, CheckedMul, CheckedNeg, CheckedRem, CheckedShl, CheckedShr, CheckedSub,
/external/angle/src/common/third_party/base/anglebase/numerics/
Dsafe_math_impl.h222 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/
DCheckedArithmeticTest.cpp26 TEST(CheckedArithmetic, CheckedMul) { in TEST() argument