Home
last modified time | relevance | path

Searched refs:is_integral (Results 1 – 25 of 46) 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()
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()
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()
/external/libcxx/include/
Dcmath685 typename enable_if<is_integral<_A1>::value, double>::type
700 typename enable_if<is_integral<_A1>::value, double>::type
715 typename enable_if<is_integral<_A1>::value, double>::type
756 typename enable_if<is_integral<_A1>::value, double>::type
771 typename enable_if<is_integral<_A1>::value, double>::type
786 typename enable_if<is_integral<_A1>::value, double>::type
805 typename enable_if<is_integral<_A1>::value, double>::type
820 typename enable_if<is_integral<_A1>::value, double>::type
835 typename enable_if<is_integral<_A1>::value, double>::type
879 typename enable_if<is_integral<_A1>::value, double>::type
[all …]
Datomic823 template <class _Tp, bool = is_integral<_Tp>::value && !is_same<_Tp, bool>::value>
1300 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1312 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1342 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1354 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1385 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1397 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1427 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1439 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
1470 is_integral<_Tp>::value && !is_same<_Tp, bool>::value,
[all …]
D__functional_03675 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
687 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
694 !is_integral<_Fp>::value,
761 typename enable_if<!is_integral<_Fp>::value>::type*)
787 typename enable_if<!is_integral<_Fp>::value>::type*)
840 !is_integral<_Fp>::value,
977 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
989 typename enable_if<!is_integral<_Fp>::value>::type* = 0);
996 !is_integral<_Fp>::value,
1063 typename enable_if<!is_integral<_Fp>::value>::type*)
[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/libcxx/test/std/input.output/iostreams.base/stream.types/
Dstreamoff.pass.cpp19 static_assert(std::is_integral<std::streamoff>::value, ""); in main()
Dstreamsize.pass.cpp19 static_assert(std::is_integral<std::streamsize>::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/
Dptrdiff_t.pass.cpp25 static_assert(std::is_integral<std::ptrdiff_t>::value, in main()
Dsize_t.pass.cpp25 static_assert(std::is_integral<std::size_t>::value, in main()
/external/libcxx/test/std/utilities/time/
Dseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dmilliseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dmicroseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dminutes.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dnanoseconds.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
Dhours.pass.cpp24 static_assert(std::is_integral<Rep>::value, ""); in main()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Drvalue_ref.pass.cpp23 static_assert(!std::is_integral<T>::value, ""); in test_rvalue_ref()

12