/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
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, false>(); // don't know 30 test<signed char, false>(); 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...] |
/external/libcxx/test/std/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...] |
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/ |
types.pass.cpp | 10 // This test uses new symbols that were not defined in the libc++ shipped on 31 void test(const _Tp &) {} function 44 test(std::moneypunct<char, false>::intl); 45 test(std::moneypunct<char, true>::intl); 46 test(std::moneypunct<wchar_t, false>::intl); 47 test(std::moneypunct<wchar_t, true>::intl);
|
/external/libcxx/test/std/localization/locales/locale/locale.types/locale.category/ |
category.pass.cpp | 10 // This test uses new symbols that were not defined in the libc++ shipped on 24 void test(const _Tp &) {} function 51 test(std::locale::none); 52 test(std::locale::collate); 53 test(std::locale::ctype); 54 test(std::locale::monetary); 55 test(std::locale::numeric); 56 test(std::locale::time); 57 test(std::locale::messages); 58 test(std::locale::all) [all...] |
/external/libcxx/test/std/numerics/complex.number/cmplx.over/ |
arg.pass.cpp | 24 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) function 32 test(T x, typename std::enable_if<!std::is_integral<T>::value>::type* = 0) function 40 test() function 42 test<T>(0); 43 test<T>(1); 44 test<T>(10); 49 test<float>(); 50 test<double>(); 51 test<long double>(); 52 test<int>() [all...] |
conj.pass.cpp | 26 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) function 34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) function 42 test(T x, typename std::enable_if<!std::is_integral<T>::value && function 51 test() function 53 test<T>(0); 54 test<T>(1); 55 test<T>(10); 60 test<float>(); 61 test<double>(); 62 test<long double>() [all...] |