Home
last modified time | relevance | path

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

12345

/openbsd/gnu/lib/libstdc++/libstdc++/src/
H A Dlimits.cc44 const bool __numeric_limits_base::is_signed; member in std::__numeric_limits_base
68 const bool numeric_limits<bool>::is_signed; member in std::numeric_limits<bool>
92 const bool numeric_limits<char>::is_signed; member in std::numeric_limits<char>
116 const bool numeric_limits<signed char>::is_signed; member in std::numeric_limits<signed char>
166 const bool numeric_limits<wchar_t>::is_signed; member in std::numeric_limits<wchar_t>
191 const bool numeric_limits<short>::is_signed; member in std::numeric_limits<short>
239 const bool numeric_limits<int>::is_signed; member in std::numeric_limits<int>
287 const bool numeric_limits<long>::is_signed; member in std::numeric_limits<long>
335 const bool numeric_limits<long long>::is_signed; member in std::numeric_limits<long long>
382 const bool numeric_limits<float>::is_signed; member in std::numeric_limits<float>
[all …]
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/18_support/
H A Dnumeric_limits.cc93 VERIFY( std::numeric_limits<char>::is_signed == char_is_signed ); in test_sign()
94 VERIFY( std::numeric_limits<signed char>::is_signed == true ); in test_sign()
95 VERIFY( std::numeric_limits<unsigned char>::is_signed == false ); in test_sign()
96 VERIFY( std::numeric_limits<short>::is_signed == true ); in test_sign()
98 VERIFY( std::numeric_limits<int>::is_signed == true ); in test_sign()
99 VERIFY( std::numeric_limits<unsigned>::is_signed == false ); in test_sign()
100 VERIFY( std::numeric_limits<long>::is_signed == true ); in test_sign()
102 VERIFY( std::numeric_limits<float>::is_signed == true ); in test_sign()
103 VERIFY( std::numeric_limits<double>::is_signed == true ); in test_sign()
104 VERIFY( std::numeric_limits<long double>::is_signed == true ); in test_sign()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/src/
H A Dlimits.cc44 const bool __numeric_limits_base::is_signed; member in __numeric_limits_base
68 const bool numeric_limits<bool>::is_signed; member in numeric_limits<bool>
92 const bool numeric_limits<char>::is_signed; member in numeric_limits<char>
116 const bool numeric_limits<signed char>::is_signed; member in numeric_limits<signed char>
166 const bool numeric_limits<wchar_t>::is_signed; member in numeric_limits<wchar_t>
191 const bool numeric_limits<short>::is_signed; member in numeric_limits<short>
239 const bool numeric_limits<int>::is_signed; member in numeric_limits<int>
287 const bool numeric_limits<long>::is_signed; member in numeric_limits<long>
382 const bool numeric_limits<float>::is_signed; member in numeric_limits<float>
406 const bool numeric_limits<double>::is_signed; member in numeric_limits<double>
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp126 bool is_signed, Process *process, in ReadIntegerArgument() argument
170 bool is_signed; in GetArgumentValues() local
171 if (compiler_type.IsIntegerOrEnumerationType(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()
305 if (is_signed) in GetReturnValueObjectImpl()
315 if (is_signed) in GetReturnValueObjectImpl()
[all …]
H A DABIWindows_x86_64.cpp218 if (is_signed) in ReadIntegerArgument()
281 bool is_signed; in GetArgumentValues() local
283 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
313 bool is_signed; in SetReturnValueObject() local
320 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
430 if (is_signed) in GetReturnValueObjectSimple()
438 if (is_signed) in GetReturnValueObjectSimple()
446 if (is_signed) in GetReturnValueObjectSimple()
454 if (is_signed) in GetReturnValueObjectSimple()
557 bool is_signed; in FlattenAggregateType() local
[all …]
H A DABISysV_x86_64.cpp202 if (is_signed) in ReadIntegerArgument()
274 bool is_signed; in GetArgumentValues() local
306 bool is_signed; in SetReturnValueObject() 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()
584 bool is_signed; in FlattenAggregateType() local
692 bool is_signed; in GetReturnValueObjectImpl() local
759 is_signed)) { in GetReturnValueObjectImpl()
[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()
/openbsd/gnu/lib/libstdc++/libstdc++/include/std/
H A Dstd_limits.h177 static const bool is_signed = false; member
229 static const bool is_signed = false;
332 static const bool is_signed = true;
382 static const bool is_signed = false;
482 static const bool is_signed = true;
582 static const bool is_signed = true;
682 static const bool is_signed = true;
782 static const bool is_signed = true;
882 static const bool is_signed = true;
940 static const bool is_signed = true;
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_limits.h207 static const bool is_signed = false; member
329 static const bool is_signed = false;
383 static const bool is_signed = true;
434 static const bool is_signed = false;
591 static const bool is_signed = true;
693 static const bool is_signed = true;
795 static const bool is_signed = true;
897 static const bool is_signed = true;
999 static const bool is_signed = true;
1056 static const bool is_signed = true;
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc.cpp323 if (is_signed) in ReadIntegerArgument()
400 bool is_signed; in GetArgumentValues() local
401 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
430 bool is_signed; in SetReturnValueObject() local
541 if (is_signed) in GetReturnValueObjectSimple()
549 if (is_signed) in GetReturnValueObjectSimple()
557 if (is_signed) in GetReturnValueObjectSimple()
565 if (is_signed) in GetReturnValueObjectSimple()
697 bool is_signed; in GetReturnValueObjectImpl() local
770 is_signed)) in GetReturnValueObjectImpl()
[all …]
H A DABISysV_ppc64.cpp201 bool is_signed, Thread &thread, in ReadIntegerArgument() argument
212 if (is_signed) in ReadIntegerArgument()
278 bool is_signed; in GetArgumentValues() local
280 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
310 bool is_signed; in SetReturnValueObject() local
317 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
596 bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetIntegerValue() local
600 if (is_signed) in GetIntegerValue()
607 if (is_signed) in GetIntegerValue()
614 if (is_signed) in GetIntegerValue()
[all …]
/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp282 bool is_signed, Thread &thread, in ReadIntegerArgument() argument
293 if (is_signed) in ReadIntegerArgument()
362 bool is_signed; in GetArgumentValues() local
364 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { 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()
516 if (is_signed) in GetReturnValueObjectSimple()
524 if (is_signed) in GetReturnValueObjectSimple()
[all …]
/openbsd/gnu/llvm/libcxx/include/__type_traits/
H A Dis_signed.h26 struct _LIBCPP_TEMPLATE_VIS is_signed : _BoolConstant<__is_signed(_Tp)> { }; struct
46 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_signed : public __libcpp_is_signed<_Tp> {};
50 inline constexpr bool is_signed_v = is_signed<_Tp>::value;
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DCheckedArithmetic.h47 std::enable_if_t<std::is_signed<T>::value, std::optional<T>>
56 std::enable_if_t<std::is_signed<T>::value, std::optional<T>>
65 std::enable_if_t<std::is_signed<T>::value, std::optional<T>>
74 std::enable_if_t<std::is_signed<T>::value, std::optional<T>>
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()
252 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in compare()
288 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in matchScales()
334 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getSum()
374 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getDifference()
494 static_assert(!std::numeric_limits<DigitsT>::is_signed,
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dinit3.C5 static const bool is_signed = true ; member
6 static const int digits = is_signed ? 8 *sizeof(wchar_t)-1 : 0;
/openbsd/gnu/llvm/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()
669 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local
711 if (is_signed) in GetReturnValueObjectImpl()
719 if (is_signed) in GetReturnValueObjectImpl()
727 if (is_signed) in GetReturnValueObjectImpl()
735 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()
640 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local
683 if (is_signed) in GetReturnValueObjectImpl()
691 if (is_signed) in GetReturnValueObjectImpl()
699 if (is_signed) in GetReturnValueObjectImpl()
707 if (is_signed) in GetReturnValueObjectImpl()
/openbsd/sys/ddb/
H A Ddb_access.c45 db_get_value(vaddr_t addr, size_t size, int is_signed) in db_get_value() argument
67 if (size < sizeof(db_expr_t) && is_signed && (value & extend)) in db_get_value()
/openbsd/gnu/llvm/libcxx/include/
H A Dlimits31 static constexpr bool is_signed = false;
108 #include <__type_traits/is_signed.h>
152 static _LIBCPP_CONSTEXPR const bool is_signed = false;
256 static _LIBCPP_CONSTEXPR const bool is_signed = false;
304 static _LIBCPP_CONSTEXPR const bool is_signed = true;
354 static _LIBCPP_CONSTEXPR const bool is_signed = true;
404 static _LIBCPP_CONSTEXPR const bool is_signed = true;
465 static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
558 static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
651 static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips.cpp678 bool is_signed; in SetReturnValueObject() local
685 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
765 bool is_signed = false; in GetReturnValueObjectImpl() local
774 if (return_compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
785 if (is_signed) in GetReturnValueObjectImpl()
791 if (is_signed) in GetReturnValueObjectImpl()
799 if (is_signed) in GetReturnValueObjectImpl()
807 if (is_signed) in GetReturnValueObjectImpl()
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/ARM/
H A DABIMacOSX_arm.cpp1350 bool is_signed = false; in GetArgumentValues() local
1355 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
1393 if (is_signed) in GetArgumentValues()
1451 bool is_signed; in GetReturnValueObjectImpl() local
1457 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1534 if (is_signed) in GetReturnValueObjectImpl()
1540 if (is_signed) in GetReturnValueObjectImpl()
1548 if (is_signed) in GetReturnValueObjectImpl()
1556 if (is_signed) in GetReturnValueObjectImpl()
1597 bool is_signed; in SetReturnValueObject() local
[all …]
H A DABISysV_arm.cpp1353 bool is_signed = false; in GetArgumentValues() local
1355 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in GetArgumentValues()
1374 if (is_signed) in GetArgumentValues()
1452 bool is_signed; in GetReturnValueObjectImpl() local
1469 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1481 if (is_signed) in GetReturnValueObjectImpl()
1487 if (is_signed) in GetReturnValueObjectImpl()
1495 if (is_signed) in GetReturnValueObjectImpl()
1503 if (is_signed) in GetReturnValueObjectImpl()
1741 bool is_signed; in SetReturnValueObject() local
[all …]

12345