/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | is_enum.pass.cpp | 20 static_assert( std::is_enum<T>::value, ""); in test_is_enum() 21 static_assert( std::is_enum<const T>::value, ""); in test_is_enum() 22 static_assert( std::is_enum<volatile T>::value, ""); in test_is_enum() 23 static_assert( std::is_enum<const volatile T>::value, ""); in test_is_enum() 35 static_assert(!std::is_enum<T>::value, ""); in test_is_not_enum() 36 static_assert(!std::is_enum<const T>::value, ""); in test_is_not_enum() 37 static_assert(!std::is_enum<volatile T>::value, ""); in test_is_not_enum() 38 static_assert(!std::is_enum<const volatile T>::value, ""); in test_is_not_enum()
|
D | enum.pass.cpp | 31 static_assert( std::is_enum<T>::value, ""); in test_enum_imp() 54 static_assert(!std::is_enum<incomplete_type>::value, ""); in main()
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | is_enum.pass.cpp | 21 static_assert( std::is_enum<T>::value, ""); in test_is_enum() 22 static_assert( std::is_enum<const T>::value, ""); in test_is_enum() 23 static_assert( std::is_enum<volatile T>::value, ""); in test_is_enum() 24 static_assert( std::is_enum<const volatile T>::value, ""); in test_is_enum() 36 static_assert(!std::is_enum<T>::value, ""); in test_is_not_enum() 37 static_assert(!std::is_enum<const T>::value, ""); in test_is_not_enum() 38 static_assert(!std::is_enum<volatile T>::value, ""); in test_is_not_enum() 39 static_assert(!std::is_enum<const volatile T>::value, ""); in test_is_not_enum()
|
D | enum.pass.cpp | 32 static_assert( std::is_enum<T>::value, ""); in test_enum_imp() 55 static_assert(!std::is_enum<incomplete_type>::value, ""); in main()
|
/external/libchrome/base/metrics/ |
D | histogram_macros_internal.h | 42 std::enable_if_t<std::is_enum<decltype(Enum::kMaxValue)>::value>> { 148 static_assert(!std::is_enum<decltype(sample)>::value, \ 150 static_assert(!std::is_enum<decltype(boundary)>::value, \ 164 static_assert(!std::is_enum<decltype(sample)>::value, \ 166 static_assert(!std::is_enum<decltype(boundary)>::value, \ 211 static_assert(!std::is_enum<decayed_boundary>::value || \ 212 std::is_enum<decayed_sample>::value, \ 214 static_assert(!std::is_enum<decayed_sample>::value || \ 215 !std::is_enum<decayed_boundary>::value || \ 232 static_assert(std::is_enum<decayed_sample>::value, \
|
D | histogram_functions.h | 54 static_assert(std::is_enum<T>::value, in UmaHistogramEnumeration() 66 static_assert(std::is_enum<T>::value, in UmaHistogramEnumeration()
|
/external/clang/test/SemaCXX/ |
D | alias-template.cpp | 150 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); }; struct 155 template<typename T> EnableIf<is_enum<T>> f(); 156 template<typename T> DisableIf<is_enum<T>> f(); 165 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}} 166 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}}
|
/external/llvm-project/clang/test/SemaCXX/ |
D | alias-template.cpp | 147 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); }; argument 152 template<typename T> EnableIf<is_enum<T>> f(); 153 template<typename T> DisableIf<is_enum<T>> f(); 162 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}} 163 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}}
|
/external/skia/include/private/ |
D | SkTFitsIn.h | 24 struct sk_strip_enum<T, typename std::enable_if<std::is_enum<T>::value>::type> { 71 typename std::enable_if<(std::is_integral<S>::value || std::is_enum<S>::value) && 72 (std::is_integral<D>::value || std::is_enum<D>::value), bool>::type
|
/external/skqp/include/private/ |
D | SkTFitsIn.h | 56 typename std::enable_if<(std::is_integral<S>::value || std::is_enum<S>::value) && 57 (std::is_integral<D>::value || std::is_enum<D>::value), bool>::type
|
/external/flatbuffers/include/flatbuffers/ |
D | stl_emulation.h | 141 template <typename T> using is_enum = std::is_enum<T>; variable 154 template <typename T> using is_enum = std::tr1::is_enum<T>; variable 178 template <typename T> struct is_enum : public std::is_enum<T> {};
|
/external/clang/test/Lexer/ |
D | has_feature_type_traits.cpp | 73 #if __has_feature(is_enum) 74 int is_enum();
|
/external/llvm-project/clang/test/Lexer/ |
D | has_feature_type_traits.cpp | 73 #if __has_feature(is_enum) 74 int is_enum();
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | Bitfields.h | 196 template <typename T, bool = std::is_enum<T>::value> 220 T MaxValue = std::is_enum<T>::value 239 static_assert(!std::is_enum<T>::value || MaxValue != T(0), 241 static_assert(!std::is_enum<T>::value ||
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidyCheck.h | 342 std::enable_if_t<std::is_enum<T>::value, llvm::Expected<T>> 361 std::enable_if_t<std::is_enum<T>::value, T> 382 std::enable_if_t<std::is_enum<T>::value, llvm::Expected<T>> 402 std::enable_if_t<std::is_enum<T>::value, T> 457 std::enable_if_t<std::is_enum<T>::value> 478 std::enable_if_t<std::is_enum<T>::value, std::vector<NameAndValue>>
|
/external/angle/src/libANGLE/ |
D | validationEGL.h | 104 typename std::enable_if<std::is_enum<PackedT>::value, PackedT>::type PackParam(FromT from) in PackParam() 111 typename std::enable_if<!std::is_enum<PackedT>::value, 133 inline typename std::enable_if<!std::is_enum<PackedT>::value,
|
/external/webrtc/rtc_base/ |
D | checks.h | 197 absl::enable_if_t<std::is_enum<T>::value && 220 std::is_enum<U>::value>* = nullptr> 228 !std::is_enum<U>::value>* = nullptr> 272 std::is_enum<U>::value>* = nullptr> 280 !std::is_enum<U>::value>* = nullptr>
|
D | logging.h | 262 absl::enable_if_t<std::is_enum<T>::value && 326 std::is_enum<U>::value>* = nullptr> 334 !std::is_enum<U>::value>* = nullptr> 357 std::is_enum<U>::value>* = nullptr> 365 !std::is_enum<U>::value>* = nullptr>
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | bindings_internal.h | 214 template <typename T, bool is_enum = std::is_enum<T>::value> 314 static_assert(std::is_enum<T>::value, "Incorrect hash function.");
|
/external/vulkan-validation-layers/layers/ |
D | hash_util.h | 44 size_t HashWithUnderlying(Value value, typename std::enable_if<!std::is_enum<Value>::value, void *>… 49 size_t HashWithUnderlying(Value value, typename std::enable_if<std::is_enum<Value>::value, void *>:…
|
/external/llvm-project/libcxx/test/libcxx/utilities/memory/util.dynamic.safety/ |
D | get_pointer_safety_new_abi.pass.cpp | 26 static_assert(std::is_enum<std::pointer_safety>::value, ""); in main()
|
/external/libcxx/test/std/input.output/filesystems/fs.enum/ |
D | enum.path.format.pass.cpp | 25 static_assert(std::is_enum<E>::value, ""); in main()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.enum/ |
D | enum.path.format.pass.cpp | 24 static_assert(std::is_enum<E>::value, ""); in main()
|
/external/libcxx/test/libcxx/utilities/memory/util.dynamic.safety/ |
D | get_pointer_safety_new_abi.pass.cpp | 25 static_assert(std::is_enum<std::pointer_safety>::value, ""); in main()
|
/external/perfetto/include/perfetto/tracing/ |
D | debug_annotation.h | 32 template <typename T, bool = std::is_enum<T>::value>
|