/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits.h | 69 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 …]
|
D | type_traits_unittest.cc | 172 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/ |
D | pow.pass.cpp | 32 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()
|
D | arg.pass.cpp | 24 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()
|
D | norm.pass.cpp | 24 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()
|
D | imag.pass.cpp | 24 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()
|
D | proj.pass.cpp | 26 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()
|
D | conj.pass.cpp | 26 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()
|
D | real.pass.cpp | 24 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/ |
D | cmath | 689 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_03 | 472 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 …]
|
D | atomic | 820 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/ |
D | stddef_h.pass.cpp | 29 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/ |
D | type_traits.hpp | 144 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/ |
D | streamsize.pass.cpp | 19 static_assert(std::is_integral<std::streamsize>::value, ""); in main()
|
D | streamoff.pass.cpp | 19 static_assert(std::is_integral<std::streamoff>::value, ""); in main()
|
/external/libcxx/test/std/depr/depr.ios.members/ |
D | streamoff.pass.cpp | 23 static_assert((std::is_integral<std::ios_base::streamoff>::value), ""); in main()
|
/external/libcxx/test/std/language.support/support.types/ |
D | size_t.pass.cpp | 25 static_assert(std::is_integral<std::size_t>::value, in main()
|
D | ptrdiff_t.pass.cpp | 25 static_assert(std::is_integral<std::ptrdiff_t>::value, in main()
|
/external/libcxx/test/std/utilities/time/ |
D | hours.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|
D | minutes.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|
D | microseconds.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|
D | milliseconds.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|
D | nanoseconds.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|
D | seconds.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|