/external/clang/test/Index/ |
H A D | complete-templates.cpp | 13 void test() { function 17 // RUN: c-index-test -code-completion-at=%s:14:2 %s | FileCheck %s
|
/external/clang/test/Lexer/ |
H A D | char-escapes.c | 3 int test['\\' == 92 ? 1 : -1]; variable 4 int test['\"' == 34 ? 1 : -1]; variable 5 int test['\'' == 39 ? 1 : -1]; variable 6 int test['\?' == 63 ? 1 : -1]; variable 7 int test['\a' == 7 ? 1 : -1]; variable 8 int test['\b' == 8 ? 1 : -1]; variable 9 int test['\e' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable 10 int test['\E' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable 11 int test['\f' == 12 ? 1 : -1]; variable 12 int test['\ variable 13 int test['\\r' == 13 ? 1 : -1]; variable 14 int test['\\t' == 9 ? 1 : -1]; variable 15 int test['\\v' == 11 ? 1 : -1]; variable 16 int test['\\xa' == 10 ? 1 : -1]; variable 17 int test['\\1' == 1 ? 1 : -1]; variable 18 int test['\\(' == 40 ? 1 : -1]; // expected-warning {{non-standard escape}} variable 19 int test['\\{' == 123 ? 1 : -1]; // expected-warning {{non-standard escape}} variable 20 int test['\\[' == 91 ? 1 : -1]; // expected-warning {{non-standard escape}} variable 21 int test['\\%' == 37 ? 1 : -1]; // expected-warning {{non-standard escape}} variable [all...] |
/external/clang/test/Misc/ |
H A D | diag-verify.cpp | 6 void test() { function
|
/external/clang/test/PCH/ |
H A D | chain-ext_vector.c | 9 int test(float4 f4) { function
|
H A D | ext_vector.c | 8 int test(float4 f4) { function
|
/external/clang/test/Sema/ |
H A D | format-strings-fixit-ssize_t.c | 6 /* This is a test of the various code modification hints that are 13 void test() { function
|
H A D | format-strings-size_t.c | 5 void test(void) { function
|
/external/clang/test/SemaCXX/ |
H A D | do-while-scope.cpp | 4 void test() { function
|
/external/libcxx/test/language.support/support.limits/limits/ |
H A D | is_specialized.pass.cpp | 10 // test numeric_limits 25 // More convenient to test it here. 31 void test() function 45 test<bool>(); 46 test<char>(); 47 test<wchar_t>(); 49 test<char16_t>(); 50 test<char32_t>(); 52 test<signed char>(); 53 test<unsigne [all...] |
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
H A D | digits.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::digits == expected, "digits test 1"); 22 static_assert(std::numeric_limits<const T>::digits == expected, "digits test 2"); 23 static_assert(std::numeric_limits<volatile T>::digits == expected, "digits test 3"); 24 static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4"); 29 test<bool, 1>(); 30 test<char, std::numeric_limits<char>::is_signed ? 7 : 8>(); 31 test<signed char, 7>(); 32 test<unsigne [all...] |
H A D | digits10.pass.cpp | 10 // test numeric_limits 19 test() function 21 static_assert(std::numeric_limits<T>::digits10 == expected, "digits10 test 1"); 22 static_assert(std::numeric_limits<T>::is_bounded, "digits10 test 5"); 23 static_assert(std::numeric_limits<const T>::digits10 == expected, "digits10 test 2"); 24 static_assert(std::numeric_limits<const T>::is_bounded, "digits10 test 6"); 25 static_assert(std::numeric_limits<volatile T>::digits10 == expected, "digits10 test 3"); 26 static_assert(std::numeric_limits<volatile T>::is_bounded, "digits10 test 7"); 27 static_assert(std::numeric_limits<const volatile T>::digits10 == expected, "digits10 test 4"); 28 static_assert(std::numeric_limits<const volatile T>::is_bounded, "digits10 test [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |
H A D | 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<unsigne [all...] |