Home
last modified time | relevance | path

Searched refs:make_unsigned (Results 1 – 25 of 118) sorted by relevance

12345

/third_party/boost/libs/type_traits/test/
Dmake_unsigned_test.cpp16 TT_TEST_BEGIN(make_unsigned)
18 BOOST_CHECK_TYPE(::tt::make_unsigned<signed char>::type, unsigned char);
19 BOOST_CHECK_TYPE(::tt::make_unsigned<short>::type, unsigned short);
20 BOOST_CHECK_TYPE(::tt::make_unsigned<int>::type, unsigned int);
21 BOOST_CHECK_TYPE(::tt::make_unsigned<long>::type, unsigned long);
23 BOOST_CHECK_TYPE(::tt::make_unsigned<boost::long_long_type>::type, boost::ulong_long_type);
25 BOOST_CHECK_TYPE(::tt::make_unsigned<__int64>::type, unsigned __int64);
28 BOOST_CHECK_TYPE(::tt::make_unsigned<const signed char>::type, const unsigned char);
29 BOOST_CHECK_TYPE(::tt::make_unsigned<const short>::type, const unsigned short);
30 BOOST_CHECK_TYPE(::tt::make_unsigned<const int>::type, const unsigned int);
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_int.hpp73 using std::make_unsigned;
129 struct make_unsigned struct
133 struct make_unsigned<char> struct
139 struct make_unsigned<short> struct
145 struct make_unsigned<int> struct
151 struct make_unsigned<long> struct
157 struct make_unsigned<unsigned char> struct
163 struct make_unsigned<unsigned short> struct
169 struct make_unsigned<unsigned int> struct
175 struct make_unsigned<unsigned long> struct
[all …]
Dfunc_integer.inl320 …vecType<typename detail::make_unsigned<T>::type, P> x(*reinterpret_cast<vecType<typename detail::m…
321make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8>= 2>::call(x, typ…
322make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8>= 4>::call(x, typ…
323make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8>= 8>::call(x, typ…
324make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8>= 16>::call(x, typ…
325make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8>= 32>::call(x, typ…
326make_unsigned<T>::type, P, vecType, detail::is_aligned<P>::value, sizeof(T) * 8>= 64>::call(x, typ…
/third_party/boost/libs/type_traits/doc/
Dmake_unsigned.qbk8 [section:make_unsigned make_unsigned]
11 struct make_unsigned
16 template <class T> using make_unsigned_t = typename make_unsigned<T>::type; // C++11 and above
33 __header ` #include <boost/type_traits/make_unsigned.hpp>` or ` #include <boost/type_traits.hpp>`
39 [[`make_unsigned<int>::type`][`unsigned int`]]
41 [[`make_unsigned<unsigned int const>::type`] [`unsigned int const`]]
43 [[`make_unsigned<const unsigned long long>::type`] [`const unsigned long long`]]
45 [[`make_unsigned<my_enum>::type`] [An unsigned integer type with the same width as the enum.]]
46 [[`make_unsigned<wchar_t>::type`] [An unsigned integer type with the same width as wchar_t.]]
/third_party/boost/libs/math/test/
Dtest_hypergeometric_dist.cpp110 inline unsigned make_unsigned(T x) in make_unsigned() function
115 inline unsigned make_unsigned(boost::math::concepts::real_concept x) in make_unsigned() function
123 …boost::math::hypergeometric_distribution<T> d(make_unsigned(r), make_unsigned(n), make_unsigned(N)… in pdf_tester()
130 …boost::math::hypergeometric_distribution<T> d(make_unsigned(r), make_unsigned(n), make_unsigned(N)… in cdf_tester()
137 …boost::math::hypergeometric_distribution<T> d(make_unsigned(r), make_unsigned(n), make_unsigned(N)… in ccdf_tester()
220 unsigned r = make_unsigned(data[i][0]); in do_test_hypergeometric_quantile()
221 unsigned n = make_unsigned(data[i][1]); in do_test_hypergeometric_quantile()
222 unsigned N = make_unsigned(data[i][2]); in do_test_hypergeometric_quantile()
223 unsigned x = make_unsigned(data[i][3]); in do_test_hypergeometric_quantile()
/third_party/boost/boost/safe_numerics/
Dsafe_compare.hpp21 using make_unsigned = typename std::conditional< typedef
23 std::make_unsigned<T>,
47 static_cast<const typename make_unsigned<U>::type &>(u) in invoke()
62 static_cast<const typename make_unsigned<T>::type &>(t), in invoke()
127 static_cast<const typename make_unsigned<U>::type &>(u) in invoke()
142 static_cast<const typename make_unsigned<T>::type &>(t), in invoke()
/third_party/boost/boost/histogram/detail/
Dsafe_comparison.hpp19 auto make_unsigned(const T& t) noexcept { in make_unsigned() function
43 return t >= 0 && make_unsigned(t) == u; in impl()
66 return t < 0 || make_unsigned(t) < u; in impl()
71 return 0 < u && t < make_unsigned(u); in impl()
/third_party/boost/boost/move/detail/
Diterator_traits.hpp50 typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type;
61 typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type;
72 typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type;
/third_party/boost/boost/random/
Dtraits.hpp35 typedef typename boost::make_unsigned<T>::type type;
56 struct make_unsigned struct
65 typedef typename boost::make_unsigned<T>::type type;
Duniform_smallint.hpp245 typedef typename boost::random::traits::make_unsigned<base_result>::type base_unsigned; in generate()
280 typedef typename boost::random::traits::make_unsigned<result_type>::type range_type; in generate()
/third_party/boost/boost/multiprecision/detail/
Dbitscan.hpp95 typedef typename make_unsigned<Unsigned>::type ui_type; in find_lsb()
121 typedef typename make_unsigned<Unsigned>::type ui_type; in find_msb()
215 typedef typename make_unsigned<Unsigned>::type ui_type; in find_lsb()
238 typedef typename make_unsigned<Unsigned>::type ui_type; in find_msb()
270 typedef typename make_unsigned<Unsigned>::type ui_type; in find_lsb()
287 typedef typename make_unsigned<Unsigned>::type ui_type; in find_msb()
/third_party/boost/boost/atomic/detail/type_traits/
Dmake_unsigned.hpp34 using std::make_unsigned;
36 using boost::make_unsigned;
/third_party/boost/boost/spirit/home/support/
Dutf8.hpp35 typedef typename make_unsigned<Char>::type UChar; in to_utf8()
48 typedef typename make_unsigned<Char>::type UChar; in to_utf8()
63 typedef typename make_unsigned<Char>::type UChar; in to_utf8()
/third_party/boost/boost/spirit/home/x3/support/utility/
Dutf8.hpp30 typedef typename make_unsigned<Char>::type UChar; in to_utf8()
43 typedef typename make_unsigned<Char>::type UChar; in to_utf8()
58 typedef typename make_unsigned<Char>::type UChar; in to_utf8()
/third_party/boost/boost/atomic/detail/
Dintegral_conversions.hpp37 …detail::bitwise_cast< Output >(static_cast< typename atomics::detail::make_unsigned< Output >::typ… in zero_extend_impl()
38 static_cast< typename atomics::detail::make_unsigned< Input >::type >(input))); in zero_extend_impl()
44 …return static_cast< Output >(static_cast< typename atomics::detail::make_unsigned< Input >::type >… in zero_extend_impl()
Dintegral_extend.hpp36 …detail::bitwise_cast< Output >(static_cast< typename atomics::detail::make_unsigned< Output >::typ… in zero_extend_impl()
37 static_cast< typename atomics::detail::make_unsigned< Input >::type >(input))); in zero_extend_impl()
43 …return static_cast< Output >(static_cast< typename atomics::detail::make_unsigned< Input >::type >… in zero_extend_impl()
/third_party/flatbuffers/include/flatbuffers/
Dstl_emulation.h162 template <typename T> using make_unsigned = std::make_unsigned<T>; variable
178 template<typename T> struct make_unsigned { struct
182 template<> struct make_unsigned<char> { using type = unsigned char; }; argument
183 template<> struct make_unsigned<short> { using type = unsigned short; };
184 template<> struct make_unsigned<int> { using type = unsigned int; };
185 template<> struct make_unsigned<long> { using type = unsigned long; };
187 struct make_unsigned<long long> { using type = unsigned long long; };
203 template <typename T> struct make_unsigned : public std::make_unsigned<T> {};
/third_party/boost/boost/random/detail/
Dint_float_pair.hpp34 inline typename boost::make_unsigned<typename Engine::result_type>::type
38 typedef typename boost::make_unsigned<base_result>::type base_unsigned; in generate_one_digit()
55 typedef typename boost::make_unsigned<base_result>::type base_unsigned; in generate_int_float_pair()
/third_party/boost/boost/algorithm/string/detail/
Dcase_conv.hpp44 … return std::tolower( static_cast<typename boost::make_unsigned <CharT>::type> ( Ch )); in operator ()()
66 … return std::toupper( static_cast<typename boost::make_unsigned <CharT>::type> ( Ch )); in operator ()()
/third_party/boost/boost/type_traits/
Dmake_unsigned.hpp28 struct make_unsigned struct
129 template <class T> using make_unsigned_t = typename make_unsigned<T>::type;
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_math_shared_impl.h141 using type = typename std::make_unsigned<Numeric>::type;
158 using UnsignedT = typename std::make_unsigned<T>::type;
170 constexpr typename std::make_unsigned<T>::type InvertWrapper(T value)
/third_party/gn/src/base/numerics/
Dsafe_math_shared_impl.h119 using type = typename std::make_unsigned<Numeric>::type;
135 using UnsignedT = typename std::make_unsigned<T>::type;
149 constexpr typename std::make_unsigned<T>::type InvertWrapper(T value) {
Dchecked_math_impl.h28 using UnsignedDst = typename std::make_unsigned<T>::type; in CheckedAddImpl()
88 using UnsignedDst = typename std::make_unsigned<T>::type;
148 using UnsignedDst = typename std::make_unsigned<T>::type;
328 using result_type = typename std::make_unsigned<
347 using result_type = typename std::make_unsigned<
366 using result_type = typename std::make_unsigned<
/third_party/boost/libs/range/test/
Dextension_size.cpp188 boost::make_unsigned<std::ptrdiff_t>::type,
194 typedef boost::make_unsigned<std::ptrdiff_t>::type t1;
/third_party/boost/libs/ratio/example/type_traits/detail/
Dcommon_type.hpp246 typename make_unsigned<V>::type,
247 typename make_unsigned<W>::type,

12345