/third_party/boost/boost/type_traits/ |
D | is_unsigned.hpp | 69 struct is_unsigned struct 79 template <class T> struct is_unsigned : public integral_constant<bool, boost::detail::is_unsigned<T… argument 83 template <class T> struct is_unsigned : public false_type{}; 88 template <class T> struct is_unsigned : public integral_constant<bool, __is_unsigned(T)> {}; 91 template <> struct is_unsigned<unsigned char> : public true_type{}; struct 92 template <> struct is_unsigned<const unsigned char> : public true_type{}; struct 93 template <> struct is_unsigned<volatile unsigned char> : public true_type{}; struct 94 template <> struct is_unsigned<const volatile unsigned char> : public true_type{}; struct 95 template <> struct is_unsigned<unsigned short> : public true_type{}; struct 96 template <> struct is_unsigned<const unsigned short> : public true_type{}; struct [all …]
|
/third_party/boost/libs/type_traits/test/ |
D | is_unsigned_test.cpp | 19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<int>::value, false); 20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<long>::value, false); 21 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<short>::value, false); 22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<signed char>::value, false); 23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<unsigned int>::value, true); 24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<unsigned long>::value, true); 25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<unsigned short>::value, true); 26 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<unsigned char>::value, true); 28 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<UDT>::value, false); 29 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned<unsigned&>::value, false); [all …]
|
D | make_unsigned_test.cpp | 106 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned< ::tt::make_unsigned<wchar_t>::type>::value, true); 108 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_unsigned< ::tt::make_unsigned<enum_UDT>::type>::value, true);
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
D | enum-sign-gcc.c | 13 #define is_unsigned(X) ((typeof(X))-1 > 0) macro 20 _Static_assert(is_unsigned(enum u), "enum u"); 21 _Static_assert(is_unsigned(U) == 0, "value U"); // fail 28 _Static_assert(is_unsigned(enum v), "enum v"); 29 _Static_assert(is_unsigned(V) == 1, "value V"); 35 _Static_assert(is_unsigned(enum w), "enum w"); 36 _Static_assert(is_unsigned(W) == 1, "value W"); 43 _Static_assert(is_unsigned(enum x), "enum x"); 45 _Static_assert(is_unsigned(A) == 0, "enum A"); // fail 47 _Static_assert(is_unsigned(B) == 1, "enum B"); [all …]
|
/third_party/boost/libs/type_traits/doc/ |
D | is_unsigned.qbk | 8 [section:is_unsigned is_unsigned] 11 struct is_unsigned : public __tof {}; 21 __header ` #include <boost/type_traits/is_unsigned.hpp>` or ` #include <boost/type_traits.hpp>` 25 [:`is_unsigned<unsigned int>` inherits from `__true_type`.] 27 [:`is_unsigned<unsigned int const volatile>::type` is the type `__true_type`.] 29 [:`is_unsigned<int>::value` is an integral constant 32 [:`is_unsigned<myclass>::value` is an integral constant 35 [:`is_unsigned<char>::value` is an integral constant 38 [:`is_unsigned<unsigned long long>::value` is an integral constant 41 [:`is_unsigned<T>::value_type` is the type `bool`.]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
D | bits.h | 57 typename std::enable_if<std::is_unsigned<T>::value, T>::type 64 typename std::enable_if<std::is_unsigned<T>::value, T>::type 76 typename std::enable_if<std::is_unsigned<T>::value, int>::type 83 typename std::enable_if<std::is_unsigned<T>::value, int>::type 91 typename std::enable_if<std::is_unsigned<T>::value, int>::type 98 typename std::enable_if<std::is_unsigned<T>::value, int>::type 106 typename std::enable_if<std::is_unsigned<T>::value, int>::type 125 constexpr inline typename std::enable_if<std::is_unsigned<T>::value, bool>::type 134 typename std::enable_if<std::is_unsigned<T>::value, T>::type 143 typename std::enable_if<std::is_unsigned<T>::value, T>::type [all …]
|
/third_party/boost/boost/wave/grammars/ |
D | cpp_intlit_grammar.hpp | 66 intlit_grammar(bool &is_unsigned_) : is_unsigned(is_unsigned_) in intlit_grammar() 95 (ch_p('u')[phx::var(self.is_unsigned) = true] || ch_p('l')) in definition() 96 | (ch_p('l') || ch_p('u')[phx::var(self.is_unsigned) = true]) in definition() 105 phx::var(self.is_unsigned) = true in definition() 113 phx::var(self.is_unsigned) = true in definition() 137 bool &is_unsigned; member 159 bool &is_unsigned) in evaluate() argument 163 intlit_grammar g(is_unsigned); in evaluate()
|
D | cpp_literal_grammar_gen.hpp | 45 static uint_literal_type evaluate(TokenT const &tok, bool &is_unsigned);
|
/third_party/boost/boost/geometry/util/ |
D | promote_integral.hpp | 181 static bool const is_unsigned = boost::is_unsigned<T>::type::value; member in boost::geometry::promote_integral 234 (PromoteUnsignedToUnsigned && is_unsigned), 238 is_unsigned, 289 (is_unsigned && PromoteUnsignedToUnsigned),
|
/third_party/boost/boost/beast/core/detail/ |
D | clamp.hpp | 49 std::is_unsigned<U1>::value && in sum_exceeds() 50 std::is_unsigned<U2>::value && in sum_exceeds() 51 std::is_unsigned<U3>::value, ""); in sum_exceeds()
|
/third_party/boost/libs/beast/include/boost/beast/core/detail/ |
D | clamp.hpp | 49 std::is_unsigned<U1>::value && in sum_exceeds() 50 std::is_unsigned<U2>::value && in sum_exceeds() 51 std::is_unsigned<U3>::value, ""); in sum_exceeds()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/internal/ |
D | bits.h | 76 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in RotateRight() 87 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in RotateLeft() 125 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in Popcount() 235 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in CountLeadingZeroes() 318 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in CountTrailingZeroes() 336 typename std::enable_if<std::is_unsigned<T>::value, T>::type 343 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | CheckedArithmetic.h | 85 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type 94 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type 103 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
|
/third_party/skia/include/private/ |
D | SkTFitsIn.h | 78 (std::is_signed<S>::value && std::is_unsigned<D>::value && sizeof(S) <= sizeof(D)) ? 82 (std::is_signed<D>::value && std::is_unsigned<S>::value && sizeof(D) <= sizeof(S)) ?
|
/third_party/flutter/skia/include/private/ |
D | SkTFitsIn.h | 78 (std::is_signed<S>::value && std::is_unsigned<D>::value && sizeof(S) <= sizeof(D)) ? 82 (std::is_signed<D>::value && std::is_unsigned<S>::value && sizeof(D) <= sizeof(S)) ?
|
/third_party/abseil-cpp/absl/random/internal/ |
D | pool_urbg.h | 36 static_assert(std::is_unsigned<result_type>::value, 82 static_assert(std::is_unsigned<result_type>::value,
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | pool_urbg.h | 36 static_assert(std::is_unsigned<result_type>::value, 82 static_assert(std::is_unsigned<result_type>::value,
|
/third_party/flatbuffers/include/flatbuffers/ |
D | stl_emulation.h | 160 template <typename T> using is_unsigned = std::is_unsigned<T>; variable 175 template <typename T> using is_unsigned = std::tr1::is_unsigned<T>; variable 179 static_assert(is_unsigned<T>::value, "Specialization not implemented!"); 201 template <typename T> struct is_unsigned : public std::is_unsigned<T> {};
|
/third_party/boost/libs/gil/test/core/ |
D | promote_integral.cpp | 40 bool Signed = std::is_fundamental<T>::value && !std::is_unsigned<T>::type::value 63 bool Signed = !std::is_unsigned<Promoted>::value 194 bool IsSigned = !std::is_unsigned<T>::value
|
/third_party/abseil-cpp/absl/random/ |
D | uniform_int_distribution_test.cc | 49 const TypeParam kMin = std::is_unsigned<TypeParam>::value ? 37 : -105; in TYPED_TEST() 50 const TypeParam kNegOneOrZero = std::is_unsigned<TypeParam>::value ? 0 : -1; in TYPED_TEST() 183 const TypeParam min = std::is_unsigned<TypeParam>::value ? 37 : -37; in TYPED_TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | uniform_int_distribution_test.cc | 49 const TypeParam kMin = std::is_unsigned<TypeParam>::value ? 37 : -105; in TYPED_TEST() 50 const TypeParam kNegOneOrZero = std::is_unsigned<TypeParam>::value ? 0 : -1; in TYPED_TEST() 183 const TypeParam min = std::is_unsigned<TypeParam>::value ? 37 : -37; in TYPED_TEST()
|
/third_party/boost/boost/multiprecision/cpp_int/ |
D | comparison.hpp | 201 …is_unsigned<U>::value && is_trivial_cpp_int<cpp_int_backend<MinBits, MaxBits, signed_magnitude, Ch… 217 …is_unsigned<U>::value && is_trivial_cpp_int<cpp_int_backend<MinBits, MaxBits, unsigned_magnitude, … 261 …is_unsigned<U>::value && is_trivial_cpp_int<cpp_int_backend<MinBits, MaxBits, signed_magnitude, Ch… 281 …is_unsigned<U>::value && is_trivial_cpp_int<cpp_int_backend<MinBits, MaxBits, unsigned_magnitude, … 325 …is_unsigned<U>::value && is_trivial_cpp_int<cpp_int_backend<MinBits, MaxBits, signed_magnitude, Ch… 345 …is_unsigned<U>::value && is_trivial_cpp_int<cpp_int_backend<MinBits, MaxBits, unsigned_magnitude, …
|
/third_party/boost/boost/math/tools/ |
D | norms.hpp | 24 if constexpr (std::is_unsigned<T>::value) in total_variation() 85 else if constexpr (std::is_unsigned<T>::value) in sup_norm() 114 if constexpr (std::is_unsigned<T>::value) in l1_norm() 438 else if constexpr (std::is_unsigned<T>::value) in l1_distance() 513 else if constexpr (std::is_unsigned<T>::value) in l2_distance()
|
/third_party/boost/boost/geometry/index/detail/rtree/linear/ |
D | redistribute_elements.hpp | 51 BOOST_MPL_ASSERT_MSG(!boost::is_unsigned<R>::value, RESULT_CANT_BE_UNSIGNED, (R)); in difference() 54 boost::is_unsigned<T>::value in difference() 55 > is_unsigned; in difference() typedef 57 return difference_dispatch<R>(from, to, is_unsigned()); in difference()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | bitutils.h | 114 static_assert(std::is_unsigned<T>::value, "Unsigned type required"); 129 static_assert(std::is_unsigned<T>::value, "Unsigned type required");
|