/external/libbrillo/brillo/ |
D | enum_flags.h | 71 return static_cast<T>( ~static_cast<typename std::underlying_type<T>::type>(l)); 79 static_cast<typename std::underlying_type<T>::type>(l) | 80 static_cast<typename std::underlying_type<T>::type>(r)); 88 static_cast<typename std::underlying_type<T>::type>(l) & 89 static_cast<typename std::underlying_type<T>::type>(r)); 96 return static_cast<T>(static_cast<typename std::underlying_type<T>::type>(l) ^ 97 static_cast<typename std::underlying_type<T>::type>(r)); 105 static_cast<typename std::underlying_type<T>::type>(l) | 106 static_cast<typename std::underlying_type<T>::type>(r)); 114 static_cast<typename std::underlying_type<T>::type>(l) & [all …]
|
/external/angle/third_party/spirv-tools/src/source/val/ |
D | validate_builtins.cpp | 61 uint32_t* underlying_type) { in GetUnderlyingType() argument 69 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 81 *underlying_type = inst.type_id(); in GetUnderlyingType() 86 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType() 395 uint32_t underlying_type); 405 uint32_t underlying_type); 418 uint32_t underlying_type); 432 uint32_t underlying_type); 554 uint32_t underlying_type = 0; in ValidateBool() local 556 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool() [all …]
|
D | validate_memory.cpp | 759 auto underlying_type = value_type; in ValidateVariable() local 760 while (underlying_type->opcode() == SpvOpTypePointer) { in ValidateVariable() 761 storage_class = underlying_type->GetOperandAs<SpvStorageClass>(1u); in ValidateVariable() 762 underlying_type = in ValidateVariable() 763 _.FindDef(underlying_type->GetOperandAs<uint32_t>(2u)); in ValidateVariable() 778 if (underlying_type->opcode() == SpvOpTypeArray || in ValidateVariable() 779 underlying_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateVariable() 780 underlying_type = in ValidateVariable() 781 _.FindDef(underlying_type->GetOperandAs<uint32_t>(1u)); in ValidateVariable() 784 !_.HasDecoration(underlying_type->id(), in ValidateVariable() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_builtins.cpp | 61 uint32_t* underlying_type) { in GetUnderlyingType() argument 69 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 81 *underlying_type = inst.type_id(); in GetUnderlyingType() 86 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType() 395 uint32_t underlying_type); 405 uint32_t underlying_type); 418 uint32_t underlying_type); 432 uint32_t underlying_type); 554 uint32_t underlying_type = 0; in ValidateBool() local 556 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool() [all …]
|
D | validate_memory.cpp | 753 auto underlying_type = value_type; in ValidateVariable() local 754 while (underlying_type->opcode() == SpvOpTypePointer) { in ValidateVariable() 755 storage_class = underlying_type->GetOperandAs<SpvStorageClass>(1u); in ValidateVariable() 756 underlying_type = in ValidateVariable() 757 _.FindDef(underlying_type->GetOperandAs<uint32_t>(2u)); in ValidateVariable() 772 if (underlying_type->opcode() == SpvOpTypeArray || in ValidateVariable() 773 underlying_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateVariable() 774 underlying_type = in ValidateVariable() 775 _.FindDef(underlying_type->GetOperandAs<uint32_t>(1u)); in ValidateVariable() 778 !_.HasDecoration(underlying_type->id(), in ValidateVariable() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_builtins.cpp | 61 uint32_t* underlying_type) { in GetUnderlyingType() argument 69 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 81 *underlying_type = inst.type_id(); in GetUnderlyingType() 86 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType() 395 uint32_t underlying_type); 405 uint32_t underlying_type); 418 uint32_t underlying_type); 432 uint32_t underlying_type); 554 uint32_t underlying_type = 0; in ValidateBool() local 556 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool() [all …]
|
D | validate_memory.cpp | 759 auto underlying_type = value_type; in ValidateVariable() local 760 while (underlying_type->opcode() == SpvOpTypePointer) { in ValidateVariable() 761 storage_class = underlying_type->GetOperandAs<SpvStorageClass>(1u); in ValidateVariable() 762 underlying_type = in ValidateVariable() 763 _.FindDef(underlying_type->GetOperandAs<uint32_t>(2u)); in ValidateVariable() 778 if (underlying_type->opcode() == SpvOpTypeArray || in ValidateVariable() 779 underlying_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateVariable() 780 underlying_type = in ValidateVariable() 781 _.FindDef(underlying_type->GetOperandAs<uint32_t>(1u)); in ValidateVariable() 784 !_.HasDecoration(underlying_type->id(), in ValidateVariable() [all …]
|
/external/clang/test/SemaCXX/ |
D | underlying_type.cpp | 30 struct underlying_type { struct 34 static_assert(is_same_type<underlying_type<f>::type, char>::value, 37 underlying_type<int>::type e; // expected-note {{requested here}} 42 static_assert(is_same_type<underlying_type<foo>::type, unsigned>::value,
|
/external/skia/include/private/ |
D | SkBitmaskEnum.h | 17 return static_cast<typename std::underlying_type<E>::type>(e) != 0; in Any() 23 using U = typename std::underlying_type<E>::type; 34 using U = typename std::underlying_type<E>::type; 45 return static_cast<E>(~static_cast<typename std::underlying_type<E>::type>(e));
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
D | underlying_type.pass.cpp | 33 static_assert((std::is_same<std::underlying_type<E>::type, int>::value), in main() 36 static_assert((std::is_same<std::underlying_type<F>::type, unsigned>::value), in main() 50 static_assert((std::is_same<std::underlying_type<G>::type, char>::value), in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | BitmaskEnum.h | 81 template <typename E> typename std::underlying_type<E>::type Mask() { 84 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>( 91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) { 92 auto U = static_cast<typename std::underlying_type<E>::type>(Val);
|
/external/llvm/include/llvm/ADT/ |
D | BitmaskEnum.h | 81 template <typename E> typename std::underlying_type<E>::type Mask() { 84 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>( 91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) { 92 auto U = static_cast<typename std::underlying_type<E>::type>(Val);
|
/external/clang/include/clang/Basic/ |
D | DiagnosticOptions.h | 40 using UT = std::underlying_type<DiagnosticLevelMask>::type; 46 using UT = std::underlying_type<DiagnosticLevelMask>::type; 53 using UT = std::underlying_type<DiagnosticLevelMask>::type;
|
/external/clang/test/Lexer/ |
D | has_feature_type_traits.cpp | 113 #if __has_feature(underlying_type) 114 int underlying_type();
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeView.h | 52 static_cast<std::underlying_type<Class>::type>(a) | \ 53 static_cast<std::underlying_type<Class>::type>(b)); \ 57 static_cast<std::underlying_type<Class>::type>(a) & \ 58 static_cast<std::underlying_type<Class>::type>(b)); \ 62 ~static_cast<std::underlying_type<Class>::type>(a)); \
|
/external/skqp/include/private/ |
D | SkTLogic.h | 60 template <typename T> struct underlying_type { struct 64 template <typename T> using underlying_type = std::underlying_type<T>; variable 66 template <typename T> using underlying_type_t = typename skstd::underlying_type<T>::type;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeView.h | 56 static_cast<std::underlying_type<Class>::type>(a) | \ 57 static_cast<std::underlying_type<Class>::type>(b)); \ 61 static_cast<std::underlying_type<Class>::type>(a) & \ 62 static_cast<std::underlying_type<Class>::type>(b)); \ 66 ~static_cast<std::underlying_type<Class>::type>(a)); \
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcError.cpp | 78 typedef std::underlying_type<OrcErrorCode>::type UT; in orcError() 102 typedef std::underlying_type<OrcErrorCode>::type UT; in convertToErrorCode()
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbolFlags.h | 30 typedef std::underlying_type<JITSymbolFlags>::type UT; 41 typedef std::underlying_type<JITSymbolFlags>::type UT;
|
/external/llvm/utils/ |
D | lldbDataFormatters.py | 96 underlying_type = valobj.GetType().GetTemplateArgumentType(0) 98 return str(storage.Cast(underlying_type))
|
/external/libcxx/test/libcxx/type_traits/ |
D | convert_to_integral.pass.cpp | 105 typedef std::underlying_type<enum1>::type Enum1UT; in main() 107 typedef std::underlying_type<enum2>::type Enum2UT; in main()
|
/external/v8/src/roots/ |
D | roots-inl.h | 30 using type = typename std::underlying_type<RootIndex>::type; 36 using type = typename std::underlying_type<RootIndex>::type;
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/ |
D | lldbDataFormatters.py | 106 underlying_type = storage.GetType().GetTemplateArgumentType(0) 108 return str(storage.Cast(underlying_type))
|
/external/libchrome/base/containers/ |
D | flat_tree.h | 84 using underlying_type = std::vector<Value>; 109 using pointer = typename underlying_type::pointer; 110 using const_pointer = typename underlying_type::const_pointer; 111 using reference = typename underlying_type::reference; 112 using const_reference = typename underlying_type::const_reference; 113 using size_type = typename underlying_type::size_type; 114 using difference_type = typename underlying_type::difference_type; 115 using iterator = typename underlying_type::iterator; 116 using const_iterator = typename underlying_type::const_iterator; 117 using reverse_iterator = typename underlying_type::reverse_iterator; [all …]
|
/external/deqp-deps/glslang/SPIRV/ |
D | hex_float.h | 184 typedef void underlying_type; 206 typedef FloatProxy<float> underlying_type; 220 typedef FloatProxy<double> underlying_type; 234 typedef uint16_t underlying_type; 257 typedef typename Traits::underlying_type underlying_type; 605 other.set_value(BitwiseCast<typename other_T::underlying_type>( 620 other.set_value(BitwiseCast<typename other_T::underlying_type>(
|