Home
last modified time | relevance | path

Searched full:underlyingtype (Results 1 – 25 of 101) sorted by relevance

12345

/external/llvm-project/mlir/tools/mlir-tblgen/
DEnumsGen.cpp41 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/
Dsafe_conversions_impl.h606 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 …]
Dsafe_conversions.h90 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/
Dsafe_conversions_impl.h605 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 …]
Dsafe_conversions.h89 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); \
Dclamped_math.h54 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()
Dchecked_math.h108 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/
DPrettyEnumDumper.cpp40 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/
Dsafe_minmax.h100 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/
DTypeProperties.td393 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/
DBinaryStream.h73 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/
DPackedEnums.h30 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/
DODRHash.cpp718 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/
Dpdbdump-yaml-types.test60 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/
Dhalf_positive.pass.cpp25 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/
Dhalf_positive.pass.cpp24 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/
Dpdb-heapsite.yaml366 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/
Dpdb-file-statics-b.yaml193 UnderlyingType: 116
420 UnderlyingType: 116
553 UnderlyingType: 116
673 UnderlyingType: 116
918 UnderlyingType: 116
1013 UnderlyingType: 116
1103 UnderlyingType: 116
1128 UnderlyingType: 116
Dpdb-file-statics-a.yaml218 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/
Dcatch_generators.hpp191 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/
Denum-co.ll42 ; 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/
Dbindings_internal.h317 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/
DJITSymbol.h76 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/
DJITSymbol.h76 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/
DNativeTypeEnum.cpp299 const auto UnderlyingType = in getLength() local
301 return UnderlyingType ? UnderlyingType->getLength() : 0; in getLength()

12345