Home
last modified time | relevance | path

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

1234

/external/opencv3/modules/core/include/opencv2/core/cuda/
Dlimits.hpp64 static const bool is_signed = false; member
71 static const bool is_signed = true; member
78 static const bool is_signed = false; member
85 static const bool is_signed = true; member
92 static const bool is_signed = false; member
99 static const bool is_signed = true; member
106 static const bool is_signed = false; member
114 static const bool is_signed = true; member
122 static const bool is_signed = true; member
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_signed.pass.cpp19 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/opencv3/modules/cudev/include/opencv2/cudev/util/
Dlimits.hpp64 static const bool is_signed = false; member
71 static const bool is_signed = true; member
78 static const bool is_signed = false; member
85 static const bool is_signed = true; member
92 static const bool is_signed = false; member
99 static const bool is_signed = true; member
106 static const bool is_signed = false; member
114 static const bool is_signed = true; member
122 static const bool is_signed = true; member
/external/libcxx/test/std/depr/depr.c.headers/
Dstdint_h.pass.cpp26 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/
Dcstdint.pass.cpp27 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/
Dis_signed.pass.cpp20 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()
Dmin.pass.cpp25 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()
Ddigits.pass.cpp30 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/opencv3/3rdparty/openexr/IlmImf/
DImfCheckedArithmetic.h65 IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed &&
83 IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed &&
101 IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed &&
119 IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed &&
147 IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed &&
/external/libchrome/base/numerics/
Dsafe_math_impl.h86 std::numeric_limits<Integer>::is_signed>::type>::type type;
145 if (std::numeric_limits<T>::is_signed) {
168 if (std::numeric_limits<T>::is_signed) {
198 std::numeric_limits<T>::is_signed &&
228 !std::numeric_limits<T>::is_signed &&
245 if (std::numeric_limits<T>::is_signed && x == std::numeric_limits<T>::min() &&
257 std::numeric_limits<T>::is_signed,
266 !std::numeric_limits<T>::is_signed,
275 std::numeric_limits<T>::is_signed,
286 !std::numeric_limits<T>::is_signed,
[all …]
Dsafe_conversions_impl.h26 std::numeric_limits<NumericType>::is_signed);
50 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
54 std::numeric_limits<Src>::is_signed
166 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
169 IntegerRepresentation SrcSign = std::numeric_limits<Src>::is_signed
Dsafe_numerics_unittest.cc83 numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic() argument
139 !numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic()
346 ((SrcLimits::is_signed == DstLimits::is_signed && in Test()
349 (DstLimits::is_signed && sizeof(Dst) > sizeof(Src)))), in Test()
374 } else if (numeric_limits<Src>::is_signed) { in Test()
386 static_assert(SrcLimits::is_signed == DstLimits::is_signed, in Test()
417 } else if (SrcLimits::is_signed) { in Test()
435 static_assert(SrcLimits::is_signed, "Source must be signed"); in Test()
436 static_assert(!DstLimits::is_signed, "Destination must be unsigned"); in Test()
458 static_assert(SrcLimits::is_signed, "Source must be signed."); in Test()
[all …]
/external/libweave/third_party/chromium/base/numerics/
Dsafe_math_impl.h85 std::numeric_limits<Integer>::is_signed>::type>::type type;
144 if (std::numeric_limits<T>::is_signed) {
167 if (std::numeric_limits<T>::is_signed) {
197 std::numeric_limits<T>::is_signed &&
227 !std::numeric_limits<T>::is_signed &&
244 if (std::numeric_limits<T>::is_signed && x == std::numeric_limits<T>::min() &&
256 std::numeric_limits<T>::is_signed,
265 !std::numeric_limits<T>::is_signed,
274 std::numeric_limits<T>::is_signed,
285 !std::numeric_limits<T>::is_signed,
[all …]
Dsafe_conversions_impl.h24 std::numeric_limits<NumericType>::is_signed);
48 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
52 std::numeric_limits<Src>::is_signed
164 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
167 IntegerRepresentation SrcSign = std::numeric_limits<Src>::is_signed
Dsafe_numerics_unittest.cc79 numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic() argument
135 !numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic()
342 ((SrcLimits::is_signed == DstLimits::is_signed && in Test()
345 (DstLimits::is_signed && sizeof(Dst) > sizeof(Src)))), in Test()
370 } else if (numeric_limits<Src>::is_signed) { in Test()
382 static_assert(SrcLimits::is_signed == DstLimits::is_signed, in Test()
413 } else if (SrcLimits::is_signed) { in Test()
431 static_assert(SrcLimits::is_signed, "Source must be signed"); in Test()
432 static_assert(!DstLimits::is_signed, "Destination must be unsigned"); in Test()
454 static_assert(SrcLimits::is_signed, "Source must be signed."); in Test()
[all …]
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h86 std::numeric_limits<Integer>::is_signed>::type>::type type;
126 if (std::numeric_limits<T>::is_signed) {
149 if (std::numeric_limits<T>::is_signed) {
179 std::numeric_limits<T>::is_signed &&
209 !std::numeric_limits<T>::is_signed &&
226 if (std::numeric_limits<T>::is_signed && x == std::numeric_limits<T>::min() &&
238 std::numeric_limits<T>::is_signed,
247 !std::numeric_limits<T>::is_signed,
256 std::numeric_limits<T>::is_signed,
267 !std::numeric_limits<T>::is_signed,
[all …]
Dsafe_conversions_impl.h25 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/
Dsafe_math_impl.h115 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 …]
Dsafe_conversions_impl.h28 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/webrtc/webrtc/base/
Dsafe_conversions_impl.h40 DstSign IsDstSigned = std::numeric_limits<Dst>::is_signed ?
42 SrcSign IsSrcSigned = std::numeric_limits<Src>::is_signed ?
102 DstSign IsDstSigned = std::numeric_limits<Dst>::is_signed ?
104 SrcSign IsSrcSigned = std::numeric_limits<Src>::is_signed ?
/external/eigen/test/
Dinteger_types.cpp24 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/
Dlimits32 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/llvm/include/llvm/Support/
DScaledNumber.h55 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,
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dbyte_io.h72 bool is_signed = std::numeric_limits<T>::is_signed>
174 bool is_signed = std::numeric_limits<T>::is_signed>
/external/protobuf/python/google/protobuf/
Dtext_format.py571 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)]

1234