/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()
|
D | rvalue_ref.pass.cpp | 34 static_assert(!std::is_enum<T>::value, ""); in test_rvalue_ref()
|
D | lvalue_ref.pass.cpp | 33 static_assert(!std::is_enum<T>::value, ""); in test_lvalue_ref()
|
D | union.pass.cpp | 32 static_assert(!std::is_enum<T>::value, ""); in test_union_imp()
|
D | nullptr.pass.cpp | 33 static_assert(!std::is_enum<T>::value, ""); in test_nullptr_imp()
|
/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/protobuf/src/google/protobuf/stubs/ |
D | type_traits_unittest.cc | 264 EXPECT_TRUE(is_enum<G>::value); in TEST() 265 EXPECT_TRUE(is_enum<const G>::value); in TEST() 266 EXPECT_TRUE(is_enum<volatile G>::value); in TEST() 267 EXPECT_TRUE(is_enum<const volatile G>::value); in TEST() 270 EXPECT_FALSE(is_enum<void>::value); in TEST() 271 EXPECT_FALSE(is_enum<G&>::value); in TEST() 272 EXPECT_FALSE(is_enum<G[1]>::value); in TEST() 273 EXPECT_FALSE(is_enum<const G[1]>::value); in TEST() 274 EXPECT_FALSE(is_enum<G[]>::value); in TEST() 275 EXPECT_FALSE(is_enum<int>::value); in TEST() [all …]
|
D | type_traits.h | 95 template <class T> struct is_enum; 206 template <class T> struct is_enum 215 template <class T> struct is_enum<const T> : is_enum<T> { }; 216 template <class T> struct is_enum<volatile T> : is_enum<T> { }; 217 template <class T> struct is_enum<const volatile T> : is_enum<T> { }; 235 is_enum<T>::value ||
|
/external/clang/test/SemaCXX/ |
D | alias-template.cpp | 150 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); }; argument 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/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/clang/test/Lexer/ |
D | has_feature_type_traits.cpp | 73 #if __has_feature(is_enum) 74 int is_enum();
|
/external/v8/src/base/ |
D | logging.h | 130 typename std::enable_if<std::is_enum<T>::value && 145 !std::is_enum<T>::value>::type 207 static constexpr bool is_enum = std::is_enum<decay>::value; member 209 typename std::conditional<is_enum, decay, Dummy>::type>::type; 211 typename std::conditional<is_enum, underlying, decay>::type;
|
/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/libcxx/test/std/input.output/filesystems/fs.enum/ |
D | enum.path.format.pass.cpp | 25 static_assert(std::is_enum<E>::value, ""); in main()
|
D | enum.directory_options.pass.cpp | 29 static_assert(std::is_enum<E>::value, ""); in main()
|
D | enum.perm_options.pass.cpp | 31 static_assert(std::is_enum<E>::value, ""); in main()
|
D | enum.file_type.pass.cpp | 27 static_assert(std::is_enum<E>::value, ""); in main()
|
D | enum.copy_options.pass.cpp | 28 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/libcxx/test/std/language.support/support.dynamic/ |
D | align_val_t.pass.cpp | 20 static_assert(std::is_enum<std::align_val_t>::value, ""); in main()
|
/external/libcxx/test/std/utilities/meta/meta.type.synop/ |
D | endian.pass.cpp | 22 static_assert(std::is_enum<std::endian>::value, ""); in main()
|