/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.traits/ |
H A D | uses_allocator.pass.cpp | 15 // struct uses_allocator<tuple<Types...>, Alloc> : true_type { }; 26 static_assert((std::is_base_of<std::true_type, 31 static_assert((std::is_base_of<std::true_type, 36 static_assert((std::is_base_of<std::true_type, 41 static_assert((std::is_base_of<std::true_type,
|
/external/libcxx/test/utilities/meta/meta.hel/ |
H A D | integral_constant.pass.cpp | 31 static_assert ( std::true_type{}(), "" ); 38 static_assert(std::true_type::value == true, ""); 39 static_assert((std::is_same<std::true_type::value_type, bool>::value), ""); 40 static_assert((std::is_same<std::true_type::type, std::true_type>::value), ""); 45 std::true_type t1; 46 std::true_type t2 = t1;
|
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.types/ |
H A D | propagate_on_container_move_assignment.pass.cpp | 32 std::true_type>::value), ""); 36 std::true_type>::value), "");
|
H A D | propagate_on_container_copy_assignment.pass.cpp | 36 std::true_type>::value), "");
|
H A D | propagate_on_container_swap.pass.cpp | 36 std::true_type>::value), "");
|
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/ |
H A D | propagate_on_container_copy_assignment.pass.cpp | 27 typedef std::true_type propagate_on_container_copy_assignment; 38 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_copy_assignment, std::true_type>::value), "");
|
H A D | propagate_on_container_move_assignment.pass.cpp | 27 typedef std::true_type propagate_on_container_move_assignment; 38 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_move_assignment, std::true_type>::value), "");
|
H A D | propagate_on_container_swap.pass.cpp | 27 typedef std::true_type propagate_on_container_swap; 38 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_swap, std::true_type>::value), "");
|
/external/chromium_org/base/ |
H A D | template_util.h | 25 typedef integral_constant<bool, true> true_type; typedef in namespace:base 29 template <class T> struct is_pointer<T*> : true_type {}; 37 struct is_member_function_pointer<R(Z::*)(A...)> : true_type {}; 39 struct is_member_function_pointer<R(Z::*)(A...) const> : true_type {}; 43 template <class T> struct is_same<T,T> : true_type {}; 46 template<class T, size_t n> struct is_array<T[n]> : public true_type {}; 47 template<class T> struct is_array<T[]> : public true_type {}; 50 template <class T> struct is_non_const_reference<T&> : true_type {}; 54 template <class T> struct is_const<const T> : true_type {}; 57 template <> struct is_void<void> : true_type {}; [all...] |
/external/chromium_org/third_party/cld/base/ |
H A D | type_traits.h | 31 #include "base/template_util.h" // For true_type and false_type 38 template<> struct is_integral<bool> : true_type { }; 39 template<> struct is_integral<char> : true_type { }; 40 template<> struct is_integral<unsigned char> : true_type { }; 41 template<> struct is_integral<signed char> : true_type { }; 46 template<> struct is_integral<__wchar_t> : true_type { }; 48 template<> struct is_integral<wchar_t> : true_type { }; 50 template<> struct is_integral<short> : true_type { }; 51 template<> struct is_integral<unsigned short> : true_type { }; 52 template<> struct is_integral<int> : true_type { }; [all...] |
H A D | macros.h | 208 template<> struct is_pod<TypeName> : true_type { }; \ 237 template <> struct ERROR_TYPE_MUST_BE_POD<base::true_type> { };
|
H A D | template_util.h | 49 // Abbreviations: true_type and false_type are structs that represent boolean 52 typedef integral_constant<bool, true> true_type; typedef in namespace:base 54 typedef true_type true_;
|
/external/llvm/tools/obj2yaml/ |
H A D | Error.h | 32 template <> struct is_error_code_enum<llvm::obj2yaml_error> : std::true_type {};
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/ |
H A D | template_util.h | 27 typedef integral_constant<bool, true> true_type; typedef in namespace:i18n::addressinput 31 template <class T> struct is_pointer<T*> : true_type {}; 34 template <class T> struct is_same<T,T> : true_type {}; 37 template<class T, size_t n> struct is_array<T[n]> : public true_type {}; 38 template<class T> struct is_array<T[]> : public true_type {}; 41 template <class T> struct is_non_const_reference<T&> : true_type {}; 45 template <> struct is_void<void> : true_type {}; 89 // Inherits from true_type if From is convertible to To, false_type otherwise. 91 // Note that if the type is convertible, this will be a true_type REGARDLESS
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/ |
H A D | template_util.h | 24 typedef integral_constant<bool, true> true_type; typedef in namespace:i18n::phonenumbers 28 template <class T> struct is_pointer<T*> : true_type {}; 31 template <class T> struct is_same<T,T> : true_type {}; 34 template<class T, size_t n> struct is_array<T[n]> : public true_type {}; 35 template<class T> struct is_array<T[]> : public true_type {}; 38 template <class T> struct is_non_const_reference<T&> : true_type {}; 42 template <> struct is_void<void> : true_type {}; 86 // Inherits from true_type if From is convertible to To, false_type otherwise. 88 // Note that if the type is convertible, this will be a true_type REGARDLESS
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | template_util.h | 29 typedef integral_constant<bool, true> true_type; typedef in namespace:rtc 33 template <class T> struct is_pointer<T*> : true_type {}; 36 template <class T> struct is_same<T,T> : true_type {}; 39 template<class T, size_t n> struct is_array<T[n]> : public true_type {}; 40 template<class T> struct is_array<T[]> : public true_type {}; 43 template <class T> struct is_non_const_reference<T&> : true_type {}; 47 template <> struct is_void<void> : true_type {}; 91 // Inherits from true_type if From is convertible to To, false_type otherwise. 93 // Note that if the type is convertible, this will be a true_type REGARDLESS
|
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
H A D | template_util.h | 31 typedef integral_constant<bool, true> true_type; typedef in namespace:webrtc 35 template <class T> struct is_pointer<T*> : true_type {}; 38 template <class T> struct is_same<T, T> : true_type {}; 41 template<class T, size_t n> struct is_array<T[n]> : public true_type {}; 42 template<class T> struct is_array<T[]> : public true_type {}; 45 template <class T> struct is_non_const_reference<T&> : true_type {}; 49 template <> struct is_void<void> : true_type {}; 93 // Inherits from true_type if From is convertible to To, false_type otherwise. 95 // Note that if the type is convertible, this will be a true_type REGARDLESS
|
/external/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ |
H A D | ErrorCodeEnum.pass.cpp | 27 template <> struct is_error_code_enum<testing> : public std::true_type {};
|
/external/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ |
H A D | ErrorCodeEnum.pass.cpp | 27 template <> struct is_error_code_enum<testing> : public std::true_type {};
|
/external/llvm/include/llvm/Object/ |
H A D | Error.h | 42 struct is_error_code_enum<llvm::object::object_error> : std::true_type {};
|
/external/llvm/include/llvm/ProfileData/ |
H A D | InstrProf.h | 48 struct is_error_code_enum<llvm::instrprof_error> : std::true_type {};
|
/external/llvm/tools/llvm-readobj/ |
H A D | Error.h | 38 template <> struct is_error_code_enum<llvm::readobj_error> : std::true_type {};
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | type_traits.h | 63 #include <google/protobuf/stubs/template_util.h> // For true_type and false_type 97 template<> struct is_integral<bool> : true_type { }; 98 template<> struct is_integral<char> : true_type { }; 99 template<> struct is_integral<unsigned char> : true_type { }; 100 template<> struct is_integral<signed char> : true_type { }; 105 template<> struct is_integral<__wchar_t> : true_type { }; 107 template<> struct is_integral<wchar_t> : true_type { }; 109 template<> struct is_integral<short> : true_type { }; 110 template<> struct is_integral<unsigned short> : true_type { }; 111 template<> struct is_integral<int> : true_type { }; [all...] |
H A D | template_util_unittest.cc | 56 EXPECT_TRUE(true_type::value); 64 typedef if_<true, true_type, false_type>::type if_true; 67 typedef if_<false, true_type, false_type>::type if_false;
|
/external/libcxx/test/strings/basic.string/string.nonmembers/string.special/ |
H A D | swap_noexcept.pass.cpp | 32 typedef std::true_type propagate_on_container_swap;
|