HomeSort by relevance Sort by last modified time
    Searched full:is_signed (Results 1 - 25 of 253) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/
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, "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/
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/
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");
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);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
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");
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);
  /external/libcxx/test/depr/depr.c.headers/
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_t>::value")
    [all...]
stddef_h.pass.cpp 33 static_assert(std::is_signed<ptrdiff_t>::value,
34 "std::is_signed<ptrdiff_t>::value");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
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_t>::value")
    [all...]
stddef_h.pass.cpp 33 static_assert(std::is_signed<ptrdiff_t>::value,
34 "std::is_signed<ptrdiff_t>::value");
  /external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
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/language.support/cstdint/cstdint.syn/
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<std::int_least8_t>::value")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/cstdint/cstdint.syn/
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<std::int_least8_t>::value")
    [all...]
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
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...]
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
longobject.h 85 If is_signed is 0/false, view the bytes as a non-negative integer.
86 If is_signed is 1/true, view the bytes as a 2's-complement integer,
94 int little_endian, int is_signed);
102 If is_signed is 0/false, it's an error if v < 0; else (v >= 0) n bytes
104 If is_signed is 1/true, bytes is filled with the 2's-complement
107 + is_signed is 0 and v < 0. TypeError is set in this case, and bytes
110 example, if is_signed is 0 and there are more digits in the v than
111 fit in n; or if is_signed is 1, v < 0, and n is just 1 bit shy of
117 int little_endian, int is_signed);
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
longobject.h 85 If is_signed is 0/false, view the bytes as a non-negative integer.
86 If is_signed is 1/true, view the bytes as a 2's-complement integer,
94 int little_endian, int is_signed);
102 If is_signed is 0/false, it's an error if v < 0; else (v >= 0) n bytes
104 If is_signed is 1/true, bytes is filled with the 2's-complement
107 + is_signed is 0 and v < 0. TypeError is set in this case, and bytes
110 example, if is_signed is 0 and there are more digits in the v than
111 fit in n; or if is_signed is 1, v < 0, and n is just 1 bit shy of
117 int little_endian, int is_signed);
  /external/stlport/test/unit/
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...]
  /ndk/tests/device/test-gnustl-full/unit/
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...]
  /ndk/tests/device/test-stlport/unit/
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/libcxx/test/language.support/support.types/
ptrdiff_t.pass.cpp 23 static_assert(std::is_signed<std::ptrdiff_t>::value,
24 "std::is_signed<std::ptrdiff_t>::value");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.types/
ptrdiff_t.pass.cpp 23 static_assert(std::is_signed<std::ptrdiff_t>::value,
24 "std::is_signed<std::ptrdiff_t>::value");
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/
sign_mixture.hpp 38 typedef mpl::bool_< ::std::numeric_limits<S>::is_signed > S_signed ;
39 typedef mpl::bool_< ::std::numeric_limits<T>::is_signed > T_signed ;
  /external/chromium_org/base/numerics/
safe_numerics_unittest.cc 55 numeric_limits<Dst>::is_integer&& numeric_limits<Dst>::is_signed,
111 numeric_limits<Dst>::is_integer && !numeric_limits<Dst>::is_signed,
308 ((SrcLimits::is_signed == DstLimits::is_signed &&
311 (DstLimits::is_signed && sizeof(Dst) > sizeof(Src)))),
338 } else if (numeric_limits<Src>::is_signed) {
350 COMPILE_ASSERT(SrcLimits::is_signed == DstLimits::is_signed,
370 } else if (SrcLimits::is_signed) {
388 COMPILE_ASSERT(SrcLimits::is_signed, source_must_be_signed)
    [all...]
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/
safe_conversions_impl.h 27 std::numeric_limits<NumericType>::is_signed);
51 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
55 std::numeric_limits<Src>::is_signed
119 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
122 IntegerRepresentation SrcSign = std::numeric_limits<Src>::is_signed

Completed in 7446 milliseconds

1 2 3 4 5 6 7 8 91011