Home
last modified time | relevance | path

Searched refs:is_signed (Results 1 – 25 of 75) sorted by relevance

123

/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp126 bool is_signed, Process *process, in ReadIntegerArgument() argument
132 is_signed, scalar, error)) { in ReadIntegerArgument()
170 bool is_signed; in GetArgumentValues() local
171 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
172 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues()
199 bool is_signed; in SetReturnValueObject() local
206 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
274 bool is_signed; in GetReturnValueObjectImpl() local
276 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
299 if (is_signed) in GetReturnValueObjectImpl()
[all …]
H A DABIWindows_x86_64.cpp207 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()
281 bool is_signed; in GetArgumentValues() local
283 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
284 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
313 bool is_signed; in SetReturnValueObject() local
320 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
424 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local
430 if (is_signed) in GetReturnValueObjectSimple()
[all …]
H A DABISysV_x86_64.cpp191 bool is_signed, Thread &thread, in ReadIntegerArgument() argument
202 if (is_signed) in ReadIntegerArgument()
208 current_stack_argument, byte_size, is_signed, scalar, error)) { in ReadIntegerArgument()
274 bool is_signed; in GetArgumentValues() local
276 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
277 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
306 bool is_signed; in SetReturnValueObject() local
313 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
416 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local
422 if (is_signed) in GetReturnValueObjectSimple()
[all …]
H A DABISysV_i386.cpp145 bool is_signed, Process *process, in ReadIntegerArgument() argument
154 is_signed, scalar, error)) { in ReadIntegerArgument()
187 bool is_signed; in GetArgumentValues() local
188 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
189 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues()
398 const bool is_signed = ((type_flags & eTypeIsSigned) != 0); in GetReturnValueObjectSimple() local
417 if (is_signed) in GetReturnValueObjectSimple()
425 if (is_signed) in GetReturnValueObjectSimple()
433 if (is_signed) in GetReturnValueObjectSimple()
441 if (is_signed) in GetReturnValueObjectSimple()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc.cpp313 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()
401 bool is_signed; in GetArgumentValues() local
402 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
403 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
431 bool is_signed; in SetReturnValueObject() local
438 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
536 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local
542 if (is_signed) in GetReturnValueObjectSimple()
[all …]
H A DABISysV_ppc64.cpp201 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()
278 bool is_signed; in GetArgumentValues() local
280 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
281 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
310 bool is_signed; in SetReturnValueObject() local
317 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
594 bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetIntegerValue() local
598 if (is_signed) in GetIntegerValue()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp327 bool is_signed = false; in SetReturnValueObject() local
328 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject()
375 static void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { in SetInteger() argument
377 if (is_signed) in SetInteger()
384 uint8_t size_in_bytes, bool is_signed) { in SetSizedInteger() argument
390 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger()
394 SetInteger<uint32_t>(scalar, raw_value, is_signed); in SetSizedInteger()
398 SetInteger<uint16_t>(scalar, raw_value, is_signed); in SetSizedInteger()
402 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger()
464 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp282 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()
362 bool is_signed; in GetArgumentValues() local
364 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
365 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
394 bool is_signed; in SetReturnValueObject() local
401 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
502 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local
508 if (is_signed) in GetReturnValueObjectSimple()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_signed.h26 struct _LIBCPP_TEMPLATE_VIS is_signed : _BoolConstant<__is_signed(_Tp)> {}; struct
48 struct _LIBCPP_TEMPLATE_VIS is_signed : public __libcpp_is_signed<_Tp> {};
52 inline constexpr bool is_signed_v = is_signed<_Tp>::value;
H A Dis_equality_comparable.h68is_signed<_Tp>::value == is_signed<_Up>::value && sizeof(_Tp) == sizeof(_Up)> > : true_type {};
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/RISCV/
H A DABISysV_riscv.cpp306 bool is_signed = false; in SetReturnValueObject() local
307 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject()
360 static void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { in SetInteger() argument
362 if (is_signed) in SetInteger()
369 uint8_t size_in_bytes, bool is_signed) { in SetSizedInteger() argument
375 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger()
379 SetInteger<uint32_t>(scalar, raw_value, is_signed); in SetSizedInteger()
383 SetInteger<uint16_t>(scalar, raw_value, is_signed); in SetSizedInteger()
387 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger()
471 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetValObjFromIntRegs() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp149 bool is_signed = false; in GetArgumentValues() local
151 if (value_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
202 if (is_signed) in GetArgumentValues()
222 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues()
660 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local
702 if (is_signed) in GetReturnValueObjectImpl()
710 if (is_signed) in GetReturnValueObjectImpl()
718 if (is_signed) in GetReturnValueObjectImpl()
726 if (is_signed) in GetReturnValueObjectImpl()
H A DABISysV_arm64.cpp148 bool is_signed = false; in GetArgumentValues() local
153 if (value_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
173 if (is_signed) in GetArgumentValues()
194 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues()
631 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local
674 if (is_signed) in GetReturnValueObjectImpl()
682 if (is_signed) in GetReturnValueObjectImpl()
690 if (is_signed) in GetReturnValueObjectImpl()
698 if (is_signed) in GetReturnValueObjectImpl()
/freebsd/sys/ddb/
H A Ddb_access.c53 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/llvm/include/llvm/Support/
H A DScaledNumber.h54 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getRounded()
81 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
115 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getProduct()
154 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getQuotient()
189 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getLgImpl()
253 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in compare()
289 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in matchScales()
335 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getSum()
375 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getDifference()
495 static_assert(!std::numeric_limits<DigitsT>::is_signed,
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp100 bool is_signed, unsigned radix) { in DumpAPInt() argument
103 std::string apint_str = toString(*apint, radix, is_signed); in DumpAPInt()
445 const bool is_signed = false; in DumpDataExtractor() local
447 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
505 const bool is_signed = true; in DumpDataExtractor() local
507 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
517 const bool is_signed = false; in DumpDataExtractor() local
519 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
529 const bool is_signed = false; in DumpDataExtractor() local
531 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dlimits31 static constexpr bool is_signed = false;
107 #include <__type_traits/is_signed.h>
147 static _LIBCPP_CONSTEXPR const bool is_signed = false;
195 static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
196 …IBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed);
199 …static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::v…
200 static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(~0) ^ __min) : type(~0);
228 static _LIBCPP_CONSTEXPR const bool is_modulo = !std::is_signed<_Tp>::value;
246 static _LIBCPP_CONSTEXPR const bool is_signed = false;
293 static _LIBCPP_CONSTEXPR const bool is_signed = true;
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp185 bool CompilerType::IsIntegerType(bool &is_signed) const { in IsIntegerType()
188 return type_system_sp->IsIntegerType(m_type, is_signed); in IsIntegerType()
192 bool CompilerType::IsEnumerationType(bool &is_signed) const { in IsEnumerationType()
195 return type_system_sp->IsEnumerationType(m_type, is_signed); in IsEnumerationType()
199 bool CompilerType::IsIntegerOrEnumerationType(bool &is_signed) const { in IsIntegerOrEnumerationType()
200 return IsIntegerType(is_signed) || IsEnumerationType(is_signed); in IsIntegerOrEnumerationType()
327 bool is_signed = false; // May be reset by the call below. in IsInteger() local
328 return IsIntegerType(is_signed); in IsInteger()
338 bool is_signed = false; // May be reset by the call below. in IsEnumerationType() local
339 return IsEnumerationType(is_signed); in IsEnumerationType()
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_prf.c524 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 DABIMacOSX_arm.cpp1454 bool is_signed = false; in GetArgumentValues() local
1459 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
1497 if (is_signed) in GetArgumentValues()
1517 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues()
1555 bool is_signed; in GetReturnValueObjectImpl() local
1561 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1638 if (is_signed) in GetReturnValueObjectImpl()
1644 if (is_signed) in GetReturnValueObjectImpl()
1652 if (is_signed) in GetReturnValueObjectImpl()
1660 if (is_signed) in GetReturnValueObjectImpl()
[all …]
H A DABISysV_arm.cpp1458 bool is_signed = false; in GetArgumentValues() local
1460 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in GetArgumentValues()
1479 if (is_signed) in GetArgumentValues()
1499 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues()
1557 bool is_signed; in GetReturnValueObjectImpl() local
1574 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1586 if (is_signed) in GetReturnValueObjectImpl()
1592 if (is_signed) in GetReturnValueObjectImpl()
1600 if (is_signed) in GetReturnValueObjectImpl()
1608 if (is_signed) in GetReturnValueObjectImpl()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips.cpp716 bool is_signed; in SetReturnValueObject() local
723 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
803 bool is_signed = false; in GetReturnValueObjectImpl() local
812 if (return_compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
823 if (is_signed) in GetReturnValueObjectImpl()
829 if (is_signed) in GetReturnValueObjectImpl()
837 if (is_signed) in GetReturnValueObjectImpl()
845 if (is_signed) in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerEmbeddedInt.h64 assert((std::is_signed<IntT>::value ? isInt<Bits>(I) : isUInt<Bits>(I)) &&
73 if (std::is_signed<IntT>::value)
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h196 !(std::is_signed<From>::value && !std::is_signed<To>::value)) ||
200 (std::is_signed<From>::value == std::is_signed<To>::value)))
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStructuredData.h226 if constexpr (std::numeric_limits<IntType>::is_signed) { in GetItemAtIndexAsInteger()
273 if constexpr (std::numeric_limits<T>::is_signed) in GetItemAtIndexAsString()
304 : Object(std::numeric_limits<N>::is_signed in GetItemAtIndexAsArray()
319 s.Printf(std::numeric_limits<N>::is_signed ? "%" PRId64 : "%" PRIu64, in AddIntegerItem()
440 if constexpr (std::numeric_limits<IntType>::is_signed) {
519 if constexpr (std::numeric_limits<T>::is_signed) in GetValueForKeyAsString()

123