/external/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/ |
H A D | is_signed.pass.cpp | 12 // is_signed 19 static_assert( std::is_signed<T>::value, ""); 20 static_assert( std::is_signed<const T>::value, ""); 21 static_assert( std::is_signed<volatile T>::value, ""); 22 static_assert( std::is_signed<const volatile T>::value, ""); 28 static_assert(!std::is_signed<T>::value, ""); 29 static_assert(!std::is_signed<const T>::value, ""); 30 static_assert(!std::is_signed<volatile T>::value, ""); 31 static_assert(!std::is_signed<const volatile T>::value, "");
|
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
H A D | is_signed.pass.cpp | 12 // is_signed 20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1"); 21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4");
|
H A D | min.pass.cpp | 25 assert(std::numeric_limits<T>::is_bounded || !std::numeric_limits<T>::is_signed); 27 assert(std::numeric_limits<const T>::is_bounded || !std::numeric_limits<const T>::is_signed); 29 assert(std::numeric_limits<volatile T>::is_bounded || !std::numeric_limits<volatile T>::is_signed); 31 assert(std::numeric_limits<const volatile T>::is_bounded || !std::numeric_limits<const volatile T>::is_signed);
|
H A D | digits.pass.cpp | 30 test<char, std::numeric_limits<char>::is_signed ? 7 : 8>(); 33 test<wchar_t, std::numeric_limits<wchar_t>::is_signed ? sizeof(wchar_t)*8-1 : sizeof(wchar_t)*8>();
|
/external/libcxx/test/depr/depr.ios.members/ |
H A D | streamoff.pass.cpp | 24 static_assert((std::is_signed<std::ios_base::streamoff>::value), "");
|
/external/libcxx/test/input.output/iostreams.base/stream.types/ |
H A D | streamoff.pass.cpp | 20 static_assert(std::is_signed<std::streamoff>::value, "");
|
H A D | streamsize.pass.cpp | 20 static_assert(std::is_signed<std::streamsize>::value, "");
|
/external/libcxx/test/language.support/support.types/ |
H A D | ptrdiff_t.pass.cpp | 23 static_assert(std::is_signed<std::ptrdiff_t>::value, 24 "std::is_signed<std::ptrdiff_t>::value");
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | evsel-tp-sched.c | 9 int is_signed; local 17 is_signed = !!(field->flags | FIELD_IS_SIGNED); 18 if (should_be_signed && !is_signed) { 20 evsel->name, name, is_signed, should_be_signed);
|
/external/libcxx/test/depr/depr.c.headers/ |
H A D | stdint_h.pass.cpp | 25 static_assert(std::is_signed<int8_t>::value, 26 "std::is_signed<int8_t>::value"); 30 static_assert(std::is_signed<int16_t>::value, 31 "std::is_signed<int16_t>::value"); 35 static_assert(std::is_signed<int32_t>::value, 36 "std::is_signed<int32_t>::value"); 40 static_assert(std::is_signed<int64_t>::value, 41 "std::is_signed<int64_t>::value"); 67 static_assert(std::is_signed<int_least8_t>::value, 68 "std::is_signed<int_least8_ [all...] |
H A D | stddef_h.pass.cpp | 33 static_assert(std::is_signed<ptrdiff_t>::value, 34 "std::is_signed<ptrdiff_t>::value");
|
/external/libcxx/test/language.support/cstdint/cstdint.syn/ |
H A D | cstdint.pass.cpp | 25 static_assert(std::is_signed<std::int8_t>::value, 26 "std::is_signed<std::int8_t>::value"); 30 static_assert(std::is_signed<std::int16_t>::value, 31 "std::is_signed<std::int16_t>::value"); 35 static_assert(std::is_signed<std::int32_t>::value, 36 "std::is_signed<std::int32_t>::value"); 40 static_assert(std::is_signed<std::int64_t>::value, 41 "std::is_signed<std::int64_t>::value"); 67 static_assert(std::is_signed<std::int_least8_t>::value, 68 "std::is_signed<st [all...] |
/external/libcxx/test/utilities/time/ |
H A D | hours.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, "");
|
H A D | microseconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, "");
|
H A D | milliseconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, "");
|
H A D | minutes.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, "");
|
H A D | nanoseconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, "");
|
H A D | seconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, "");
|
/external/stlport/test/unit/ |
H A D | limits_test.cpp | 70 bool test_integral_limits_base(const _Tp &, bool unknown_sign = true, bool is_signed = true) { 78 CHECK_COND((unknown_sign && ((lim::is_signed && (lim::min() != 0)) || (!lim::is_signed && (lim::min() == 0)))) || 79 (!unknown_sign && ((lim::is_signed && is_signed) || (!lim::is_signed && !is_signed)))); 82 CHECK_COND(valid_sign_info(lim::is_signed, _Tp())); 88 bool test_integral_limits(const _Tp &val, bool unknown_sign = true, bool is_signed = true) { 89 if (!test_integral_limits_base(val, unknown_sign, is_signed)) [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
H A D | byte_io.h | 46 // T = type of integer, B = bytes to read, is_signed = true if signed integer 47 // If is_signed is true and B < sizeof(T), sign extension might be needed 49 bool is_signed = std::numeric_limits<T>::is_signed> 53 if (is_signed && B < sizeof(T)) { 60 if (is_signed && B < sizeof(T)) { 126 template<typename T, bool is_signed> 127 class ByteReader<T, 2, is_signed> { 153 template<typename T, bool is_signed> 154 class ByteReader<T, 4, is_signed> { [all...] |
/external/chromium_org/google_apis/gaia/ |
H A D | oauth_request_signer.cc | 274 bool is_signed = false; local 278 is_signed = SignHmacSha1(base, key, &signature); 281 is_signed = SignRsaSha1(base, key, &signature); 284 is_signed = SignPlaintext(base, key, &signature); 289 if (is_signed) 291 return is_signed; 404 bool is_signed = SignParameters(request_base_url, signature_method, local 407 if (is_signed) { 421 return is_signed; 437 bool is_signed local [all...] |
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
H A D | mct.h | 108 @param is_signed tells if the data is signed 116 OPJ_UINT32 is_signed);
|
/external/chromium_org/base/numerics/ |
H A D | safe_numerics_unittest.cc | 62 numeric_limits<Dst>::is_integer&& numeric_limits<Dst>::is_signed, 118 numeric_limits<Dst>::is_integer && !numeric_limits<Dst>::is_signed, 315 ((SrcLimits::is_signed == DstLimits::is_signed && 318 (DstLimits::is_signed && sizeof(Dst) > sizeof(Src)))), 345 } else if (numeric_limits<Src>::is_signed) { 357 COMPILE_ASSERT(SrcLimits::is_signed == DstLimits::is_signed, 377 } else if (SrcLimits::is_signed) { 395 COMPILE_ASSERT(SrcLimits::is_signed, source_must_be_signe [all...] |
H A D | safe_conversions_impl.h | 24 std::numeric_limits<NumericType>::is_signed); 48 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 52 std::numeric_limits<Src>::is_signed 115 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 118 IntegerRepresentation SrcSign = std::numeric_limits<Src>::is_signed
|
/external/chromium_org/v8/src/base/ |
H A 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
|