/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits.h | 89 template <class T> struct is_integral; 123 template <class T> struct is_integral : false_type { }; 124 template<> struct is_integral<bool> : true_type { }; 125 template<> struct is_integral<char> : true_type { }; 126 template<> struct is_integral<unsigned char> : true_type { }; 127 template<> struct is_integral<signed char> : true_type { }; 132 template<> struct is_integral<__wchar_t> : true_type { }; 134 template<> struct is_integral<wchar_t> : true_type { }; 136 template<> struct is_integral<short> : true_type { }; 137 template<> struct is_integral<unsigned short> : true_type { }; [all …]
|
D | type_traits_unittest.cc | 175 EXPECT_TRUE(is_integral<bool>::value); in TEST() 176 EXPECT_TRUE(is_integral<char>::value); in TEST() 177 EXPECT_TRUE(is_integral<unsigned char>::value); in TEST() 178 EXPECT_TRUE(is_integral<signed char>::value); in TEST() 179 EXPECT_TRUE(is_integral<wchar_t>::value); in TEST() 180 EXPECT_TRUE(is_integral<int>::value); in TEST() 181 EXPECT_TRUE(is_integral<unsigned int>::value); in TEST() 182 EXPECT_TRUE(is_integral<short>::value); in TEST() 183 EXPECT_TRUE(is_integral<unsigned short>::value); in TEST() 184 EXPECT_TRUE(is_integral<long>::value); in TEST() [all …]
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | is_integral.pass.cpp | 21 static_assert( std::is_integral<T>::value, ""); in test_is_integral() 22 static_assert( std::is_integral<const T>::value, ""); in test_is_integral() 23 static_assert( std::is_integral<volatile T>::value, ""); in test_is_integral() 24 static_assert( std::is_integral<const volatile T>::value, ""); in test_is_integral() 36 static_assert(!std::is_integral<T>::value, ""); in test_is_not_integral() 37 static_assert(!std::is_integral<const T>::value, ""); in test_is_not_integral() 38 static_assert(!std::is_integral<volatile T>::value, ""); in test_is_not_integral() 39 static_assert(!std::is_integral<const volatile T>::value, ""); in test_is_not_integral()
|
D | integral.pass.cpp | 24 static_assert( std::is_integral<T>::value, ""); in test_integral_imp() 70 static_assert(!std::is_integral<incomplete_type>::value, ""); in main()
|
/external/libchrome/base/numerics/ |
D | clamped_math_impl.h | 25 typename std::enable_if<std::is_integral<T>::value && 36 typename std::enable_if<std::is_integral<T>::value && 50 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr> 77 typename std::enable_if<std::is_integral<T>::value && 78 std::is_integral<U>::value>::type> { 103 typename std::enable_if<std::is_integral<T>::value && 104 std::is_integral<U>::value>::type> { 130 typename std::enable_if<std::is_integral<T>::value && 131 std::is_integral<U>::value>::type> { 154 typename std::enable_if<std::is_integral<T>::value && [all …]
|
D | checked_math_impl.h | 25 static_assert(std::is_integral<T>::value, "Type must be integral"); in CheckedAddImpl() 47 typename std::enable_if<std::is_integral<T>::value && 48 std::is_integral<U>::value>::type> { 85 static_assert(std::is_integral<T>::value, "Type must be integral"); 107 typename std::enable_if<std::is_integral<T>::value && 108 std::is_integral<U>::value>::type> { 145 static_assert(std::is_integral<T>::value, "Type must be integral"); 169 typename std::enable_if<std::is_integral<T>::value && 170 std::is_integral<U>::value>::type> { 210 typename std::enable_if<std::is_integral<T>::value && [all …]
|
D | safe_conversions.h | 55 std::is_integral<Dst>::value && std::is_integral<Src>::value && 73 std::is_integral<Dst>::value && std::is_integral<Src>::value && 145 : (std::is_integral<Src>::value || !constraint.IsUnderflowFlagSet() 166 typename std::enable_if<std::is_integral<Src>::value && 167 std::is_integral<Dst>::value>::type> {
|
D | safe_conversions_arm_impl.h | 21 std::is_signed<Src>::value && std::is_integral<Dst>::value && 22 std::is_integral<Src>::value &&
|
D | safe_math_shared_impl.h | 114 bool IsInteger = std::is_integral<Numeric>::value, 134 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr> 149 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr> 155 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math_impl.h | 32 bool IsInteger = std::is_integral<Numeric>::value, 57 static_assert(std::is_integral<T>::value, "Type must be integral"); 79 typename std::enable_if<std::is_integral<T>::value && 80 std::is_integral<U>::value>::type> { 108 static_assert(std::is_integral<T>::value, "Type must be integral"); 130 typename std::enable_if<std::is_integral<T>::value && 131 std::is_integral<U>::value>::type> { 159 static_assert(std::is_integral<T>::value, "Type must be integral"); 183 typename std::enable_if<std::is_integral<T>::value && 184 std::is_integral<U>::value>::type> { [all …]
|
/external/libcxx/include/ |
D | math.h | 337 std::is_integral<_A1>::value && std::is_signed<_A1>::value, bool>::type 344 std::is_integral<_A1>::value && !std::is_signed<_A1>::value, bool>::type 361 std::is_integral<_A1>::value && std::is_signed<_A1>::value, bool>::type 368 std::is_integral<_A1>::value && !std::is_signed<_A1>::value, bool>::type 398 typename std::enable_if<std::is_integral<_A1>::value, int>::type 414 typename std::enable_if<std::is_integral<_A1>::value, int>::type 526 typename std::enable_if<std::is_integral<_A1>::value, bool>::type 570 typename std::enable_if<std::is_integral<_A1>::value, bool>::type 781 typename std::enable_if<std::is_integral<_A1>::value, double>::type 793 typename std::enable_if<std::is_integral<_A1>::value, double>::type [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | scalar_analysis.h | 192 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 199 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 205 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 210 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 227 typename std::enable_if<std::is_integral<T>::value, int>::type> 245 typename std::enable_if<std::is_integral<T>::value, int>::type> 259 typename std::enable_if<std::is_integral<T>::value, int>::type> 269 typename std::enable_if<std::is_integral<T>::value, int>::type> 275 typename std::enable_if<std::is_integral<T>::value, int>::type> 282 typename std::enable_if<std::is_integral<T>::value, int>::type> [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_analysis.h | 192 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 199 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 205 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 210 typename std::enable_if<std::is_integral<T>::value, int>::type = 0> 227 typename std::enable_if<std::is_integral<T>::value, int>::type> 245 typename std::enable_if<std::is_integral<T>::value, int>::type> 259 typename std::enable_if<std::is_integral<T>::value, int>::type> 269 typename std::enable_if<std::is_integral<T>::value, int>::type> 275 typename std::enable_if<std::is_integral<T>::value, int>::type> 282 typename std::enable_if<std::is_integral<T>::value, int>::type> [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 | 25 test(typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test() 39 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()
|
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 | 25 test(typename std::enable_if<std::is_integral<T>::value>::type* = 0) in test() 39 test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0) in test()
|
/external/tensorflow/tensorflow/core/framework/ |
D | bounds_check.h | 32 static_assert(std::is_integral<Ta>::value && std::is_integral<Tb>::value, in FastBoundsCheck() 46 static_assert(std::is_integral<T>::value, in SubtleMustCopy()
|
/external/eigen/Eigen/src/Core/util/ |
D | Meta.h | 100 template<typename T> struct is_integral { enum { value = false }; }; 101 template<> struct is_integral<bool> { enum { value = true }; }; 102 template<> struct is_integral<char> { enum { value = true }; }; 103 template<> struct is_integral<signed char> { enum { value = true }; }; 104 template<> struct is_integral<unsigned char> { enum { value = true }; }; 105 template<> struct is_integral<signed short> { enum { value = true }; }; 106 template<> struct is_integral<unsigned short> { enum { value = true }; }; 107 template<> struct is_integral<signed int> { enum { value = true }; }; 108 template<> struct is_integral<unsigned int> { enum { value = true }; }; 109 template<> struct is_integral<signed long> { enum { value = true }; }; [all …]
|
/external/skqp/include/private/ |
D | SkTFitsIn.h | 56 typename std::enable_if<(std::is_integral<S>::value || std::is_enum<S>::value) && 57 (std::is_integral<D>::value || std::is_enum<D>::value), bool>::type
|
/external/catch2/include/internal/ |
D | catch_generators_specific.hpp | 67 typename std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value, 120 …static_assert(std::is_integral<T>::value && !std::is_same<T, bool>::value, "Type must be an intege… in range() 126 …static_assert(std::is_integral<T>::value && !std::is_same<T, bool>::value, "Type must be an intege… in range()
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | stddef_h.pass.cpp | 35 static_assert(std::is_integral<size_t>::value, in main() 41 static_assert(std::is_integral<ptrdiff_t>::value, in main()
|