/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
epsilon.pass.cpp | 10 // test numeric_limits 20 test(T expected) function 30 test<bool>(false); 31 test<char>(0); 32 test<signed char>(0); 33 test<unsigned char>(0); 34 test<wchar_t>(0); 36 test<char16_t>(0); 37 test<char32_t>(0); 39 test<short>(0) [all...] |
has_denorm.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_denorm == expected, "has_denorm test 1"); 21 static_assert(std::numeric_limits<const T>::has_denorm == expected, "has_denorm test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_denorm == expected, "has_denorm test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_denorm == expected, "has_denorm test 4"); 28 test<bool, std::denorm_absent>(); 29 test<char, std::denorm_absent>(); 30 test<signed char, std::denorm_absent>(); 31 test<unsigned char, std::denorm_absent>() [all...] |
has_denorm_loss.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_denorm_loss == expected, "has_denorm_loss test 1"); 21 static_assert(std::numeric_limits<const T>::has_denorm_loss == expected, "has_denorm_loss test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_denorm_loss == expected, "has_denorm_loss test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_denorm_loss == expected, "has_denorm_loss test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigned char, false>() [all...] |
has_infinity.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_infinity == expected, "has_infinity test 1"); 21 static_assert(std::numeric_limits<const T>::has_infinity == expected, "has_infinity test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_infinity == expected, "has_infinity test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_infinity == expected, "has_infinity test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigned char, false>() [all...] |
has_quiet_NaN.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_quiet_NaN == expected, "has_quiet_NaN test 1"); 21 static_assert(std::numeric_limits<const T>::has_quiet_NaN == expected, "has_quiet_NaN test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigned char, false>() [all...] |
has_signaling_NaN.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_signaling_NaN == expected, "has_signaling_NaN test 1"); 21 static_assert(std::numeric_limits<const T>::has_signaling_NaN == expected, "has_signaling_NaN test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigned char, false>() [all...] |
is_bounded.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_bounded == expected, "is_bounded test 1"); 21 static_assert(std::numeric_limits<const T>::is_bounded == expected, "is_bounded test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_bounded == expected, "is_bounded test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_bounded == expected, "is_bounded test 4"); 28 test<bool, true>(); 29 test<char, true>(); 30 test<signed char, true>(); 31 test<unsigned char, true>() [all...] |
is_exact.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_exact == expected, "is_exact test 1"); 21 static_assert(std::numeric_limits<const T>::is_exact == expected, "is_exact test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_exact == expected, "is_exact test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_exact == expected, "is_exact test 4"); 28 test<bool, true>(); 29 test<char, true>(); 30 test<signed char, true>(); 31 test<unsigned char, true>() [all...] |
is_iec559.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_iec559 == expected, "is_iec559 test 1"); 21 static_assert(std::numeric_limits<const T>::is_iec559 == expected, "is_iec559 test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_iec559 == expected, "is_iec559 test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_iec559 == expected, "is_iec559 test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigned char, false>() [all...] |
is_integer.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_integer == expected, "is_integer test 1"); 21 static_assert(std::numeric_limits<const T>::is_integer == expected, "is_integer test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_integer == expected, "is_integer test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_integer == expected, "is_integer test 4"); 28 test<bool, true>(); 29 test<char, true>(); 30 test<signed char, true>(); 31 test<unsigned char, true>() [all...] |
is_modulo.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_modulo == expected, "is_modulo test 1"); 21 static_assert(std::numeric_limits<const T>::is_modulo == expected, "is_modulo test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_modulo == expected, "is_modulo test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_modulo == expected, "is_modulo test 4"); 28 test<bool, false>(); 29 test<char, true>(); 30 test<signed char, true>(); 31 test<unsigned char, true>() [all...] |
is_signed.pass.cpp | 10 // test numeric_limits 18 test() function 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"); 28 test<bool, false>(); 29 test<char, char(-1) < char(0)>(); 30 test<signed char, true>(); 31 test<unsigned char, false>() [all...] |
lowest.pass.cpp | 10 // test numeric_limits 22 test(T expected) function 36 test<bool>(false); 37 test<char>(CHAR_MIN); 38 test<signed char>(SCHAR_MIN); 39 test<unsigned char>(0); 40 test<wchar_t>(WCHAR_MIN); 42 test<char16_t>(0); 43 test<char32_t>(0); 45 test<short>(SHRT_MIN) [all...] |
max.pass.cpp | 10 // test numeric_limits 22 test(T expected) function 36 test<bool>(true); 37 test<char>(CHAR_MAX); 38 test<signed char>(SCHAR_MAX); 39 test<unsigned char>(UCHAR_MAX); 40 test<wchar_t>(WCHAR_MAX); 42 test<char16_t>(USHRT_MAX); 43 test<char32_t>(UINT_MAX); 45 test<short>(SHRT_MAX) [all...] |
max_digits10.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::max_digits10 == expected, "max_digits10 test 1"); 22 static_assert(std::numeric_limits<const T>::max_digits10 == expected, "max_digits10 test 2"); 23 static_assert(std::numeric_limits<volatile T>::max_digits10 == expected, "max_digits10 test 3"); 24 static_assert(std::numeric_limits<const volatile T>::max_digits10 == expected, "max_digits10 test 4"); 29 test<bool, 0>(); 30 test<char, 0>(); 31 test<signed char, 0>(); 32 test<unsigned char, 0>() [all...] |
max_exponent.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::max_exponent == expected, "max_exponent test 1"); 22 static_assert(std::numeric_limits<const T>::max_exponent == expected, "max_exponent test 2"); 23 static_assert(std::numeric_limits<volatile T>::max_exponent == expected, "max_exponent test 3"); 24 static_assert(std::numeric_limits<const volatile T>::max_exponent == expected, "max_exponent test 4"); 29 test<bool, 0>(); 30 test<char, 0>(); 31 test<signed char, 0>(); 32 test<unsigned char, 0>() [all...] |
max_exponent10.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::max_exponent10 == expected, "max_exponent10 test 1"); 22 static_assert(std::numeric_limits<const T>::max_exponent10 == expected, "max_exponent10 test 2"); 23 static_assert(std::numeric_limits<volatile T>::max_exponent10 == expected, "max_exponent10 test 3"); 24 static_assert(std::numeric_limits<const volatile T>::max_exponent10 == expected, "max_exponent10 test 4"); 29 test<bool, 0>(); 30 test<char, 0>(); 31 test<signed char, 0>(); 32 test<unsigned char, 0>() [all...] |
min.pass.cpp | 10 // test numeric_limits 22 test(T expected) function 36 test<bool>(false); 37 test<char>(CHAR_MIN); 38 test<signed char>(SCHAR_MIN); 39 test<unsigned char>(0); 40 test<wchar_t>(WCHAR_MIN); 42 test<char16_t>(0); 43 test<char32_t>(0); 45 test<short>(SHRT_MIN) [all...] |
min_exponent.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::min_exponent == expected, "min_exponent test 1"); 22 static_assert(std::numeric_limits<const T>::min_exponent == expected, "min_exponent test 2"); 23 static_assert(std::numeric_limits<volatile T>::min_exponent == expected, "min_exponent test 3"); 24 static_assert(std::numeric_limits<const volatile T>::min_exponent == expected, "min_exponent test 4"); 29 test<bool, 0>(); 30 test<char, 0>(); 31 test<signed char, 0>(); 32 test<unsigned char, 0>() [all...] |
min_exponent10.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::min_exponent10 == expected, "min_exponent10 test 1"); 22 static_assert(std::numeric_limits<const T>::min_exponent10 == expected, "min_exponent10 test 2"); 23 static_assert(std::numeric_limits<volatile T>::min_exponent10 == expected, "min_exponent10 test 3"); 24 static_assert(std::numeric_limits<const volatile T>::min_exponent10 == expected, "min_exponent10 test 4"); 29 test<bool, 0>(); 30 test<char, 0>(); 31 test<signed char, 0>(); 32 test<unsigned char, 0>() [all...] |
radix.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::radix == expected, "radix test 1"); 22 static_assert(std::numeric_limits<const T>::radix == expected, "radix test 2"); 23 static_assert(std::numeric_limits<volatile T>::radix == expected, "radix test 3"); 24 static_assert(std::numeric_limits<const volatile T>::radix == expected, "radix test 4"); 29 test<bool, 2>(); 30 test<char, 2>(); 31 test<signed char, 2>(); 32 test<unsigned char, 2>() [all...] |
round_error.pass.cpp | 10 // test numeric_limits 20 test(T expected) function 30 test<bool>(false); 31 test<char>(0); 32 test<signed char>(0); 33 test<unsigned char>(0); 34 test<wchar_t>(0); 36 test<char16_t>(0); 37 test<char32_t>(0); 39 test<short>(0) [all...] |
round_style.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::round_style == expected, "round_style test 1"); 21 static_assert(std::numeric_limits<const T>::round_style == expected, "round_style test 2"); 22 static_assert(std::numeric_limits<volatile T>::round_style == expected, "round_style test 3"); 23 static_assert(std::numeric_limits<const volatile T>::round_style == expected, "round_style test 4"); 28 test<bool, std::round_toward_zero>(); 29 test<char, std::round_toward_zero>(); 30 test<signed char, std::round_toward_zero>(); 31 test<unsigned char, std::round_toward_zero>() [all...] |
tinyness_before.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::tinyness_before == expected, "tinyness_before test 1"); 21 static_assert(std::numeric_limits<const T>::tinyness_before == expected, "tinyness_before test 2"); 22 static_assert(std::numeric_limits<volatile T>::tinyness_before == expected, "tinyness_before test 3"); 23 static_assert(std::numeric_limits<const volatile T>::tinyness_before == expected, "tinyness_before test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigned char, false>() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/ |
ctype_base.pass.cpp | 10 // This test uses new symbols that were not defined in the libc++ shipped on 40 void test(const _Tp &) {} function 66 test(std::ctype_base::space); 67 test(std::ctype_base::print); 68 test(std::ctype_base::cntrl); 69 test(std::ctype_base::upper); 70 test(std::ctype_base::lower); 71 test(std::ctype_base::alpha); 72 test(std::ctype_base::digit); 73 test(std::ctype_base::punct) [all...] |