Searched refs:true_type (Results 1 - 25 of 162) sorted by relevance

1234567

/external/clang/test/Modules/Inputs/PR27754/
H A DTMetaUtils.h2 void fn1() { true_type(); }
H A DRConversionRuleParser.h2 typedef integral_constant<bool, true> true_type; typedef
3 class _Rb_tree { _Rb_tree() { true_type(); } };
/external/libcxx/test/std/utilities/meta/meta.logical/
H A Dconjunction.pass.cpp26 static_assert ( std::conjunction<std::true_type >::value, "" );
30 static_assert ( std::conjunction_v<std::true_type >, "" );
33 static_assert ( std::conjunction<std::true_type, std::true_type >::value, "" );
34 static_assert (!std::conjunction<std::true_type, std::false_type>::value, "" );
35 static_assert (!std::conjunction<std::false_type, std::true_type >::value, "" );
38 static_assert ( std::conjunction_v<std::true_type, std::true_type >, "" );
39 static_assert (!std::conjunction_v<std::true_type, std::false_type>, "" );
40 static_assert (!std::conjunction_v<std::false_type, std::true_type >, "" );
[all...]
H A Ddisjunction.pass.cpp26 static_assert ( std::disjunction<std::true_type >::value, "" );
30 static_assert ( std::disjunction_v<std::true_type >, "" );
33 static_assert ( std::disjunction<std::true_type, std::true_type >::value, "" );
34 static_assert ( std::disjunction<std::true_type, std::false_type>::value, "" );
35 static_assert ( std::disjunction<std::false_type, std::true_type >::value, "" );
38 static_assert ( std::disjunction_v<std::true_type, std::true_type >, "" );
39 static_assert ( std::disjunction_v<std::true_type, std::false_type>, "" );
40 static_assert ( std::disjunction_v<std::false_type, std::true_type >, "" );
[all...]
H A Dnegation.pass.cpp25 static_assert (!std::negation<std::true_type >::value, "" );
28 static_assert (!std::negation_v<std::true_type >, "" );
37 static_assert ( std::negation<std::negation<std::true_type >>::value, "" );
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.traits/
H A Duses_allocator.pass.cpp15 // struct uses_allocator<tuple<Types...>, Alloc> : true_type { };
28 static_assert((std::is_base_of<std::true_type,
33 static_assert((std::is_base_of<std::true_type,
38 static_assert((std::is_base_of<std::true_type,
43 static_assert((std::is_base_of<std::true_type,
/external/parameter-framework/upstream/utility/
H A Dconvert.hpp51 struct ConvertionAllowed<bool> : std::true_type
55 struct ConvertionAllowed<long long> : std::true_type
59 struct ConvertionAllowed<unsigned long long> : std::true_type
63 struct ConvertionAllowed<long> : std::true_type
67 struct ConvertionAllowed<unsigned long> : std::true_type
71 struct ConvertionAllowed<int> : std::true_type
75 struct ConvertionAllowed<unsigned int> : std::true_type
79 struct ConvertionAllowed<short> : std::true_type
83 struct ConvertionAllowed<unsigned short> : std::true_type
87 struct ConvertionAllowed<unsigned char> : std::true_type
[all...]
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Dis_always_equal.pass.cpp27 typedef std::true_type is_always_equal;
45 static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::value), "");
46 static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::value), "");
49 static_assert((std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type>::value), "");
50 static_assert((std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type>::value), "");
H A Dpropagate_on_container_copy_assignment.pass.cpp29 typedef std::true_type propagate_on_container_copy_assignment;
44 typedef std::true_type propagate_on_container_copy_assignment;
49 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_copy_assignment, std::true_type>::value), "");
H A Dpropagate_on_container_move_assignment.pass.cpp29 typedef std::true_type propagate_on_container_move_assignment;
44 typedef std::true_type propagate_on_container_move_assignment;
50 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_move_assignment, std::true_type>::value), "");
H A Dpropagate_on_container_swap.pass.cpp29 typedef std::true_type propagate_on_container_swap;
43 typedef std::true_type propagate_on_container_swap;
48 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_swap, std::true_type>::value), "");
/external/libcxx/test/std/utilities/meta/meta.help/
H A Dintegral_constant.pass.cpp33 static_assert ( std::true_type{}(), "" );
40 static_assert(std::true_type::value == true, "");
41 static_assert((std::is_same<std::true_type::value_type, bool>::value), "");
42 static_assert((std::is_same<std::true_type::type, std::true_type>::value), "");
48 std::true_type t1;
49 std::true_type t2 = t1;
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/
H A Dpropagate_on_container_move_assignment.pass.cpp32 std::true_type>::value), "");
36 std::true_type>::value), "");
H A Dpropagate_on_container_copy_assignment.pass.cpp36 std::true_type>::value), "");
H A Dpropagate_on_container_swap.pass.cpp36 std::true_type>::value), "");
/external/swiftshader/third_party/LLVM/include/llvm/Object/
H A DError.h44 template <> struct is_error_code_enum<object::object_error> : true_type { };
46 template <> struct is_error_code_enum<object::object_error::_> : true_type { };
/external/tensorflow/tensorflow/core/framework/
H A Dtype_traits.h28 struct true_type { struct in namespace:tensorflow
41 struct is_quantized<qint8> : true_type {};
43 struct is_quantized<quint8> : true_type {};
45 struct is_quantized<qint32> : true_type {};
47 struct is_quantized<qint16> : true_type {};
49 struct is_quantized<quint16> : true_type {};
57 struct is_complex<std::complex<float>> : true_type {};
59 struct is_complex<std::complex<double>> : true_type {};
/external/llvm/tools/llvm-cxxdump/
H A DError.h36 struct is_error_code_enum<llvm::cxxdump_error> : std::true_type {};
/external/webrtc/webrtc/base/
H A Dtemplate_util.h31 typedef integral_constant<bool, true> true_type; typedef in namespace:rtc
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 {};
106 // Inherits from true_type if From is convertible to To, false_type otherwise.
108 // Note that if the type is convertible, this will be a true_type REGARDLESS
/external/libcxx/test/std/diagnostics/syserr/
H A Dis_error_code_enum.pass.cpp39 struct is_error_code_enum<A> : public std::true_type {};
H A Dis_error_condition_enum.pass.cpp39 struct is_error_condition_enum<A> : public std::true_type {};
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/
H A DErrorCodeEnum.pass.cpp27 template <> struct is_error_code_enum<testing> : public std::true_type {};
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/
H A DErrorCodeEnum.pass.cpp27 template <> struct is_error_code_enum<testing> : public std::true_type {};
/external/libcxx/test/support/test.workarounds/
H A Dc1xx_broken_za_ctor_check.pass.cpp32 auto test(int) -> decltype(PushFront(std::declval<T>()), std::true_type{});
/external/llvm/tools/llvm-readobj/
H A DError.h38 template <> struct is_error_code_enum<llvm::readobj_error> : std::true_type {};

Completed in 489 milliseconds

1234567