/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | EnumsGen.cpp | 41 StringRef underlyingType, StringRef description, in emitEnumClass() argument 47 if (!underlyingType.empty()) in emitEnumClass() 48 os << " : " << underlyingType; in emitEnumClass() 63 static void emitDenseMapInfo(StringRef enumName, std::string underlyingType, in emitDenseMapInfo() argument 67 if (underlyingType.empty()) in emitDenseMapInfo() 68 underlyingType = in emitDenseMapInfo() 93 os << formatv(mapInfo, qualName, underlyingType); in emitDenseMapInfo() 138 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitOperators() local 142 enumName, underlyingType) in emitOperators() 147 enumName, underlyingType) in emitOperators() [all …]
|
/external/pdfium/third_party/base/numerics/ |
D | safe_conversions_impl.h | 606 struct UnderlyingType { 615 struct UnderlyingType<CheckedNumeric<T>> { 624 struct UnderlyingType<ClampedNumeric<T>> { 633 struct UnderlyingType<StrictNumeric<T>> { 644 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 645 (UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 651 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 652 (UnderlyingType<L>::is_clamped || UnderlyingType<R>::is_clamped) && 653 !(UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 659 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && [all …]
|
D | safe_conversions.h | 90 using SrcType = typename internal::UnderlyingType<Src>::type; 108 using SrcType = typename internal::UnderlyingType<Src>::type; 203 using SrcType = typename UnderlyingType<Src>::type; 220 using SrcType = typename UnderlyingType<Src>::type; 221 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric."); 307 constexpr StrictNumeric<typename UnderlyingType<T>::type> MakeStrictNum( 324 return SafeCompare<NAME, typename UnderlyingType<L>::type, \ 325 typename UnderlyingType<R>::type>(lhs, rhs); \
|
/external/libchrome/base/numerics/ |
D | safe_conversions_impl.h | 605 struct UnderlyingType { 614 struct UnderlyingType<CheckedNumeric<T>> { 623 struct UnderlyingType<ClampedNumeric<T>> { 632 struct UnderlyingType<StrictNumeric<T>> { 643 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 644 (UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 650 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && 651 (UnderlyingType<L>::is_clamped || UnderlyingType<R>::is_clamped) && 652 !(UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked); 658 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric && [all …]
|
D | safe_conversions.h | 89 using SrcType = typename internal::UnderlyingType<Src>::type; 107 using SrcType = typename internal::UnderlyingType<Src>::type; 193 using SrcType = typename UnderlyingType<Src>::type; 210 using SrcType = typename UnderlyingType<Src>::type; 211 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric."); 297 constexpr StrictNumeric<typename UnderlyingType<T>::type> MakeStrictNum( 314 return SafeCompare<NAME, typename UnderlyingType<L>::type, \ 315 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(
|
/external/llvm-project/llvm/tools/llvm-pdbutil/ |
D | PrettyEnumDumper.cpp | 40 auto UnderlyingType = Symbol.getUnderlyingType(); in start() local 41 if (!UnderlyingType) in start() 43 if (UnderlyingType->getBuiltinType() != PDB_BuiltinType::Int || in start() 44 UnderlyingType->getLength() != 4) { in start() 47 Dumper.start(*UnderlyingType); in start()
|
/external/webrtc/rtc_base/numerics/ |
D | safe_minmax.h | 100 struct UnderlyingType; 103 struct UnderlyingType<T, false> { 108 struct UnderlyingType<T, true> { 198 typename safe_minmax_impl::UnderlyingType<T1>::type, 199 typename safe_minmax_impl::UnderlyingType<T2>::type>::min_t>::type> 215 typename safe_minmax_impl::UnderlyingType<T1>::type, 216 typename safe_minmax_impl::UnderlyingType<T2>::type>::max_t>::type> 317 typename safe_minmax_impl::UnderlyingType<T>::type, 318 typename safe_minmax_impl::UnderlyingType<L>::type, 319 typename safe_minmax_impl::UnderlyingType<H>::type>::type>::type>
|
/external/llvm-project/clang/include/clang/AST/ |
D | TypeProperties.td | 393 def : Property<"underlyingType", QualType> { 398 return ctx.getTypeOfType(underlyingType); 403 def : Property<"underlyingType", QualType> { 411 return ctx.getDecltypeType(expression, underlyingType); 419 def : Property<"underlyingType", QualType> { 427 return ctx.getUnaryTransformType(baseType, underlyingType, transform); 577 def : Property<"underlyingType", QualType> { 585 return ctx.getMacroQualifiedType(underlyingType, macroIdentifier); 632 def : Property<"underlyingType", Optional<QualType>> { 644 if (!underlyingType.hasValue()) { [all …]
|
/external/angle/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()
|
/external/angle/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 …]
|
/external/llvm-project/clang/lib/AST/ |
D | ODRHash.cpp | 718 QualType UnderlyingType = D->getUnderlyingType(); in RemoveTypedef() local 720 if (UnderlyingType.hasLocalQualifiers()) { in RemoveTypedef() 724 const auto *ElaboratedT = dyn_cast<ElaboratedType>(UnderlyingType); in RemoveTypedef() 1034 QualType UnderlyingType = T->getDecl()->getUnderlyingType(); in VisitTypedefType() local 1035 VisitQualifiers(UnderlyingType.getQualifiers()); in VisitTypedefType() 1038 dyn_cast<TypedefType>(UnderlyingType.getTypePtr())) { in VisitTypedefType() 1039 UnderlyingType = Underlying->getDecl()->getUnderlyingType(); in VisitTypedefType() 1043 dyn_cast<ElaboratedType>(UnderlyingType.getTypePtr())) { in VisitTypedefType() 1044 UnderlyingType = Underlying->getNamedType(); in VisitTypedefType() 1050 AddType(UnderlyingType.getTypePtr()); in VisitTypedefType()
|
/external/llvm-project/llvm/test/DebugInfo/PDB/ |
D | pdbdump-yaml-types.test | 60 YAML: UnderlyingType: 116 160 YAML: UnderlyingType: 116 283 YAML: UnderlyingType: 116 366 YAML: UnderlyingType: 116 386 YAML: UnderlyingType: 116 517 YAML: UnderlyingType: 116 862 YAML: UnderlyingType: 116 947 YAML: UnderlyingType: 116
|
/external/libcxx/test/libcxx/algorithms/ |
D | half_positive.pass.cpp | 25 template <class IntType, class UnderlyingType = IntType> 26 TEST_CONSTEXPR bool test(IntType max_v = IntType(std::numeric_limits<UnderlyingType>::max())) { in test()
|
/external/llvm-project/libcxx/test/libcxx/algorithms/ |
D | half_positive.pass.cpp | 24 template <class IntType, class UnderlyingType = IntType> 25 TEST_CONSTEXPR bool test(IntType max_v = IntType(std::numeric_limits<UnderlyingType>::max())) { in test()
|
/external/llvm-project/lld/test/COFF/ |
D | pdb-heapsite.yaml | 366 UnderlyingType: 116 590 UnderlyingType: 116 723 UnderlyingType: 116 843 UnderlyingType: 116 1088 UnderlyingType: 116 1183 UnderlyingType: 116 1273 UnderlyingType: 116 1298 UnderlyingType: 116
|
/external/llvm-project/lld/test/COFF/Inputs/ |
D | pdb-file-statics-b.yaml | 193 UnderlyingType: 116 420 UnderlyingType: 116 553 UnderlyingType: 116 673 UnderlyingType: 116 918 UnderlyingType: 116 1013 UnderlyingType: 116 1103 UnderlyingType: 116 1128 UnderlyingType: 116
|
D | pdb-file-statics-a.yaml | 218 UnderlyingType: 116 445 UnderlyingType: 116 578 UnderlyingType: 116 698 UnderlyingType: 116 943 UnderlyingType: 116 1038 UnderlyingType: 116 1128 UnderlyingType: 116 1153 UnderlyingType: 116
|
/external/catch2/include/internal/ |
D | catch_generators.hpp | 191 using UnderlyingType = typename decltype(generatorExpression())::type; in generate() typedef 195 … tracker.setGenerator(pf::make_unique<Generators<UnderlyingType>>(generatorExpression())); in generate() 198 … auto const& generator = static_cast<IGenerator<UnderlyingType> const&>( *tracker.getGenerator() ); in generate()
|
/external/llvm-project/llvm/test/DebugInfo/COFF/ |
D | enum-co.ll | 42 ; CHECK: UnderlyingType: int (0x74) 53 ; CHECK: UnderlyingType: int (0x74) 65 ; CHECK: UnderlyingType: int (0x74) 77 ; CHECK: UnderlyingType: int (0x74)
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | bindings_internal.h | 317 using UnderlyingType = typename std::underlying_type<T>::type; 318 return std::hash<UnderlyingType>()(static_cast<UnderlyingType>(input));
|
/external/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()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbol.h | 76 using UnderlyingType = uint8_t; 79 enum FlagNames : UnderlyingType { 167 UnderlyingType getRawFlagsValue() const { in getRawFlagsValue() 168 return static_cast<UnderlyingType>(Flags); in getRawFlagsValue()
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeTypeEnum.cpp | 299 const auto UnderlyingType = in getLength() local 301 return UnderlyingType ? UnderlyingType->getLength() : 0; in getLength()
|