/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
D | stdint_h.pass.cpp | 25 static_assert(std::is_signed<int8_t>::value, in main() 30 static_assert(std::is_signed<int16_t>::value, in main() 35 static_assert(std::is_signed<int32_t>::value, in main() 40 static_assert(std::is_signed<int64_t>::value, in main() 67 static_assert(std::is_signed<int_least8_t>::value, in main() 72 static_assert(std::is_signed<int_least16_t>::value, in main() 77 static_assert(std::is_signed<int_least32_t>::value, in main() 82 static_assert(std::is_signed<int_least64_t>::value, in main() 109 static_assert(std::is_signed<int_fast8_t>::value, in main() 114 static_assert(std::is_signed<int_fast16_t>::value, in main() [all …]
|
D | stddef_h.pass.cpp | 33 static_assert(std::is_signed<ptrdiff_t>::value, in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/cstdint/cstdint.syn/ |
D | cstdint.pass.cpp | 25 static_assert(std::is_signed<std::int8_t>::value, in main() 30 static_assert(std::is_signed<std::int16_t>::value, in main() 35 static_assert(std::is_signed<std::int32_t>::value, in main() 40 static_assert(std::is_signed<std::int64_t>::value, in main() 67 static_assert(std::is_signed<std::int_least8_t>::value, in main() 72 static_assert(std::is_signed<std::int_least16_t>::value, in main() 77 static_assert(std::is_signed<std::int_least32_t>::value, in main() 82 static_assert(std::is_signed<std::int_least64_t>::value, in main() 109 static_assert(std::is_signed<std::int_fast8_t>::value, in main() 114 static_assert(std::is_signed<std::int_fast16_t>::value, in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
|
/ndk/tests/device/test-stlport/unit/ |
D | limits_test.cpp | 70 bool test_integral_limits_base(const _Tp &, bool unknown_sign = true, bool is_signed = true) { in test_integral_limits_base() argument 78 …CHECK_COND((unknown_sign && ((lim::is_signed && (lim::min() != 0)) || (!lim::is_signed && (lim::mi… in test_integral_limits_base() 79 (!unknown_sign && ((lim::is_signed && is_signed) || (!lim::is_signed && !is_signed)))); in test_integral_limits_base() 82 CHECK_COND(valid_sign_info(lim::is_signed, _Tp())); in test_integral_limits_base() 88 bool test_integral_limits(const _Tp &val, bool unknown_sign = true, bool is_signed = true) { in test_integral_limits() argument 89 if (!test_integral_limits_base(val, unknown_sign, is_signed)) in test_integral_limits() 97 (!lim::is_bounded && !lim::is_signed)) { in test_integral_limits() 129 CHECK_COND(lim::is_signed); in test_float_limits()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | limits_test.cpp | 70 bool test_integral_limits_base(const _Tp &, bool unknown_sign = true, bool is_signed = true) { in test_integral_limits_base() argument 78 …CHECK_COND((unknown_sign && ((lim::is_signed && (lim::min() != 0)) || (!lim::is_signed && (lim::mi… in test_integral_limits_base() 79 (!unknown_sign && ((lim::is_signed && is_signed) || (!lim::is_signed && !is_signed)))); in test_integral_limits_base() 82 CHECK_COND(valid_sign_info(lim::is_signed, _Tp())); in test_integral_limits_base() 88 bool test_integral_limits(const _Tp &val, bool unknown_sign = true, bool is_signed = true) { in test_integral_limits() argument 89 if (!test_integral_limits_base(val, unknown_sign, is_signed)) in test_integral_limits() 97 (!lim::is_bounded && !lim::is_signed)) { in test_integral_limits() 129 CHECK_COND(lim::is_signed); in test_float_limits()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/ |
D | 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 ;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.ios.members/ |
D | streamoff.pass.cpp | 24 static_assert((std::is_signed<std::ios_base::streamoff>::value), ""); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.types/ |
D | ptrdiff_t.pass.cpp | 23 static_assert(std::is_signed<std::ptrdiff_t>::value, in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/ |
D | is_signed.hpp | 131 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_signed,T,__is_signed(T)) 133 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_signed,T,::boost::detail::is_signed_imp<T>::value)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/ |
D | minutes.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, ""); in main()
|
D | hours.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, ""); in main()
|
D | nanoseconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, ""); in main()
|
D | microseconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, ""); in main()
|
D | seconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, ""); in main()
|
D | milliseconds.pass.cpp | 23 static_assert(std::is_signed<Rep>::value, ""); in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
D | limits.hpp | 58 BOOST_STATIC_CONSTANT(bool, is_signed = true); 111 BOOST_STATIC_CONSTANT(bool, is_signed = false);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _limits.c | 43 __declare_numeric_base_member(bool, is_signed); 72 __declare_integer_limits_member(bool, is_signed); 88 _STLP_TEMPLATE_NULL const bool numeric_limits<__integer>::is_signed; \ 118 __declare_float_limits_member(bool, is_signed);
|
D | _limits.h | 77 _STLP_STATIC_CONSTANT(bool, is_signed = false); 128 _STLP_STATIC_CONSTANT(bool, is_signed = (__imin != 0)); 158 _STLP_STATIC_CONSTANT(bool, is_signed = true); 307 _STLP_STATIC_CONSTANT(bool, is_signed = true); 326 _STLP_STATIC_CONSTANT(bool, is_signed = false);
|
/ndk/sources/cxx-stl/llvm-libc++/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); 257 static _LIBCPP_CONSTEXPR const bool is_signed = false; 305 static _LIBCPP_CONSTEXPR const bool is_signed = true; 351 static _LIBCPP_CONSTEXPR const bool is_signed = true; [all …]
|