Home
last modified time | relevance | path

Searched refs:is_integral (Results 1 – 25 of 49) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h69 template <class T> struct is_integral;
96 template <class T> struct is_integral : false_type { }; struct
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 { };
[all …]
Dtype_traits_unittest.cc172 EXPECT_TRUE(is_integral<bool>::value); in TEST()
173 EXPECT_TRUE(is_integral<char>::value); in TEST()
174 EXPECT_TRUE(is_integral<unsigned char>::value); in TEST()
175 EXPECT_TRUE(is_integral<signed char>::value); in TEST()
176 EXPECT_TRUE(is_integral<wchar_t>::value); in TEST()
177 EXPECT_TRUE(is_integral<int>::value); in TEST()
178 EXPECT_TRUE(is_integral<unsigned int>::value); in TEST()
179 EXPECT_TRUE(is_integral<short>::value); in TEST()
180 EXPECT_TRUE(is_integral<unsigned short>::value); in TEST()
181 EXPECT_TRUE(is_integral<long>::value); in TEST()
[all …]
/external/libcxx/test/std/numerics/complex.number/cmplx.over/
Dpow.pass.cpp32 promote(T, typename std::enable_if<std::is_integral<T>::value>::type* = 0);
67 test(typename std::enable_if<std::is_integral<T>::value>::type* = 0, typename std::enable_if<!std:: in test()
75 test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0, typename std::enable_if<!std:… in test()
Darg.pass.cpp24 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test()
32 test(T x, typename std::enable_if<!std::is_integral<T>::value>::type* = 0) in test()
Dnorm.pass.cpp24 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test()
32 test(T x, typename std::enable_if<!std::is_integral<T>::value>::type* = 0) in test()
Dimag.pass.cpp24 test(typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test()
38 test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0) in test()
Dproj.pass.cpp26 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test()
42 test(T x, typename std::enable_if<!std::is_integral<T>::value && in test()
Dconj.pass.cpp26 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test()
42 test(T x, typename std::enable_if<!std::is_integral<T>::value && in test()
Dreal.pass.cpp24 test(typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test()
38 test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0) in test()
/external/libcxx/include/
Dcmath689 typename enable_if<is_integral<_A1>::value, double>::type
704 typename enable_if<is_integral<_A1>::value, double>::type
719 typename enable_if<is_integral<_A1>::value, double>::type
760 typename enable_if<is_integral<_A1>::value, double>::type
775 typename enable_if<is_integral<_A1>::value, double>::type
790 typename enable_if<is_integral<_A1>::value, double>::type
809 typename enable_if<is_integral<_A1>::value, double>::type
824 typename enable_if<is_integral<_A1>::value, double>::type
839 typename enable_if<is_integral<_A1>::value, double>::type
883 typename enable_if<is_integral<_A1>::value, double>::type
[all …]
D__functional_03472 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
484 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
491 !is_integral<_Fp>::value,
558 typename enable_if<!is_integral<_Fp>::value>::type*)
584 typename enable_if<!is_integral<_Fp>::value>::type*)
632 !is_integral<_Fp>::value,
769 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
781 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
788 !is_integral<_Fp>::value,
855 typename enable_if<!is_integral<_Fp>::value>::type*)
[all …]
Datomic820 template <class _Tp, bool = is_integral<_Tp>::value && !is_same<_Tp, bool>::value>
1303 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1315 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1345 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1357 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1388 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1400 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1430 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1442 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1473 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
[all …]
/external/libcxx/test/std/depr/depr.c.headers/
Dstddef_h.pass.cpp29 static_assert(std::is_integral<size_t>::value, in main()
35 static_assert(std::is_integral<ptrdiff_t>::value, in main()
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dtype_traits.hpp144 enum { is_integral = type_traits_detail::IsIntegral<unqualified_type>::value }; enumerator
146 enum { is_scalar = is_integral || is_float };
/external/libcxx/test/std/input.output/iostreams.base/stream.types/
Dstreamsize.pass.cpp19 static_assert(std::is_integral<std::streamsize>::value, ""); in main()
Dstreamoff.pass.cpp19 static_assert(std::is_integral<std::streamoff>::value, ""); in main()
/external/libcxx/test/std/depr/depr.ios.members/
Dstreamoff.pass.cpp23 static_assert((std::is_integral<std::ios_base::streamoff>::value), ""); in main()
/external/libcxx/test/std/language.support/support.types/
Dsize_t.pass.cpp25 static_assert(std::is_integral<std::size_t>::value, in main()
Dptrdiff_t.pass.cpp25 static_assert(std::is_integral<std::ptrdiff_t>::value, in main()
/external/libcxx/test/std/utilities/time/
Dhours.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dminutes.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dmicroseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dmilliseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dnanoseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()

12