| /freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/ |
| H A D | is_signed.h | 24 struct is_signed : bool_constant<(is_arithmetic_v<T> && (T(-1) < T(0)))> { struct 25 LIBC_INLINE constexpr operator bool() const { return is_signed::value; } 26 LIBC_INLINE constexpr bool operator()() const { return is_signed::value; } in operator() argument 29 template <typename T> struct is_signed { 43 LIBC_INLINE constexpr operator bool() const { return is_signed::value; } 44 LIBC_INLINE constexpr bool operator()() const { return is_signed::value; } 49 LIBC_INLINE_VAR constexpr bool is_signed_v = is_signed<T>::value;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ |
| H A D | ABIMacOSX_i386.cpp | 126 bool is_signed, Process *process, in ReadIntegerArgument() argument 132 is_signed, scalar, error)) { in ReadIntegerArgument() 171 bool is_signed; in GetArgumentValues() local 172 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues() 173 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues() 200 bool is_signed; in SetReturnValueObject() local 207 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 276 bool is_signed; in GetReturnValueObjectImpl() local 278 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl() 302 if (is_signed) in GetReturnValueObjectImpl() [all …]
|
| H A D | ABIWindows_x86_64.cpp | 207 bool is_signed, Thread &thread, in ReadIntegerArgument() argument 218 if (is_signed) in ReadIntegerArgument() 225 current_stack_argument, byte_size, is_signed, scalar, error)) { in ReadIntegerArgument() 282 bool is_signed; in GetArgumentValues() local 284 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 285 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 314 bool is_signed; in SetReturnValueObject() local 321 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 427 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local 433 if (is_signed) in GetReturnValueObjectSimple() [all …]
|
| H A D | ABISysV_x86_64.cpp | 193 bool is_signed, Thread &thread, in ReadIntegerArgument() argument 204 if (is_signed) in ReadIntegerArgument() 210 current_stack_argument, byte_size, is_signed, scalar, error)) { in ReadIntegerArgument() 277 bool is_signed; in GetArgumentValues() local 279 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 280 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 309 bool is_signed; in SetReturnValueObject() local 316 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 421 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local 427 if (is_signed) in GetReturnValueObjectSimple() [all …]
|
| H A D | ABISysV_i386.cpp | 145 bool is_signed, Process *process, in ReadIntegerArgument() argument 154 is_signed, scalar, error)) { in ReadIntegerArgument() 188 bool is_signed; in GetArgumentValues() local 189 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 190 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues() 403 const bool is_signed = ((type_flags & eTypeIsSigned) != 0); in GetReturnValueObjectSimple() local 422 if (is_signed) in GetReturnValueObjectSimple() 430 if (is_signed) in GetReturnValueObjectSimple() 438 if (is_signed) in GetReturnValueObjectSimple() 446 if (is_signed) in GetReturnValueObjectSimple()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/ |
| H A D | ABISysV_s390x.cpp | 282 bool is_signed, Thread &thread, in ReadIntegerArgument() argument 293 if (is_signed) in ReadIntegerArgument() 299 current_stack_argument + 8 - byte_size, byte_size, is_signed, in ReadIntegerArgument() 363 bool is_signed; in GetArgumentValues() local 365 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 366 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 395 bool is_signed; in SetReturnValueObject() local 402 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 505 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local 511 if (is_signed) in GetReturnValueObjectSimple() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/ |
| H A D | ABISysV_arc.cpp | 327 bool is_signed = false; in SetReturnValueObject() local 328 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject() 376 static void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { in SetInteger() argument 378 if (is_signed) in SetInteger() 385 uint8_t size_in_bytes, bool is_signed) { in SetSizedInteger() argument 391 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger() 395 SetInteger<uint32_t>(scalar, raw_value, is_signed); in SetSizedInteger() 399 SetInteger<uint16_t>(scalar, raw_value, is_signed); in SetSizedInteger() 403 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger() 467 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc.cpp | 313 bool is_signed, Thread &thread, in ReadIntegerArgument() argument 324 if (is_signed) in ReadIntegerArgument() 330 current_stack_argument, byte_size, is_signed, scalar, error)) { in ReadIntegerArgument() 402 bool is_signed; in GetArgumentValues() local 403 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues() 404 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 428 bool is_signed; in SetReturnValueObject() local 435 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 533 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local 539 if (is_signed) in GetReturnValueObjectSimple() [all …]
|
| H A D | ABISysV_ppc64.cpp | 201 bool is_signed, Thread &thread, in ReadIntegerArgument() argument 212 if (is_signed) in ReadIntegerArgument() 218 current_stack_argument, byte_size, is_signed, scalar, error)) { in ReadIntegerArgument() 279 bool is_signed; in GetArgumentValues() local 281 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 282 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 311 bool is_signed; in SetReturnValueObject() local 318 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 598 bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetIntegerValue() local 602 if (is_signed) in GetIntegerValue() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/LoongArch/ |
| H A D | ABISysV_loongarch.cpp | 262 bool is_signed = false; in SetReturnValueObject() local 263 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject() 325 static void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { in SetInteger() argument 328 if (is_signed) in SetInteger() 335 uint8_t size_in_bytes, bool is_signed) { in SetSizedInteger() argument 341 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger() 345 SetInteger<uint32_t>(scalar, raw_value, is_signed); in SetSizedInteger() 349 SetInteger<uint16_t>(scalar, raw_value, is_signed); in SetSizedInteger() 353 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger()
|
| /freebsd/contrib/llvm-project/libcxx/include/__type_traits/ |
| H A D | is_signed.h | 25 struct _LIBCPP_NO_SPECIALIZATIONS is_signed : _BoolConstant<__is_signed(_Tp)> {}; struct 41 struct is_signed : integral_constant<bool, __is_signed_v<_Tp>> {};
|
| H A D | is_equality_comparable.h | 68 … is_signed<_Tp>::value == is_signed<_Up>::value && sizeof(_Tp) == sizeof(_Up)> > : true_type {};
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | limits | 31 static constexpr bool is_signed = false; 107 #include <__cxx03/__type_traits/is_signed.h> 143 static const bool is_signed = false; 191 static const bool is_signed = type(-1) < type(0); 192 static const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed); 195 static const type __min = __libcpp_compute_min<type, digits, is_signed>::value; 196 static const type __max = is_signed ? type(type(~0) ^ __min) : type(~0); 224 static const bool is_modulo = !std::is_signed<_Tp>::value; 242 static const bool is_signed = false; 289 static const bool is_signed = true; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/ |
| H A D | is_signed.h | 26 struct _LIBCPP_TEMPLATE_VIS is_signed : _BoolConstant<__is_signed(_Tp)> {}; struct 43 struct _LIBCPP_TEMPLATE_VIS is_signed : public __libcpp_is_signed<_Tp> {};
|
| H A D | is_equality_comparable.h | 68 … is_signed<_Tp>::value == is_signed<_Up>::value && sizeof(_Tp) == sizeof(_Up)> > : true_type {};
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ |
| H A D | ABIMacOSX_arm64.cpp | 147 bool is_signed = false; in GetArgumentValues() local 149 if (value_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 200 if (is_signed) in GetArgumentValues() 220 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues() 612 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local 654 if (is_signed) in GetReturnValueObjectImpl() 662 if (is_signed) in GetReturnValueObjectImpl() 670 if (is_signed) in GetReturnValueObjectImpl() 678 if (is_signed) in GetReturnValueObjectImpl()
|
| H A D | ABISysV_arm64.cpp | 214 bool is_signed = false; in GetArgumentValues() local 220 if (value_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 240 if (is_signed) in GetArgumentValues() 261 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues() 652 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local 695 if (is_signed) in GetReturnValueObjectImpl() 703 if (is_signed) in GetReturnValueObjectImpl() 711 if (is_signed) in GetReturnValueObjectImpl() 719 if (is_signed) in GetReturnValueObjectImpl()
|
| /freebsd/sys/ddb/ |
| H A D | db_access.c | 53 db_get_value(db_addr_t addr, int size, bool is_signed) in db_get_value() argument 76 if (is_signed && (value & db_extend[size]) != 0) in db_get_value()
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | limits | 31 static constexpr bool is_signed = false; 110 # include <__type_traits/is_signed.h> 149 static _LIBCPP_CONSTEXPR const bool is_signed = false; 187 static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0); 188 …IBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed); 191 static _LIBCPP_CONSTEXPR const type __min = is_signed ? _Tp(_Tp(1) << digits) : 0; 192 static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(~0) ^ __min) : type(~0); 220 static _LIBCPP_CONSTEXPR const bool is_modulo = !std::is_signed<_Tp>::value; 238 static _LIBCPP_CONSTEXPR const bool is_signed = false; 283 static _LIBCPP_CONSTEXPR const bool is_signed = true; [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | DumpDataExtractor.cpp | 100 bool is_signed, unsigned radix) { in DumpAPInt() argument 103 std::string apint_str = toString(*apint, radix, is_signed); in DumpAPInt() 446 const bool is_signed = false; in DumpDataExtractor() local 448 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor() 506 const bool is_signed = true; in DumpDataExtractor() local 508 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor() 518 const bool is_signed = false; in DumpDataExtractor() local 520 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor() 530 const bool is_signed = false; in DumpDataExtractor() local 532 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 55 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getRounded() 82 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); 116 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getProduct() 157 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getQuotient() 192 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getLgImpl() 256 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in compare() 292 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in matchScales() 338 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getSum() 378 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getDifference() 498 static_assert(!std::numeric_limits<DigitsT>::is_signed,
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/RISCV/ |
| H A D | ABISysV_riscv.cpp | 383 bool is_signed = false; in SetReturnValueObject() local 384 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject() 438 static void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { in SetInteger() argument 440 if (is_signed) in SetInteger() 447 uint8_t size_in_bytes, bool is_signed) { in SetSizedInteger() argument 453 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger() 457 SetInteger<uint32_t>(scalar, raw_value, is_signed); in SetSizedInteger() 461 SetInteger<uint16_t>(scalar, raw_value, is_signed); in SetSizedInteger() 465 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger() 549 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetValObjFromIntRegs() local [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | CompilerType.cpp | 187 bool CompilerType::IsIntegerType(bool &is_signed) const { in IsIntegerType() 190 return type_system_sp->IsIntegerType(m_type, is_signed); in IsIntegerType() 194 bool CompilerType::IsEnumerationType(bool &is_signed) const { in IsEnumerationType() 197 return type_system_sp->IsEnumerationType(m_type, is_signed); in IsEnumerationType() 201 bool CompilerType::IsIntegerOrEnumerationType(bool &is_signed) const { in IsIntegerOrEnumerationType() 202 return IsIntegerType(is_signed) || IsEnumerationType(is_signed); in IsIntegerOrEnumerationType() 329 bool is_signed = false; // May be reset by the call below. in IsInteger() local 330 return IsIntegerType(is_signed); in IsInteger() 340 bool is_signed = false; // May be reset by the call below. in IsEnumerationType() local 341 return IsEnumerationType(is_signed); in IsEnumerationType()
|
| /freebsd/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_value_prf.c | 524 bool is_signed, is_upper; in bhnd_nvram_val_vprintf() local 526 is_signed = false; in bhnd_nvram_val_vprintf() 562 is_signed = true; in bhnd_nvram_val_vprintf() 586 arg_type = (is_signed) ? BHND_NVRAM_TYPE_INT ## _width : \ in bhnd_nvram_val_vprintf() 597 if (is_signed) { \ in bhnd_nvram_val_vprintf()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ |
| H A D | ABIMacOSX_arm.cpp | 1448 bool is_signed = false; in GetArgumentValues() local 1454 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues() 1492 if (is_signed) in GetArgumentValues() 1512 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues() 1550 bool is_signed; in GetReturnValueObjectImpl() local 1556 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl() 1634 if (is_signed) in GetReturnValueObjectImpl() 1640 if (is_signed) in GetReturnValueObjectImpl() 1648 if (is_signed) in GetReturnValueObjectImpl() 1656 if (is_signed) in GetReturnValueObjectImpl() [all …]
|