Home
last modified time | relevance | path

Searched refs:underlying_type (Results 1 – 25 of 97) sorted by relevance

1234

/external/libbrillo/brillo/
Denum_flags.h71 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/
Dvalidate_builtins.cpp61 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/
Dvalidate_builtins.cpp61 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/
Dunderlying_type.cpp30 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/
Dunderlying_type.pass.cpp33 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/
DBitmaskEnum.h81 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/
DBitmaskEnum.h81 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/
DDiagnosticOptions.h40 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/
DCodeView.h52 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/
DSkTLogic.h60 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/
Dhas_feature_type_traits.cpp113 #if __has_feature(underlying_type)
114 int underlying_type();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeView.h56 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/
Dtemplate_util.h136 struct underlying_type {
141 using underlying_type = std::underlying_type<T>;
/external/skia/include/private/
DSkBitmaskEnum.h17 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/
DOrcError.cpp78 typedef std::underlying_type<OrcErrorCode>::type UT; in orcError()
102 typedef std::underlying_type<OrcErrorCode>::type UT; in convertToErrorCode()
/external/llvm/include/llvm/ExecutionEngine/
DJITSymbolFlags.h30 typedef std::underlying_type<JITSymbolFlags>::type UT;
41 typedef std::underlying_type<JITSymbolFlags>::type UT;
/external/libchrome/base/containers/
Dflat_tree.h84 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/
DlldbDataFormatters.py96 underlying_type = valobj.GetType().GetTemplateArgumentType(0)
98 return str(storage.Cast(underlying_type))
/external/libcxx/test/libcxx/type_traits/
Dconvert_to_integral.pass.cpp105 typedef std::underlying_type<enum1>::type Enum1UT; in main()
107 typedef std::underlying_type<enum2>::type Enum2UT; in main()
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h184 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/
DlldbDataFormatters.py106 underlying_type = storage.GetType().GetTemplateArgumentType(0)
108 return str(storage.Cast(underlying_type))
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h217 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/
Dhex_float.h217 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/
DA.h6 struct underlying_type struct
DB.h5 struct underlying_type struct

1234