Home
last modified time | relevance | path

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

123456

/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/libchrome/base/
Dtemplate_util.h25 typedef integral_constant<bool, true> true_type; typedef
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 {};
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h97 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 { };
112 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.hel/
Dintegral_constant.pass.cpp31 static_assert ( std::true_type{}(), "" ); in main()
38 static_assert(std::true_type::value == true, ""); in main()
39 static_assert((std::is_same<std::true_type::value_type, bool>::value), ""); in main()
40 static_assert((std::is_same<std::true_type::type, std::true_type>::value), ""); in main()
46 std::true_type t1; in main()
47 std::true_type t2 = t1; in main()
/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_copy_assignment.pass.cpp27 typedef std::true_type propagate_on_container_copy_assignment;
38 …::allocator_traits<A<char> >::propagate_on_container_copy_assignment, std::true_type>::value), ""); in main()
Dpropagate_on_container_swap.pass.cpp27 typedef std::true_type propagate_on_container_swap;
38 …is_same<std::allocator_traits<A<char> >::propagate_on_container_swap, std::true_type>::value), ""); in main()
Dpropagate_on_container_move_assignment.pass.cpp27 typedef std::true_type propagate_on_container_move_assignment;
38 …::allocator_traits<A<char> >::propagate_on_container_move_assignment, 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/libcxx/test/std/containers/associative/set/set.special/
Dswap_noexcept.pass.cpp37 typedef std::true_type propagate_on_container_swap;
48 typedef std::true_type propagate_on_container_swap;
65 typedef std::true_type propagate_on_container_swap;
78 typedef std::true_type is_always_equal;
/external/libcxx/test/std/containers/associative/multiset/multiset.special/
Dswap_noexcept.pass.cpp37 typedef std::true_type propagate_on_container_swap;
48 typedef std::true_type propagate_on_container_swap;
65 typedef std::true_type propagate_on_container_swap;
78 typedef std::true_type is_always_equal;
/external/libcxx/test/std/containers/associative/multimap/multimap.special/
Dswap_noexcept.pass.cpp37 typedef std::true_type propagate_on_container_swap;
48 typedef std::true_type propagate_on_container_swap;
65 typedef std::true_type propagate_on_container_swap;
78 typedef std::true_type is_always_equal;
/external/libcxx/test/std/containers/associative/map/map.special/
Dswap_noexcept.pass.cpp37 typedef std::true_type propagate_on_container_swap;
48 typedef std::true_type propagate_on_container_swap;
65 typedef std::true_type propagate_on_container_swap;
78 typedef std::true_type is_always_equal;
/external/skia/include/private/
DSkTLogic.h46 template <typename R, typename... Args> struct is_function<R(Args...)> : std::true_type {};
48 template <typename R, typename... Args> struct is_function<R __cdecl (Args...)> : std::true_type {};
50 template <typename R, typename... Args> struct is_function<R __stdcall (Args...)> : std::true_type
51 template <typename R, typename... Args> struct is_function<R __fastcall (Args...)> : std::true_type
54 …te <typename R, typename... Args> struct is_function<R __vectorcall (Args...)> : std::true_type {};
57 template <typename R, typename... Args> struct is_function<R(Args..., ...)> : 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/libcxx/test/std/strings/basic.string/string.nonmembers/string.special/
Dswap_noexcept.pass.cpp36 typedef std::true_type propagate_on_container_swap;
49 typedef std::true_type is_always_equal;
/external/libcxx/test/std/containers/sequences/vector.bool/
Dswap_noexcept.pass.cpp36 typedef std::true_type propagate_on_container_swap;
49 typedef std::true_type is_always_equal;
/external/libcxx/include/
D__tuple73 template <class... _Tp> struct __tuple_like<tuple<_Tp...> > : true_type {};
95 template <class _T1, class _T2> struct __tuple_like<pair<_T1, _T2> > : true_type {};
118 template <class _Tp, size_t _Size> struct __tuple_like<array<_Tp, _Size> > : true_type {};
148 struct __lazy_and_impl<true> : true_type {};
222 template <class... _Tp> struct __tuple_like<__tuple_types<_Tp...> > : true_type {};
271 : public true_type {};
308 : public true_type {};
345 : public true_type {};
/external/libcxx/test/std/containers/sequences/deque/deque.special/
Dswap_noexcept.pass.cpp36 typedef std::true_type propagate_on_container_swap;
49 typedef std::true_type is_always_equal;
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/
Dswap_noexcept.pass.cpp36 typedef std::true_type propagate_on_container_swap;
49 typedef std::true_type is_always_equal;
/external/libcxx/test/std/utilities/memory/default.allocator/
Dallocator_types.pass.cpp47 …static_assert((std::is_same<std::allocator< char>::is_always_equal, std::true_type>::value), … in main()
48 …static_assert((std::is_same<std::allocator<const char>::is_always_equal, std::true_type>::value), … in main()
/external/libcxx/test/std/containers/sequences/list/list.special/
Dswap_noexcept.pass.cpp36 typedef std::true_type propagate_on_container_swap;
49 typedef std::true_type is_always_equal;

123456