Home
last modified time | relevance | path

Searched refs:is_unsigned (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_unsigned.h24 struct is_unsigned : bool_constant<(is_arithmetic_v<T> && (T(-1) > T(0)))> { struct
25 LIBC_INLINE constexpr operator bool() const { return is_unsigned::value; }
26 LIBC_INLINE constexpr bool operator()() const { return is_unsigned::value; } in operator() argument
29 template <typename T> struct is_unsigned {
45 LIBC_INLINE constexpr operator bool() const { return is_unsigned::value; }
46 LIBC_INLINE constexpr bool operator()() const { return is_unsigned::value; }
51 LIBC_INLINE_VAR constexpr bool is_unsigned_v = is_unsigned<T>::value;
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_unsigned.h25 struct _LIBCPP_NO_SPECIALIZATIONS is_unsigned : _BoolConstant<__is_unsigned(_Tp)> {}; struct
41 struct is_unsigned : integral_constant<bool, __is_unsigned_v<_Tp>> {};
H A Dis_trivially_lexicographically_comparable.h59 (is_unsigned<_Tp>::value || __is_std_byte_v<_Tp>);
H A Dmake_unsigned.h90 using __copy_unsigned_t _LIBCPP_NODEBUG = __conditional_t<is_unsigned<_Tp>::value, __make_unsigned_…
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dis_unsigned.h26 struct _LIBCPP_TEMPLATE_VIS is_unsigned : _BoolConstant<__is_unsigned(_Tp)> {}; struct
43 struct _LIBCPP_TEMPLATE_VIS is_unsigned : public __libcpp_is_unsigned<_Tp> {};
H A Dis_trivially_lexicographically_comparable.h49 is_unsigned<_Tp>::value> {};
H A Dmake_unsigned.h85 using __copy_unsigned_t = __conditional_t<is_unsigned<_Tp>::value, __make_unsigned_t<_Up>, _Up>;
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h120 template <typename T, unsigned Bits, bool = std::is_unsigned<T>::value>
122 static_assert(std::is_unsigned<T>::value, "T must be unsigned");
157 static_assert(std::is_unsigned<StorageType>::value,
242 std::is_unsigned<IntegerType>::value,
H A DCoalescingBitVector.h39 static_assert(std::is_unsigned<IndexT>::value,
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dradix_sort.h97 static_assert(is_unsigned<__image_type>::value);
110 static_assert(is_unsigned<__image_type>::value);
118 static_assert(is_unsigned<_Integer>::value); in __nth_radix()
398 static_assert(is_unsigned<_Ip>::value);
/freebsd/contrib/llvm-project/libcxx/include/__charconv/
H A Dtraits.h134 static_assert(is_unsigned<_Tp>::value, "");
180 static_assert(is_unsigned<_Tp>::value, "cast to unsigned first");
H A Dfrom_chars_integral.h128 template <typename _Tp, __enable_if_t<is_unsigned<_Tp>::value, int> = 0>
174 template <typename _Tp, __enable_if_t<is_unsigned<_Tp>::value, int> = 0>
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__random/
H A Dis_valid.h89 __enable_if_t< is_unsigned<typename _Gp::result_type>::value &&
H A Dseed_seq.h77 static_assert(is_unsigned<_ValueType>::value && sizeof(_ValueType) >= sizeof(uint32_t), in generate()
/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dis_valid.h89 __enable_if_t< is_unsigned<typename _Gp::result_type>::value &&
H A Dseed_seq.h86 static_assert(is_unsigned<_ValueType>::value && sizeof(_ValueType) >= sizeof(uint32_t), in generate()
/freebsd/contrib/llvm-project/libcxx/include/
H A D__bit_reference37 #include <__type_traits/is_unsigned.h>
81 static_assert(is_unsigned<_StorageType>::value, "__trailing_mask only works with unsigned types");
89 static_assert(is_unsigned<_StorageType>::value, "__leading_mask only works with unsigned types");
97 static_assert(is_unsigned<_StorageType>::value, "__middle_mask only works with unsigned types");
107 static_assert(is_unsigned<typename pointer_traits<_StoragePointer>::element_type>::value,
H A Dtype_traits82 template <class T> struct is_unsigned;
348 = is_unsigned<T>::value; // since C++17
515 # include <__type_traits/is_unsigned.h>
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp279 bool is_unsigned) { in ToAPInt() argument
280 llvm::APSInt result(bits, is_unsigned); in ToAPInt()
297 return ToAPInt(m_float, sizeof(T) * 8, std::is_unsigned<T>::value) in GetAs()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h41 std::is_unsigned<T>::value); in MakeAPSInt()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dtype_traits84 template <class T> struct is_unsigned;
319 = is_unsigned<T>::value; // C++17
475 #include <__cxx03/__type_traits/is_unsigned.h>
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm
H A Dtype_traits.inc61 using std::is_unsigned;
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DItaniumDemangle.cpp109 template <class T> std::enable_if_t<std::is_unsigned<T>::value> print(T N) { in print()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp2855 const bool is_unsigned = qt->isUnsignedIntegerType(); in ExtractIntFromFormValue() local
2872 llvm::APInt result(max_bit_size, form_value.Unsigned(), !is_unsigned); in ExtractIntFromFormValue()
2879 is_unsigned ? result.getActiveBits() : result.getSignificantBits(); in ExtractIntFromFormValue()
2883 std::string value_as_str = is_unsigned in ExtractIntFromFormValue()
2888 (is_unsigned ? "unsigned" : "signed"), in ExtractIntFromFormValue()

12