/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
D | is_signed.pass.cpp | 19 static_assert( std::is_signed<T>::value, ""); in test_is_signed() 20 static_assert( std::is_signed<const T>::value, ""); in test_is_signed() 21 static_assert( std::is_signed<volatile T>::value, ""); in test_is_signed() 22 static_assert( std::is_signed<const volatile T>::value, ""); in test_is_signed() 28 static_assert(!std::is_signed<T>::value, ""); in test_is_not_signed() 29 static_assert(!std::is_signed<const T>::value, ""); in test_is_not_signed() 30 static_assert(!std::is_signed<volatile T>::value, ""); in test_is_not_signed() 31 static_assert(!std::is_signed<const volatile T>::value, ""); in test_is_not_signed()
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | stdint_h.pass.cpp | 26 static_assert(std::is_signed<int8_t>::value, in main() 31 static_assert(std::is_signed<int16_t>::value, in main() 36 static_assert(std::is_signed<int32_t>::value, in main() 41 static_assert(std::is_signed<int64_t>::value, in main() 68 static_assert(std::is_signed<int_least8_t>::value, in main() 73 static_assert(std::is_signed<int_least16_t>::value, in main() 78 static_assert(std::is_signed<int_least32_t>::value, in main() 83 static_assert(std::is_signed<int_least64_t>::value, in main() 110 static_assert(std::is_signed<int_fast8_t>::value, in main() 115 static_assert(std::is_signed<int_fast16_t>::value, in main() [all …]
|
/external/libcxx/test/std/language.support/cstdint/cstdint.syn/ |
D | cstdint.pass.cpp | 27 static_assert(std::is_signed<std::int8_t>::value, in main() 32 static_assert(std::is_signed<std::int16_t>::value, in main() 37 static_assert(std::is_signed<std::int32_t>::value, in main() 42 static_assert(std::is_signed<std::int64_t>::value, in main() 69 static_assert(std::is_signed<std::int_least8_t>::value, in main() 74 static_assert(std::is_signed<std::int_least16_t>::value, in main() 79 static_assert(std::is_signed<std::int_least32_t>::value, in main() 84 static_assert(std::is_signed<std::int_least64_t>::value, in main() 111 static_assert(std::is_signed<std::int_fast8_t>::value, in main() 116 static_assert(std::is_signed<std::int_fast16_t>::value, in main() [all …]
|
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
D | is_signed.pass.cpp | 20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1"); in test() 21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2"); in test() 22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3"); in test() 23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4"); in test()
|
D | min.pass.cpp | 25 assert(std::numeric_limits<T>::is_bounded || !std::numeric_limits<T>::is_signed); in test() 27 assert(std::numeric_limits<const T>::is_bounded || !std::numeric_limits<const T>::is_signed); in test() 29 …assert(std::numeric_limits<volatile T>::is_bounded || !std::numeric_limits<volatile T>::is_signed); in test() 31 …numeric_limits<const volatile T>::is_bounded || !std::numeric_limits<const volatile T>::is_signed); in test()
|
D | digits.pass.cpp | 30 test<char, std::numeric_limits<char>::is_signed ? 7 : 8>(); in main() 33 …test<wchar_t, std::numeric_limits<wchar_t>::is_signed ? sizeof(wchar_t)*8-1 : sizeof(wchar_t)*8>(); in main()
|
/external/linux-tools-perf/src/tools/perf/tests/ |
D | evsel-tp-sched.c | 9 int is_signed; in perf_evsel__test_field() local 17 is_signed = !!(field->flags | FIELD_IS_SIGNED); in perf_evsel__test_field() 18 if (should_be_signed && !is_signed) { in perf_evsel__test_field() 20 evsel->name, name, is_signed, should_be_signed); in perf_evsel__test_field()
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math_impl.h | 86 std::numeric_limits<Integer>::is_signed>::type>::type type; 125 if (std::numeric_limits<T>::is_signed) { 148 if (std::numeric_limits<T>::is_signed) { 178 T>::is_signed&&(sizeof(T) * 2 > sizeof(uintmax_t)), 207 !std::numeric_limits<T>::is_signed && 224 if (std::numeric_limits<T>::is_signed && x == std::numeric_limits<T>::min() && 236 std::numeric_limits<T>::is_integer&& std::numeric_limits<T>::is_signed, 245 std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_signed, 254 std::numeric_limits<T>::is_integer&& std::numeric_limits<T>::is_signed, 265 std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_signed, [all …]
|
D | safe_conversions_impl.h | 25 std::numeric_limits<NumericType>::is_signed); 49 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 53 std::numeric_limits<Src>::is_signed 116 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 119 IntegerRepresentation SrcSign = std::numeric_limits<Src>::is_signed
|
/external/v8/src/base/ |
D | safe_math_impl.h | 115 std::numeric_limits<Integer>::is_signed>::type>::type type; 154 if (std::numeric_limits<T>::is_signed) { 177 if (std::numeric_limits<T>::is_signed) { 207 std::numeric_limits<T>::is_signed && 237 !std::numeric_limits<T>::is_signed && 254 if (std::numeric_limits<T>::is_signed && x == std::numeric_limits<T>::min() && 266 std::numeric_limits<T>::is_integer && std::numeric_limits<T>::is_signed, 275 std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_signed, 284 std::numeric_limits<T>::is_integer && std::numeric_limits<T>::is_signed, 295 std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_signed, [all …]
|
D | safe_conversions_impl.h | 28 std::numeric_limits<NumericType>::is_signed); 52 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 56 std::numeric_limits<Src>::is_signed 119 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 122 IntegerRepresentation SrcSign = std::numeric_limits<Src>::is_signed
|
/external/lldb/source/Plugins/ABI/SysV-x86_64/ |
D | ABISysV_x86_64.cpp | 453 bool is_signed, in ReadIntegerArgument() argument 466 if (is_signed) in ReadIntegerArgument() 473 …rocess()->ReadScalarIntegerFromMemory(current_stack_argument, byte_size, is_signed, scalar, error)) in ReadIntegerArgument() 532 bool is_signed; in GetArgumentValues() local 534 if (clang_type.IsIntegerType (is_signed)) in GetArgumentValues() 538 is_signed, in GetArgumentValues() 578 bool is_signed; in SetReturnValueObject() local 585 if (clang_type.IsIntegerType (is_signed) || clang_type.IsPointerType()) in SetReturnValueObject() 675 const bool is_signed = (type_flags & ClangASTType::eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local 682 if (is_signed) in GetReturnValueObjectSimple() [all …]
|
/external/lldb/source/Plugins/ABI/MacOSX-i386/ |
D | ABIMacOSX_i386.cpp | 593 bool is_signed, in ReadIntegerArgument() argument 600 …if (process->ReadScalarIntegerFromMemory(current_stack_argument, byte_size, is_signed, scalar, err… in ReadIntegerArgument() 644 bool is_signed; in GetArgumentValues() local 646 if (clang_type.IsIntegerType (is_signed)) in GetArgumentValues() 650 is_signed, in GetArgumentValues() 687 bool is_signed; in SetReturnValueObject() local 694 if (clang_type.IsIntegerType (is_signed) || clang_type.IsPointerType()) in SetReturnValueObject() 759 bool is_signed; in GetReturnValueObjectImpl() local 761 if (clang_type.IsIntegerType (is_signed)) in GetReturnValueObjectImpl() 778 if (is_signed) in GetReturnValueObjectImpl() [all …]
|
/external/eigen/test/ |
D | integer_types.cpp | 24 enum { is_signed = (Scalar(-1) > Scalar(0)) ? 0 : 1 }; in signed_integer_type_tests() enumerator 25 VERIFY(is_signed == 1); in signed_integer_type_tests() 56 enum { is_signed = (Scalar(-1) > Scalar(0)) ? 0 : 1 }; in integer_type_tests() enumerator 57 VERIFY(int(NumTraits<Scalar>::IsSigned) == is_signed); in integer_type_tests()
|
/external/libcxx/include/ |
D | limits | 32 static constexpr bool is_signed = false; 154 static _LIBCPP_CONSTEXPR const bool is_signed = false; 185 template <class _Tp, int digits, bool is_signed> 205 static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0); 206 …ic _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed); 209 … static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value; 210 static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(~0) ^ __min) : type(~0); 238 static _LIBCPP_CONSTEXPR const bool is_modulo = !_VSTD::is_signed<_Tp>::value; 257 static _LIBCPP_CONSTEXPR const bool is_signed = false; 305 static _LIBCPP_CONSTEXPR const bool is_signed = true; [all …]
|
/external/lldb/source/Plugins/ABI/MacOSX-arm/ |
D | ABIMacOSX_arm.cpp | 342 bool is_signed = false; in GetArgumentValues() local 344 if (clang_type.IsIntegerType (is_signed)) in GetArgumentValues() 387 if (is_signed) in GetArgumentValues() 409 …!exe_ctx.GetProcessRef().ReadScalarIntegerFromMemory(sp, arg_byte_size, is_signed, value->GetScala… in GetArgumentValues() 441 bool is_signed; in GetReturnValueObjectImpl() local 447 if (clang_type.IsIntegerType (is_signed)) in GetReturnValueObjectImpl() 461 if (is_signed) in GetReturnValueObjectImpl() 468 if (is_signed) in GetReturnValueObjectImpl() 474 if (is_signed) in GetReturnValueObjectImpl() 480 if (is_signed) in GetReturnValueObjectImpl() [all …]
|
/external/llvm/include/llvm/Support/ |
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() 155 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getQuotient() 190 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,
|
D | MathExtras.h | 107 !std::numeric_limits<T>::is_signed, 176 !std::numeric_limits<T>::is_signed, 389 !std::numeric_limits<T>::is_signed, 405 !std::numeric_limits<T>::is_signed, 447 !std::numeric_limits<T>::is_signed,
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 571 result = ParseInteger(self.token, is_signed=True, is_long=False) 587 result = ParseInteger(self.token, is_signed=False, is_long=False) 603 result = ParseInteger(self.token, is_signed=True, is_long=True) 619 result = ParseInteger(self.token, is_signed=False, is_long=True) 756 def ParseInteger(text, is_signed=False, is_long=False): argument 783 checker = _INTEGER_CHECKERS[2 * int(is_long) + int(is_signed)]
|
/external/nanopb-c/generator/google/protobuf/ |
D | text_format.py | 405 result = ParseInteger(self.token, is_signed=True, is_long=False) 421 result = ParseInteger(self.token, is_signed=False, is_long=False) 437 result = ParseInteger(self.token, is_signed=True, is_long=True) 453 result = ParseInteger(self.token, is_signed=False, is_long=True) 628 def ParseInteger(text, is_signed=False, is_long=False): argument 649 checker = _INTEGER_CHECKERS[2 * int(is_long) + int(is_signed)]
|
/external/libcxx/test/std/input.output/iostreams.base/stream.types/ |
D | streamsize.pass.cpp | 20 static_assert(std::is_signed<std::streamsize>::value, ""); in main()
|
D | streamoff.pass.cpp | 20 static_assert(std::is_signed<std::streamoff>::value, ""); in main()
|
/external/libcxx/test/std/depr/depr.ios.members/ |
D | streamoff.pass.cpp | 24 static_assert((std::is_signed<std::ios_base::streamoff>::value), ""); in main()
|
/external/google-breakpad/src/common/ |
D | byte_cursor.h | 119 ByteCursor &Read(size_t size, bool is_signed, T *result) { in Read() argument 131 if (is_signed && size < sizeof(T)) { in Read()
|
/external/libcxx/test/std/language.support/support.types/ |
D | ptrdiff_t.pass.cpp | 23 static_assert(std::is_signed<std::ptrdiff_t>::value, in main()
|