Home
last modified time | relevance | path

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

123456

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h89 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 …]
Dtype_traits_unittest.cc175 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/
Dis_integral.pass.cpp21 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()
Dintegral.pass.cpp24 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/
Dclamped_math_impl.h25 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 …]
Dchecked_math_impl.h25 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 …]
Dsafe_conversions.h55 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> {
Dsafe_conversions_arm_impl.h21 std::is_signed<Src>::value && std::is_integral<Dst>::value &&
22 std::is_integral<Src>::value &&
Dsafe_math_shared_impl.h114 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/
Dsafe_math_impl.h32 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/
Dmath.h337 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/
Dscalar_analysis.h192 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/
Dscalar_analysis.h192 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/
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.cpp25 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()
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()
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.cpp25 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/
Dbounds_check.h32 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/
DMeta.h100 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/
DSkTFitsIn.h56 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/
Dcatch_generators_specific.hpp67 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/
Dstddef_h.pass.cpp35 static_assert(std::is_integral<size_t>::value, in main()
41 static_assert(std::is_integral<ptrdiff_t>::value, in main()

123456