/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/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_builtins.cpp | 61 uint32_t* underlying_type) { in GetUnderlyingType() argument 64 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 71 *underlying_type = inst.type_id(); in GetUnderlyingType() 76 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType() 336 uint32_t underlying_type); 349 uint32_t underlying_type); 363 uint32_t underlying_type); 485 uint32_t underlying_type = 0; in ValidateBool() local 487 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool() 491 if (!_.IsBoolScalarType(underlying_type)) { in ValidateBool() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_builtins.cpp | 61 uint32_t* underlying_type) { in GetUnderlyingType() argument 64 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 71 *underlying_type = inst.type_id(); in GetUnderlyingType() 76 if (!_.GetPointerTypeInfo(inst.type_id(), underlying_type, &storage_class)) { in GetUnderlyingType() 336 uint32_t underlying_type); 349 uint32_t underlying_type); 363 uint32_t underlying_type); 485 uint32_t underlying_type = 0; in ValidateBool() local 487 GetUnderlyingType(_, decoration, inst, &underlying_type)) { in ValidateBool() 491 if (!_.IsBoolScalarType(underlying_type)) { in ValidateBool() [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/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/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/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/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/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/clang/test/Lexer/ |
D | has_feature_type_traits.cpp | 113 #if __has_feature(underlying_type) 114 int underlying_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/pdfium/third_party/base/ |
D | template_util.h | 136 struct underlying_type { 141 using underlying_type = std::underlying_type<T>;
|
/external/skia/include/private/ |
D | SkBitmaskEnum.h | 17 using U = typename std::underlying_type<E>::type; 26 using U = typename std::underlying_type<E>::type; in SK_WHEN()
|
/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/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/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/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>(
|
/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/deqp-deps/SPIRV-Tools/source/util/ |
D | hex_float.h | 217 using underlying_type = void; 239 using underlying_type = FloatProxy<float>; 253 using underlying_type = FloatProxy<double>; 267 using underlying_type = uint16_t; 291 using underlying_type = typename Traits::underlying_type; 675 other.set_value(typename other_T::underlying_type( 690 other.set_value(typename other_T::underlying_type(
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | hex_float.h | 217 using underlying_type = void; 239 using underlying_type = FloatProxy<float>; 253 using underlying_type = FloatProxy<double>; 267 using underlying_type = uint16_t; 291 using underlying_type = typename Traits::underlying_type; 675 other.set_value(typename other_T::underlying_type( 690 other.set_value(typename other_T::underlying_type(
|
/external/clang/test/Modules/Inputs/PR26014/ |
D | A.h | 6 struct underlying_type struct
|
D | B.h | 5 struct underlying_type struct
|