Home
last modified time | relevance | path

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

12345678910>>...16

/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_integral.pass.cpp20 static_assert( std::is_integral<T>::value, ""); in test_is_integral()
21 static_assert( std::is_integral<const T>::value, ""); in test_is_integral()
22 static_assert( std::is_integral<volatile T>::value, ""); in test_is_integral()
23 static_assert( std::is_integral<const volatile T>::value, ""); in test_is_integral()
35 static_assert(!std::is_integral<T>::value, ""); in test_is_not_integral()
36 static_assert(!std::is_integral<const T>::value, ""); in test_is_not_integral()
37 static_assert(!std::is_integral<volatile T>::value, ""); in test_is_not_integral()
38 static_assert(!std::is_integral<const volatile T>::value, ""); in test_is_not_integral()
/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()
/external/llvm-project/clang/test/Headers/Inputs/include/
Dtype_traits21 // is_integral, for some types.
22 template <class _Tp> struct is_integral
24 template <> struct is_integral<bool>
26 template <> struct is_integral<char>
28 template <> struct is_integral<short>
30 template <> struct is_integral<int>
32 template <> struct is_integral<long>
34 template <> struct is_integral<long long>
/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 …]
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h32 bool IsInteger = std::is_integral<Numeric>::value,
61 static_assert(std::is_integral<T>::value, "Type must be integral");
83 typename std::enable_if<std::is_integral<T>::value &&
84 std::is_integral<U>::value>::type> {
112 static_assert(std::is_integral<T>::value, "Type must be integral");
134 typename std::enable_if<std::is_integral<T>::value &&
135 std::is_integral<U>::value>::type> {
163 static_assert(std::is_integral<T>::value, "Type must be integral");
187 typename std::enable_if<std::is_integral<T>::value &&
188 std::is_integral<U>::value>::type> {
[all …]
Dsafe_conversions.h56 std::is_integral<Dst>::value && std::is_integral<Src>::value &&
74 std::is_integral<Dst>::value && std::is_integral<Src>::value &&
146 : (std::is_integral<Src>::value || !constraint.IsUnderflowFlagSet()
167 typename std::enable_if<std::is_integral<Src>::value &&
168 std::is_integral<Dst>::value &&
178 typename std::enable_if<std::is_integral<Src>::value &&
179 std::is_integral<Dst>::value &&
/external/llvm-project/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
530 typename std::enable_if<std::is_integral<_A1>::value, bool>::type
574 typename std::enable_if<std::is_integral<_A1>::value, bool>::type
777 typename std::enable_if<std::is_integral<_A1>::value, double>::type
789 typename std::enable_if<std::is_integral<_A1>::value, double>::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/mesa3d/src/compiler/nir/
Dnir_range_analysis.c43 return (void *)(uintptr_t)(r.range | r.is_integral << 8); in pack_data()
115 r.is_integral = true; in analyze_constant()
122 r.is_integral = false; in analyze_constant()
560 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
625 r.is_integral = true; in analyze_expression()
660 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
680 r.is_integral = r.is_integral && is_not_negative(r.range); in analyze_expression()
691 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
756 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
821 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
[all …]
/external/openscreen/util/
Dsaturate_cast.h35 std::is_integral<From>::value && std::is_integral<To>::value &&
51 std::is_integral<From>::value && std::is_integral<To>::value &&
68 std::is_integral<From>::value && std::is_integral<To>::value &&
84 std::is_integral<To>::value,
126 std::is_integral<To>::value,
/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/angle/third_party/vulkan-deps/spirv-tools/src/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/pigweed/pw_minimal_cpp_stdlib/public/internal/
Dtype_traits.h110 struct is_integral : false_type {};
113 struct is_integral<bool> : true_type {};
115 struct is_integral<char> : true_type {};
117 struct is_integral<char16_t> : true_type {};
119 struct is_integral<char32_t> : true_type {};
121 struct is_integral<wchar_t> : true_type {};
124 struct is_integral<short> : true_type {};
126 struct is_integral<unsigned short> : true_type {};
128 struct is_integral<int> : true_type {};
130 struct is_integral<unsigned int> : true_type {};
[all …]
/external/webrtc/rtc_base/numerics/
Ddivide_round.h23 static_assert(std::is_integral<Dividend>(), ""); in DivideRoundUp()
24 static_assert(std::is_integral<Divisor>(), ""); in DivideRoundUp()
35 static_assert(std::is_integral<Dividend>(), ""); in DivideRoundToNearest()
36 static_assert(std::is_integral<Divisor>(), ""); in DivideRoundToNearest()
/external/pigweed/pw_minimal_cpp_stdlib/public/
Dtype_traits110 struct is_integral : false_type {};
113 struct is_integral<bool> : true_type {};
115 struct is_integral<char> : true_type {};
117 struct is_integral<char16_t> : true_type {};
119 struct is_integral<char32_t> : true_type {};
121 struct is_integral<wchar_t> : true_type {};
124 struct is_integral<short> : true_type {};
126 struct is_integral<unsigned short> : true_type {};
128 struct is_integral<int> : true_type {};
130 struct is_integral<unsigned int> : true_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()
/external/llvm-project/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()
/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/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Duniform_helper.h103 std::is_integral<IntType>,
134 std::is_integral<IntType>,
156 std::is_integral<IntType>,
204 absl::enable_if_t<std::is_integral<IntType>::value, bool>
213 typename std::conditional<std::is_integral<NumType>::value,
/external/angle/third_party/abseil-cpp/absl/random/internal/
Duniform_helper.h103 std::is_integral<IntType>,
134 std::is_integral<IntType>,
156 std::is_integral<IntType>,
204 absl::enable_if_t<std::is_integral<IntType>::value, bool>
213 typename std::conditional<std::is_integral<NumType>::value,
/external/openscreen/third_party/abseil/src/absl/random/internal/
Duniform_helper.h103 std::is_integral<IntType>,
134 std::is_integral<IntType>,
156 std::is_integral<IntType>,
204 absl::enable_if_t<std::is_integral<IntType>::value, bool>
213 typename std::conditional<std::is_integral<NumType>::value,
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Duniform_helper.h103 std::is_integral<IntType>,
134 std::is_integral<IntType>,
156 std::is_integral<IntType>,
204 absl::enable_if_t<std::is_integral<IntType>::value, bool>
213 typename std::conditional<std::is_integral<NumType>::value,

12345678910>>...16