/third_party/node/deps/v8/src/base/ |
D | safe_conversions_impl.h | 587 struct UnderlyingType { 596 struct UnderlyingType<CheckedNumeric<T>> { 605 struct UnderlyingType<ClampedNumeric<T>> { 614 struct UnderlyingType<StrictNumeric<T>> { 625 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 626 (UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 632 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 633 (UnderlyingType<L>::is_clamped || UnderlyingType<R>::is_clamped) && 634 !(UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 640 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && [all …]
|
D | safe_conversions.h | 100 using SrcType = typename internal::UnderlyingType<Src>::type; 117 using SrcType = typename internal::UnderlyingType<Src>::type; 212 using SrcType = typename UnderlyingType<Src>::type; 229 using SrcType = typename UnderlyingType<Src>::type; 230 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric."); 315 constexpr StrictNumeric<typename UnderlyingType<T>::type> MakeStrictNum( 334 return SafeCompare<NAME, typename UnderlyingType<L>::type, \ 335 typename UnderlyingType<R>::type>(lhs, rhs); \
|
/third_party/gn/src/base/numerics/ |
D | safe_conversions_impl.h | 607 struct UnderlyingType { 616 struct UnderlyingType<CheckedNumeric<T>> { 625 struct UnderlyingType<ClampedNumeric<T>> { 634 struct UnderlyingType<StrictNumeric<T>> { 645 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 646 (UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 652 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 653 (UnderlyingType<L>::is_clamped || UnderlyingType<R>::is_clamped) && 654 !(UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 660 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && [all …]
|
D | safe_conversions.h | 84 using SrcType = typename internal::UnderlyingType<Src>::type; 102 using SrcType = typename internal::UnderlyingType<Src>::type; 188 using SrcType = typename UnderlyingType<Src>::type; 205 using SrcType = typename UnderlyingType<Src>::type; 206 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric."); 292 constexpr StrictNumeric<typename UnderlyingType<T>::type> MakeStrictNum( 309 return SafeCompare<NAME, typename UnderlyingType<L>::type, \ 310 typename UnderlyingType<R>::type>(lhs, rhs); \
|
D | clamped_math.h | 54 constexpr ClampedNumeric<typename UnderlyingType<Dst>::type> Cast() const { in Cast() 182 return static_cast<typename UnderlyingType<Src>::type>(value); in value() 190 constexpr ClampedNumeric<typename UnderlyingType<T>::type> MakeClampedNum( in MakeClampedNum()
|
D | checked_math.h | 108 constexpr CheckedNumeric<typename UnderlyingType<Dst>::type> Cast() const { in Cast() 167 using R = typename UnderlyingType<U>::type; in Max() 182 using R = typename UnderlyingType<U>::type; in Min() 312 constexpr CheckedNumeric<typename UnderlyingType<T>::type> MakeCheckedNum(
|
D | safe_math_shared_impl.h | 170 using math = M<typename UnderlyingType<L>::type, 171 typename UnderlyingType<R>::type,
|
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
D | safe_conversions_impl.h | 632 struct UnderlyingType 642 struct UnderlyingType<CheckedNumeric<T>> 652 struct UnderlyingType<ClampedNumeric<T>> 662 struct UnderlyingType<StrictNumeric<T>> 674 static const bool value = UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 675 (UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 681 static const bool value = UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 682 (UnderlyingType<L>::is_clamped || UnderlyingType<R>::is_clamped) && 683 !(UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 689 static const bool value = UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && [all …]
|
D | safe_conversions.h | 104 using SrcType = typename internal::UnderlyingType<Src>::type; 118 using SrcType = typename internal::UnderlyingType<Src>::type; 217 using SrcType = typename UnderlyingType<Src>::type; 233 using SrcType = typename UnderlyingType<Src>::type; 234 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric."); 323 constexpr StrictNumeric<typename UnderlyingType<T>::type> MakeStrictNum(const T value) 343 return SafeCompare<NAME, typename UnderlyingType<L>::type, \ 344 typename UnderlyingType<R>::type>(lhs, rhs); \
|
D | clamped_math.h | 59 constexpr ClampedNumeric<typename UnderlyingType<Dst>::type> Cast() const in Cast() 193 return static_cast<typename UnderlyingType<Src>::type>(value); in value() 201 constexpr ClampedNumeric<typename UnderlyingType<T>::type> MakeClampedNum(const T value) in MakeClampedNum()
|
D | safe_math_shared_impl.h | 190 using math = M<typename UnderlyingType<L>::type, typename UnderlyingType<R>::type, void>;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | BinaryStream.h | 73 using UnderlyingType = typename std::underlying_type<EnumT>::type; in readEnum() local 74 return static_cast<EnumT>(readInt<UnderlyingType>()); in readEnum() 242 using UnderlyingType = typename std::underlying_type<EnumT>::type; in writeEnum() local 243 writeInt<UnderlyingType>(static_cast<UnderlyingType>(param)); in writeEnum()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | PackedEnums.h | 30 using UnderlyingType = typename std::underlying_type<E>::type; in EnumSize() local 31 return static_cast<UnderlyingType>(E::EnumCount); in EnumSize() 44 using UnderlyingType = typename std::underlying_type<E>::type; 47 EnumIterator(E value) : mValue(static_cast<UnderlyingType>(value)) {} in EnumIterator() 58 UnderlyingType mValue; 73 using UnderlyingType = typename std::underlying_type<E>::type; variable 90 mPrivateData)[static_cast<UnderlyingType>(it->first)]) = it->second; 92 mPrivateData[static_cast<UnderlyingType>(it->first)] = it->second; 136 return mPrivateData[static_cast<UnderlyingType>(n)]; 142 return mPrivateData[static_cast<UnderlyingType>(n)]; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbol.h | 76 using UnderlyingType = uint8_t; 79 enum FlagNames : UnderlyingType { 150 UnderlyingType getRawFlagsValue() const { in getRawFlagsValue() 151 return static_cast<UnderlyingType>(Flags); in getRawFlagsValue()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | TypedIntegerTests.cpp | 148 TEST_F(TypedIntegerTest, UnderlyingType) { in TEST_F() argument 149 static_assert(std::is_same<UnderlyingType<Unsigned>, uint32_t>::value, ""); in TEST_F() 150 static_assert(std::is_same<UnderlyingType<Signed>, int32_t>::value, ""); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeTypeEnum.cpp | 299 const auto UnderlyingType = in getLength() local 301 return UnderlyingType ? UnderlyingType->getLength() : 0; in getLength()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | UnderlyingType.h | 49 using UnderlyingType = typename detail::UnderlyingTypeImpl<T>::type;
|
D | ityp_span.h | 31 using I = UnderlyingType<Index>;
|
D | ityp_stack_vec.h | 26 using I = UnderlyingType<Index>;
|
D | ityp_array.h | 33 using I = UnderlyingType<Index>;
|
D | ityp_vector.h | 30 using I = UnderlyingType<Index>;
|
D | CMakeLists.txt | 57 "UnderlyingType.h"
|
D | ityp_bitset.h | 28 using I = UnderlyingType<Index>;
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | EmulatedIntrinsics.cpp | 27 struct UnderlyingType struct 33 using UnderlyingTypeT = typename UnderlyingType<T>::Type;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeRecord.h | 529 StringRef Name, StringRef UniqueName, TypeIndex UnderlyingType) in EnumRecord() argument 532 UnderlyingType(UnderlyingType) {} in EnumRecord() 534 TypeIndex getUnderlyingType() const { return UnderlyingType; } in getUnderlyingType() 536 TypeIndex UnderlyingType; variable
|