/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 | 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()
|
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()
|
/external/libcxx/include/ |
D | cmath | 685 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 …]
|
D | atomic | 823 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_03 | 675 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/ |
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/libcxx/test/std/input.output/iostreams.base/stream.types/ |
D | streamoff.pass.cpp | 19 static_assert(std::is_integral<std::streamoff>::value, ""); in main()
|
D | streamsize.pass.cpp | 19 static_assert(std::is_integral<std::streamsize>::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 | ptrdiff_t.pass.cpp | 25 static_assert(std::is_integral<std::ptrdiff_t>::value, in main()
|
D | size_t.pass.cpp | 25 static_assert(std::is_integral<std::size_t>::value, in main()
|
/external/libcxx/test/std/utilities/time/ |
D | seconds.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 | microseconds.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 | nanoseconds.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|
D | hours.pass.cpp | 24 static_assert(std::is_integral<Rep>::value, ""); in main()
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | rvalue_ref.pass.cpp | 23 static_assert(!std::is_integral<T>::value, ""); in test_rvalue_ref()
|