Home
last modified time | relevance | path

Searched refs:UnderlyingType (Results 1 – 25 of 42) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPrettyEnumDumper.cpp29 auto UnderlyingType = Symbol.getUnderlyingType(); in start() local
30 if (!UnderlyingType) in start()
32 if (UnderlyingType->getBuiltinType() != PDB_BuiltinType::Int || in start()
33 UnderlyingType->getLength() != 4) { in start()
36 Dumper.start(*UnderlyingType); in start()
/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(
Dsafe_math_shared_impl.h171 using math = M<typename UnderlyingType<L>::type,
172 typename UnderlyingType<R>::type,
Dchecked_math_impl.h479 using SrcType = typename internal::UnderlyingType<Src>::type;
523 using SrcType = typename internal::UnderlyingType<Src>::type;
/external/pdfium/third_party/base/numerics/
Dsafe_conversions.h78 using SrcType = typename internal::UnderlyingType<Src>::type; in checked_cast()
130 using SrcType = typename UnderlyingType<Src>::type; in saturated_cast()
141 using SrcType = typename UnderlyingType<Src>::type; in strict_cast()
142 static_assert(UnderlyingType<Src>::is_numeric, "Argument must be numeric."); in strict_cast()
228 constexpr StrictNumeric<typename UnderlyingType<T>::type> MakeStrictNum(
245 return SafeCompare<NAME, typename UnderlyingType<L>::type, \
246 typename UnderlyingType<R>::type>(lhs, rhs); \
Dsafe_conversions_impl.h568 struct UnderlyingType {
576 struct UnderlyingType<CheckedNumeric<T>> {
584 struct UnderlyingType<StrictNumeric<T>> {
594 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
595 (UnderlyingType<L>::is_checked || UnderlyingType<R>::is_checked);
601 UnderlyingType<L>::is_numeric && UnderlyingType<R>::is_numeric &&
602 (UnderlyingType<L>::is_strict || UnderlyingType<R>::is_strict);
Dsafe_math.h176 constexpr CheckedNumeric<typename UnderlyingType<Dst>::type> Cast() const { in Cast()
233 using R = typename UnderlyingType<U>::type; in Max()
248 using R = typename UnderlyingType<U>::type; in Min()
396 constexpr CheckedNumeric<typename UnderlyingType<T>::type> MakeCheckedNum(
Dsafe_math_impl.h545 using SrcType = typename internal::UnderlyingType<Src>::type;
589 using SrcType = typename internal::UnderlyingType<Src>::type;
633 using math = M<typename UnderlyingType<L>::type,
634 typename UnderlyingType<R>::type,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h45 using UnderlyingType = uint8_t;
48 enum FlagNames : UnderlyingType {
113 operator UnderlyingType&() { return Flags; }
116 operator const UnderlyingType&() const { return Flags; }
133 UnderlyingType Flags = None;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DNativeEnumSymbol.cpp82 const auto UnderlyingType = in getLength() local
84 return UnderlyingType ? UnderlyingType->getLength() : 0; in getLength()
/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/catch2/include/internal/
Dcatch_generators.hpp189 using UnderlyingType = typename decltype(generatorExpression())::type; in generate() typedef
193 … tracker.setGenerator(pf::make_unique<Generators<UnderlyingType>>(generatorExpression())); in generate()
196 … auto const& generator = static_cast<IGenerator<UnderlyingType> const&>( *tracker.getGenerator() ); in generate()
/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-7.0/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/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h558 StringRef Name, StringRef UniqueName, TypeIndex UnderlyingType) in EnumRecord() argument
561 UnderlyingType(UnderlyingType) {} in EnumRecord()
569 TypeIndex getUnderlyingType() const { return UnderlyingType; } in getUnderlyingType()
575 TypeIndex UnderlyingType; member
584 TypeIndex UnderlyingType; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h90 return serializeSeq(C, static_cast<JITSymbolFlags::UnderlyingType>(Flags), in serialize()
95 JITSymbolFlags::UnderlyingType JITFlags; in deserialize()
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/COFF/
Dnested-types.ll68 ; CHECK-NEXT: UnderlyingType: int (0x74)
91 ; CHECK-NEXT: UnderlyingType: int (0x74)
Denum.ll22 ; CHECK-NEXT: UnderlyingType: int (0x74)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h505 StringRef Name, StringRef UniqueName, TypeIndex UnderlyingType) in EnumRecord() argument
508 UnderlyingType(UnderlyingType) {} in EnumRecord()
510 TypeIndex getUnderlyingType() const { return UnderlyingType; } in getUnderlyingType()
512 TypeIndex UnderlyingType; variable
/external/llvm/test/DebugInfo/COFF/
Denum.ll21 ; CHECK-NEXT: UnderlyingType: int (0x74)
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DTypeIndexDiscoveryTest.cpp385 checkTypeReferences(0, Enum.FieldList, Enum.UnderlyingType); in TEST_F()
452 checkTypeReferences(14, Enum.FieldList, Enum.UnderlyingType); in TEST_F()
/external/llvm/lib/DebugInfo/CodeView/
DTypeRecord.cpp176 UniqueName, L->UnderlyingType); in deserialize()
470 Success &= remapIndex(IndexMap, UnderlyingType); in remapTypeIndices()

12