Home
last modified time | relevance | path

Searched refs:true_type (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/libcxx/test/std/utilities/meta/meta.logical/
Dconjunction.pass.cpp26 static_assert ( std::conjunction<std::true_type >::value, "" ); in main()
30 static_assert ( std::conjunction_v<std::true_type >, "" ); in main()
33 static_assert ( std::conjunction<std::true_type, std::true_type >::value, "" ); in main()
34 static_assert (!std::conjunction<std::true_type, std::false_type>::value, "" ); in main()
35 static_assert (!std::conjunction<std::false_type, std::true_type >::value, "" ); in main()
38 static_assert ( std::conjunction_v<std::true_type, std::true_type >, "" ); in main()
39 static_assert (!std::conjunction_v<std::true_type, std::false_type>, "" ); in main()
40 static_assert (!std::conjunction_v<std::false_type, std::true_type >, "" ); in main()
43 … static_assert ( std::conjunction<std::true_type, std::true_type, std::true_type >::value, "" ); in main()
44 … static_assert (!std::conjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
[all …]
Ddisjunction.pass.cpp26 static_assert ( std::disjunction<std::true_type >::value, "" ); in main()
30 static_assert ( std::disjunction_v<std::true_type >, "" ); in main()
33 static_assert ( std::disjunction<std::true_type, std::true_type >::value, "" ); in main()
34 static_assert ( std::disjunction<std::true_type, std::false_type>::value, "" ); in main()
35 static_assert ( std::disjunction<std::false_type, std::true_type >::value, "" ); in main()
38 static_assert ( std::disjunction_v<std::true_type, std::true_type >, "" ); in main()
39 static_assert ( std::disjunction_v<std::true_type, std::false_type>, "" ); in main()
40 static_assert ( std::disjunction_v<std::false_type, std::true_type >, "" ); in main()
43 … static_assert ( std::disjunction<std::true_type, std::true_type, std::true_type >::value, "" ); in main()
44 … static_assert ( std::disjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
[all …]
Dnegation.pass.cpp25 static_assert (!std::negation<std::true_type >::value, "" ); in main()
28 static_assert (!std::negation_v<std::true_type >, "" ); in main()
37 static_assert ( std::negation<std::negation<std::true_type >>::value, "" ); in main()
/external/parameter-framework/upstream/utility/
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/protobuf/src/google/protobuf/stubs/
Dtype_traits.h124 template<> struct is_integral<bool> : true_type { };
125 template<> struct is_integral<char> : true_type { };
126 template<> struct is_integral<unsigned char> : true_type { };
127 template<> struct is_integral<signed char> : true_type { };
132 template<> struct is_integral<__wchar_t> : true_type { };
134 template<> struct is_integral<wchar_t> : true_type { };
136 template<> struct is_integral<short> : true_type { };
137 template<> struct is_integral<unsigned short> : true_type { };
138 template<> struct is_integral<int> : true_type { };
139 template<> struct is_integral<unsigned int> : true_type { };
[all …]
Dtemplate_util_unittest.cc56 EXPECT_TRUE(true_type::value); in TEST()
64 typedef if_<true, true_type, false_type>::type if_true; in TEST()
67 typedef if_<false, true_type, false_type>::type if_false; in TEST()
/external/libcxx/test/std/utilities/meta/meta.help/
Dintegral_constant.pass.cpp33 static_assert ( std::true_type{}(), "" ); in main()
40 static_assert(std::true_type::value == true, ""); in main()
41 static_assert((std::is_same<std::true_type::value_type, bool>::value), ""); in main()
42 static_assert((std::is_same<std::true_type::type, std::true_type>::value), ""); in main()
48 std::true_type t1; in main()
49 std::true_type t2 = t1; in main()
/external/tensorflow/tensorflow/core/framework/
Dtype_traits.h28 struct true_type { struct
41 struct is_quantized<qint8> : true_type {}; argument
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/webrtc/webrtc/base/
Dtemplate_util.h31 typedef integral_constant<bool, true> true_type; typedef
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 {};
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
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>::val… in main()
46 …static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::val… in main()
49 …(std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type>::value), ""); in main()
50 …(std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type>::value), ""); in main()
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 …::allocator_traits<A<char> >::propagate_on_container_move_assignment, std::true_type>::value), ""); in main()
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 …::allocator_traits<A<char> >::propagate_on_container_copy_assignment, std::true_type>::value), ""); in main()
Dpropagate_on_container_swap.pass.cpp29 typedef std::true_type propagate_on_container_swap;
43 typedef std::true_type propagate_on_container_swap;
48 …is_same<std::allocator_traits<A<char> >::propagate_on_container_swap, std::true_type>::value), ""); in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.traits/
Duses_allocator.pass.cpp28 static_assert((std::is_base_of<std::true_type, in main()
33 static_assert((std::is_base_of<std::true_type, in main()
38 static_assert((std::is_base_of<std::true_type, in main()
43 static_assert((std::is_base_of<std::true_type, in main()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
DconservativeRast.h91 typedef std::true_type ConservativeRastT;
120 typedef std::true_type IsConservativeT;
162 typedef std::true_type IsConservativeT;
181 typedef std::true_type IsConservativeT;
201 typedef std::true_type IsConservativeT;
/external/libcxx/test/support/
Dcharconv_test_helpers.h26 using std::true_type;
30 is_non_narrowing(From a) -> decltype(To{a}, true_type())
44 _fits_in(T, true_type /* non-narrowing*/, ...) in _fits_in() argument
51 _fits_in(T v, false_type, true_type /* T signed*/, true_type /* X signed */) in _fits_in() argument
58 _fits_in(T v, false_type, true_type /* T signed */, false_type /* X unsigned*/) in _fits_in() argument
123 static auto fromchars(char const* p, char const* ep, int base, true_type) in fromchars()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
Dilist_node_options.h70 template <> struct extract_sentinel_tracking<> : std::true_type, is_implicit {};
77 : std::true_type {};
91 template <class Tag> struct is_valid_option<ilist_tag<Tag>> : std::true_type {};
97 template <> struct check_options<> : std::true_type {};
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_node_options.h71 template <> struct extract_sentinel_tracking<> : std::true_type, is_implicit {};
78 : std::true_type {};
92 template <class Tag> struct is_valid_option<ilist_tag<Tag>> : std::true_type {};
98 template <> struct check_options<> : std::true_type {};
/external/clang/test/Modules/Inputs/PR27754/
DRConversionRuleParser.h2 typedef integral_constant<bool, true> true_type; typedef
3 class _Rb_tree { _Rb_tree() { true_type(); } }; in _Rb_tree()
/external/libchrome/base/
Dtemplate_util.h42 template <class T> struct is_non_const_reference<T&> : std::true_type {};
73 : std::true_type {};
84 : std::true_type {};
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/
Dpropagate_on_container_move_assignment.pass.cpp32 std::true_type>::value), ""); in main()
36 std::true_type>::value), ""); in main()
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-internal-utils.h190 : public true_type {}; // NOLINT
195 : public true_type {}; // NOLINT
200 : public true_type {}; // NOLINT
341 template <typename T> struct is_reference<T&> : public true_type {};
345 template <typename T> struct type_equals<T, T> : public true_type {};
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h190 : public true_type {}; // NOLINT
195 : public true_type {}; // NOLINT
200 : public true_type {}; // NOLINT
341 template <typename T> struct is_reference<T&> : public true_type {};
345 template <typename T> struct type_equals<T, T> : public true_type {};
/external/catch2/include/internal/
Dcatch_type_traits.hpp18 inline constexpr auto is_unique = std::true_type{};
27 struct is_unique : std::true_type{};
/external/swiftshader/third_party/LLVM/include/llvm/Object/
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 { };

12345678910