Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/boost/libs/type_traits/test/
Dis_integral_test.cpp15 TT_TEST_BEGIN(is_integral)
17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<bool>::value, true);
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<bool const>::value, true);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<bool volatile>::value, true);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<bool const volatile>::value, true);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<signed char>::value, true);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<signed char const>::value, true);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<signed char volatile>::value, true);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<signed char const volatile>::value, true);
26 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_integral<unsigned char>::value, true);
[all …]
/third_party/boost/boost/type_traits/
Dis_integral.hpp19 struct is_integral : public integral_constant<bool, __is_integral(T)> {}; struct
22 template <class T> struct is_integral : public false_type {};
23 template <class T> struct is_integral<const T> : public is_integral<T> {};
24 template <class T> struct is_integral<volatile const T> : public is_integral<T>{};
25 template <class T> struct is_integral<volatile T> : public is_integral<T>{};
30 template<> struct is_integral<unsigned char> : public true_type {};
31 template<> struct is_integral<unsigned short> : public true_type{};
32 template<> struct is_integral<unsigned int> : public true_type{};
33 template<> struct is_integral<unsigned long> : public true_type{};
35 template<> struct is_integral<signed char> : public true_type{};
[all …]
/third_party/boost/boost/multiprecision/
Dinteger.hpp16 inline BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value && is_integral<I2>…
22 inline BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value && is_integral<I2>…
28 inline BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value && is_integral<I2>…
35 inline BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value>::type divide_qr(c… in divide_qr()
42 inline BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<I1>::value && is_integral<I2>::val… in integer_modulus()
78 …OOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<I1>::value && is_unsigned<I2>::value && i…
101 …BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<I1>::value && is_signed<I2>::value && is…
112 BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value, unsigned>::type lsb(cons… in lsb()
129 BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value, unsigned>::type msb(Inte… in msb()
146 BOOST_MP_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value, bool>::type bit_test(con… in bit_test()
[all …]
/third_party/boost/libs/type_traits/doc/
Dis_integral.qbk8 [section:is_integral is_integral]
10 struct is_integral : public __tof {};
19 __header ` #include <boost/type_traits/is_integral.hpp>` or ` #include <boost/type_traits.hpp>`
23 [:`is_integral<int>` inherits from `__true_type`.]
25 [:`is_integral<const char>::type` is the type `__true_type`.]
27 [:`is_integral<long>::value` is an integral constant
30 [:`is_integral<T>::value_type` is the type `bool`.]
/third_party/boost/boost/log/utility/functional/
Dlogical.hpp76 …return op(left, right, integral_constant< bool, is_integral< T >::value && is_integral< U >::value… in operator ()()
101 …return op(left, right, integral_constant< bool, is_integral< T >::value && is_integral< U >::value… in operator ()()
126 …return op(left, right, integral_constant< bool, is_integral< T >::value && is_integral< U >::value… in operator ()()
151 …return op(left, right, integral_constant< bool, is_integral< T >::value && is_integral< U >::value… in operator ()()
176 …return op(left, right, integral_constant< bool, is_integral< T >::value && is_integral< U >::value… in operator ()()
201 …return op(left, right, integral_constant< bool, is_integral< T >::value && is_integral< U >::value… in operator ()()
/third_party/boost/boost/endian/detail/
Dendian_store.hpp87 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
100 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
115 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
128 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
143 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
157 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
173 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
188 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
205 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
218 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
[all …]
Dendian_load.hpp92 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
107 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
124 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
143 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
164 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
183 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
204 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
221 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
240 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
264 BOOST_STATIC_ASSERT( is_integral<T>::value || is_enum<T>::value ); in operator ()()
[all …]
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dclamped_math_impl.h29 typename std::enable_if<std::is_integral<T>::value && std::is_signed<T>::value>::type * =
41 typename std::enable_if<std::is_integral<T>::value && !std::is_signed<T>::value>::type * =
54 template <typename T, typename std::enable_if<std::is_integral<T>::value>::type * = nullptr>
82 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
109 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
137 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
161 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
184 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
205 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
233 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
[all …]
Dchecked_math_impl.h30 static_assert(std::is_integral<T>::value, "Type must be integral"); in CheckedAddImpl()
55 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
100 static_assert(std::is_integral<T>::value, "Type must be integral");
124 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
169 static_assert(std::is_integral<T>::value, "Type must be integral");
196 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
248 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
293 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
332 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
368 typename std::enable_if<std::is_integral<T>::value && std::is_integral<U>::value>::type>
[all …]
Dsafe_conversions.h66 typename std::enable_if<std::is_integral<Dst>::value && std::is_integral<Src>::value &&
85 typename std::enable_if<std::is_integral<Dst>::value && std::is_integral<Src>::value &&
156 : (std::is_integral<Src>::value || !constraint.IsUnderflowFlagSet()
179 typename std::enable_if<std::is_integral<Src>::value && std::is_integral<Dst>::value &&
190 typename std::enable_if<std::is_integral<Src>::value && std::is_integral<Dst>::value &&
377 typename = std::enable_if_t<std::is_integral<Dst>::value && std::is_floating_point<Src>::value>>
385 typename = std::enable_if_t<std::is_integral<Dst>::value && std::is_floating_point<Src>::value>>
393 typename = std::enable_if_t<std::is_integral<Dst>::value && std::is_floating_point<Src>::value>>
/third_party/gn/src/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 …]
/third_party/boost/libs/hana/example/
Dremove_if.cpp19 constexpr auto is_integral = hana::compose(hana::trait<std::is_integral>, hana::typeid_); variable
21 static_assert(hana::remove_if(hana::make_tuple(1, 2.0, 3, 4.0), is_integral) == hana::make_tuple(2.…
22 static_assert(hana::remove_if(hana::just(3.0), is_integral) == hana::just(3.0), "");
23 BOOST_HANA_CONSTANT_CHECK(hana::remove_if(hana::just(3), is_integral) == hana::nothing);
Dfilter.cpp19 constexpr auto is_integral = hana::compose(hana::trait<std::is_integral>, hana::typeid_); variable
21 static_assert(hana::filter(hana::make_tuple(1, 2.0, 3, 4.0), is_integral) == hana::make_tuple(1, 3)…
22 static_assert(hana::filter(hana::just(3), is_integral) == hana::just(3), "");
23 BOOST_HANA_CONSTANT_CHECK(hana::filter(hana::just(3.0), is_integral) == hana::nothing);
/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/mesa3d/src/compiler/nir/
Dnir_range_analysis.c49 return (void *)(uintptr_t)(r.range | r.is_integral << 8 | r.is_finite << 9 | in pack_data()
60 .is_integral = (v & 0x00100) != 0, in unpack_data()
127 r.is_integral = true; in analyze_constant()
136 r.is_integral = false; in analyze_constant()
591 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
616 r.is_integral = true; in analyze_expression()
653 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()
695 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
781 r.is_integral = left.is_integral && right.is_integral; in analyze_expression()
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/
Dstring_param.hpp52 std::is_integral<T>::value>::type
57 ! std::is_integral<T>::value &&
67 std::is_integral<T>::value>::type
72 ! std::is_integral<T>::value>::type
/third_party/boost/boost/beast/core/
Dstring_param.hpp52 std::is_integral<T>::value>::type
57 ! std::is_integral<T>::value &&
67 std::is_integral<T>::value>::type
72 ! std::is_integral<T>::value>::type
/third_party/boost/boost/random/
Dtraits.hpp58 : public make_unsigned_imp < T, boost::is_integral<T>::value >
88 : public make_unsigned_or_unbounded_imp < T, boost::is_integral<T>::value >
94 struct is_integral struct
95 : public mpl::bool_<boost::is_integral<T>::value || (std::numeric_limits<T>::is_integer)>
/third_party/boost/libs/hof/test/
Dif.cpp39 boost::hof::if_(std::is_integral<T>())(F()), in operator ()()
75 boost::hof::if_c<std::is_integral<T>::value>(F()), in operator ()()
110 boost::hof::if_(std::is_integral<T>())(boost::hof::_ + boost::hof::_), in operator ()()
133 boost::hof::if_c<std::is_integral<T>::value>(boost::hof::_ + boost::hof::_), in operator ()()
152 …static_assert(noexcept(boost::hof::if_(std::is_integral<int>())(boost::hof::identity)(1)), "noexce… in BOOST_HOF_TEST_CASE()
/third_party/boost/boost/algorithm/
Dhex.hpp123 …typename boost::enable_if<boost::is_integral<typename hex_iterator_traits<OutputIterator>::value_t…
151 typename boost::enable_if<boost::is_integral<typename detail::hex_iterator_traits<InputIterator>::v…
168 typename boost::enable_if<boost::is_integral<typename detail::hex_iterator_traits<InputIterator>::v…
184 typename boost::enable_if<boost::is_integral<T>, OutputIterator>::type
200 typename boost::enable_if<boost::is_integral<T>, OutputIterator>::type
216 typename boost::enable_if<boost::is_integral<typename detail::hex_iterator_traits<typename Range::i…
230 typename boost::enable_if<boost::is_integral<typename detail::hex_iterator_traits<typename Range::i…
/third_party/boost/boost/beast/core/impl/
Dstring_param.hpp18 std::is_integral<T>::value>::type
32 ! std::is_integral<T>::value &&
54 std::is_integral<T>::value>::type
69 ! std::is_integral<T>::value>::type
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dstring_param.hpp18 std::is_integral<T>::value>::type
32 ! std::is_integral<T>::value &&
54 std::is_integral<T>::value>::type
69 ! std::is_integral<T>::value>::type

12345678910>>...16