Home
last modified time | relevance | path

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

/third_party/gn/src/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 …]
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dchecked_math_impl.h33 using UnsignedDst = typename std::make_unsigned<T>::type; in CheckedAddImpl() local
35 const UnsignedDst ux = static_cast<UnsignedDst>(x); in CheckedAddImpl()
36 const UnsignedDst uy = static_cast<UnsignedDst>(y); in CheckedAddImpl()
37 const UnsignedDst uresult = static_cast<UnsignedDst>(ux + uy); in CheckedAddImpl()
103 using UnsignedDst = typename std::make_unsigned<T>::type;
105 const UnsignedDst ux = static_cast<UnsignedDst>(x);
106 const UnsignedDst uy = static_cast<UnsignedDst>(y);
107 const UnsignedDst uresult = static_cast<UnsignedDst>(ux - uy);
172 using UnsignedDst = typename std::make_unsigned<T>::type;
174 const UnsignedDst ux = SafeUnsignedAbs(x);
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_math_impl.h161 typedef typename UnsignedIntegerForSize<T>::type UnsignedDst;
162 UnsignedDst ux = static_cast<UnsignedDst>(x);
163 UnsignedDst uy = static_cast<UnsignedDst>(y);
164 UnsignedDst uresult = static_cast<UnsignedDst>(ux + uy);
169 if (HasSignBit(BinaryComplement(static_cast<UnsignedDst>((uresult ^ ux) & (uresult ^ uy)))))
191 typedef typename UnsignedIntegerForSize<T>::type UnsignedDst;
192 UnsignedDst ux = static_cast<UnsignedDst>(x);
193 UnsignedDst uy = static_cast<UnsignedDst>(y);
194 UnsignedDst uresult = static_cast<UnsignedDst>(ux - uy);
199 if (HasSignBit(BinaryComplement(static_cast<UnsignedDst>((uresult ^ ux) & (ux ^ uy)))))