Home
last modified time | relevance | path

Searched refs:UnsignedDst (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/numerics/
Dchecked_math_impl.h28 using UnsignedDst = typename std::make_unsigned<T>::type; in CheckedAddImpl() local
30 UnsignedDst ux = static_cast<UnsignedDst>(x); in CheckedAddImpl()
31 UnsignedDst uy = static_cast<UnsignedDst>(y); in CheckedAddImpl()
32 UnsignedDst uresult = static_cast<UnsignedDst>(ux + uy); in CheckedAddImpl()
88 using UnsignedDst = typename std::make_unsigned<T>::type;
90 UnsignedDst ux = static_cast<UnsignedDst>(x);
91 UnsignedDst uy = static_cast<UnsignedDst>(y);
92 UnsignedDst uresult = static_cast<UnsignedDst>(ux - uy);
148 using UnsignedDst = typename std::make_unsigned<T>::type;
150 const UnsignedDst ux = SafeUnsignedAbs(x);
[all …]
/external/v8/src/base/
Dsafe_math_impl.h148 typedef typename UnsignedIntegerForSize<T>::type UnsignedDst;
149 UnsignedDst ux = static_cast<UnsignedDst>(x);
150 UnsignedDst uy = static_cast<UnsignedDst>(y);
151 UnsignedDst uresult = ux + uy;
171 typedef typename UnsignedIntegerForSize<T>::type UnsignedDst;
172 UnsignedDst ux = static_cast<UnsignedDst>(x);
173 UnsignedDst uy = static_cast<UnsignedDst>(y);
174 UnsignedDst uresult = ux - uy;
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h60 using UnsignedDst = typename std::make_unsigned<T>::type;
62 auto ux = static_cast<UnsignedDst>(x);
63 auto uy = static_cast<UnsignedDst>(y);
64 auto uresult = static_cast<UnsignedDst>(ux + uy);
111 using UnsignedDst = typename std::make_unsigned<T>::type;
113 auto ux = static_cast<UnsignedDst>(x);
114 auto uy = static_cast<UnsignedDst>(y);
115 auto uresult = static_cast<UnsignedDst>(ux - uy);
162 using UnsignedDst = typename std::make_unsigned<T>::type;
164 const UnsignedDst ux = SafeUnsignedAbs(x);
[all …]