Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/libcxx/include/__type_traits/
H A Dis_unsigned.h26 struct _LIBCPP_TEMPLATE_VIS is_unsigned : _BoolConstant<__is_unsigned(_Tp)> { }; struct
46 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_unsigned : public __libcpp_is_unsigned<_Tp> {};
50 inline constexpr bool is_unsigned_v = is_unsigned<_Tp>::value;
H A Dmake_unsigned.h95 using __copy_unsigned_t = __conditional_t<is_unsigned<_Tp>::value, __make_unsigned_t<_Up>, _Up>;
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCheckedArithmetic.h85 std::enable_if_t<std::is_unsigned<T>::value, std::optional<T>>
94 std::enable_if_t<std::is_unsigned<T>::value, std::optional<T>>
103 std::enable_if_t<std::is_unsigned<T>::value, std::optional<T>>
H A DMathExtras.h111 static_assert(std::is_unsigned<T>::value, "Invalid type!"); in maskTrailingOnes()
596 std::enable_if_t<std::is_unsigned<T>::value, T> AbsoluteDifference(T X, T Y) { in AbsoluteDifference()
604 std::enable_if_t<std::is_unsigned<T>::value, T>
633 std::enable_if_t<std::is_unsigned<T>::value, T>
679 std::enable_if_t<std::is_unsigned<T>::value, T>
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/libcxx/include/__random/
H A Dis_valid.h55 is_unsigned<typename _Gp::result_type>::value &&
H A Dlinear_congruential_engine.h219 static_assert(is_unsigned<_UIntType>::value, "_UIntType must be unsigned type");
/openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/
H A Dtype_traits382 struct is_unsigned
384 _DEFINE_SPEC(0, is_unsigned, unsigned char, true)
385 _DEFINE_SPEC(0, is_unsigned, unsigned short, true)
386 _DEFINE_SPEC(0, is_unsigned, unsigned int, true)
387 _DEFINE_SPEC(0, is_unsigned, unsigned long, true)
388 _DEFINE_SPEC(0, is_unsigned, unsigned long long, true)
H A Dtype_traits_fwd.h158 struct is_unsigned;
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DScalar.cpp278 bool is_unsigned) { in ToAPInt() argument
279 llvm::APSInt result(bits, is_unsigned); in ToAPInt()
296 return ToAPInt(m_float, sizeof(T) * 8, std::is_unsigned<T>::value) in GetAs()
/openbsd-src/gnu/llvm/libcxx/include/
H A Dcharconv226 static_assert(is_unsigned<_Tp>::value, "");
281 static_assert(is_unsigned<_Tp>::value, "cast to unsigned first");
683 template <typename _Tp, typename enable_if<is_unsigned<_Tp>::value, int>::type = 0>
736 template <typename _Tp, typename enable_if<is_unsigned<_Tp>::value, int>::type = 0>
H A Dtype_traits84 template <class T> struct is_unsigned;
319 = is_unsigned<T>::value; // C++17
515 #include <__type_traits/is_unsigned.h>
H A DCMakeLists.txt672 __type_traits/is_unsigned.h
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DJSON.h85 std::is_unsigned<T>::value>::type * = nullptr>
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DScalar.h41 std::is_unsigned<T>::value); in MakeAPSInt()
/openbsd-src/gnu/llvm/libcxxabi/src/
H A Dcxa_demangle.cpp108 typename std::enable_if<std::is_unsigned<T>::value>::type print(T N) { in print()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp2680 const bool is_unsigned = qt->isUnsignedIntegerType(); in ExtractIntFromFormValue() local
2697 llvm::APInt result(max_bit_size, form_value.Unsigned(), !is_unsigned); in ExtractIntFromFormValue()
2704 is_unsigned ? result.getActiveBits() : result.getMinSignedBits(); in ExtractIntFromFormValue()
2708 std::string value_as_str = is_unsigned in ExtractIntFromFormValue()
2713 (is_unsigned ? "unsigned" : "signed"), in ExtractIntFromFormValue()
/openbsd-src/gnu/llvm/llvm/lib/Demangle/
H A DItaniumDemangle.cpp108 template <class T> std::enable_if_t<std::is_unsigned<T>::value> print(T N) { in print()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/debuginfo/
H A Dllvm_debuginfo.ml277 lldibuilder -> name:string -> value:int -> is_unsigned:bool -> Llvm.llmetadata
H A Dllvm_debuginfo.mli336 lldibuilder -> name:string -> value:int -> is_unsigned:bool -> Llvm.llmetadata
/openbsd-src/gnu/gcc/gcc/
H A Dstor-layout.c2017 bool is_unsigned) in set_min_and_max_values_for_integral_type() argument
2022 if (is_unsigned) in set_min_and_max_values_for_integral_type()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp774 static_assert(std::is_unsigned<typename T::value_type>::value, in fill_clamp()
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn747 "__type_traits/is_unsigned.h",
/openbsd-src/gnu/lib/libcxx/
H A DMakefile759 __type_traits/is_unsigned.h \

12