/external/libcxx/test/std/language.support/cstdint/cstdint.syn/ |
D | cstdint.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 24 // typedef std::int8_t in main() 25 static_assert(sizeof(std::int8_t)*CHAR_BIT == 8, in main() 26 "sizeof(std::int8_t)*CHAR_BIT == 8"); in main() 27 static_assert(std::is_signed<std::int8_t>::value, in main() 28 "std::is_signed<std::int8_t>::value"); in main() 29 // typedef std::int16_t in main() 30 static_assert(sizeof(std::int16_t)*CHAR_BIT == 16, in main() 31 "sizeof(std::int16_t)*CHAR_BIT == 16"); in main() [all …]
|
/external/libcxx/test/std/re/re.const/re.err/ |
D | error_type.pass.cpp | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 41 assert(std::regex_constants::error_collate != 0); in main() 42 assert(std::regex_constants::error_ctype != 0); in main() 43 assert(std::regex_constants::error_escape != 0); in main() 44 assert(std::regex_constants::error_backref != 0); in main() 45 assert(std::regex_constants::error_brack != 0); in main() 46 assert(std::regex_constants::error_paren != 0); in main() 47 assert(std::regex_constants::error_brace != 0); in main() [all …]
|
/external/libcxx/test/std/utilities/meta/meta.logical/ |
D | disjunction.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 25 static_assert (!std::disjunction<>::value, "" ); in main() 26 static_assert ( std::disjunction<std::true_type >::value, "" ); in main() 27 static_assert (!std::disjunction<std::false_type>::value, "" ); in main() 29 static_assert (!std::disjunction_v<>, "" ); in main() 30 static_assert ( std::disjunction_v<std::true_type >, "" ); in main() 31 static_assert (!std::disjunction_v<std::false_type>, "" ); in main() 33 static_assert ( std::disjunction<std::true_type, std::true_type >::value, "" ); in main() 34 static_assert ( std::disjunction<std::true_type, std::false_type>::value, "" ); in main() [all …]
|
D | conjunction.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 25 static_assert ( std::conjunction<>::value, "" ); in main() 26 static_assert ( std::conjunction<std::true_type >::value, "" ); in main() 27 static_assert (!std::conjunction<std::false_type>::value, "" ); in main() 29 static_assert ( std::conjunction_v<>, "" ); in main() 30 static_assert ( std::conjunction_v<std::true_type >, "" ); in main() 31 static_assert (!std::conjunction_v<std::false_type>, "" ); in main() 33 static_assert ( std::conjunction<std::true_type, std::true_type >::value, "" ); in main() 34 static_assert (!std::conjunction<std::true_type, std::false_type>::value, "" ); in main() [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
D | tuple_cat.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 30 std::tuple<> t = std::tuple_cat(); in main() 34 std::tuple<> t1; in main() 35 std::tuple<> t2 = std::tuple_cat(t1); in main() 39 std::tuple<> t = std::tuple_cat(std::tuple<>()); in main() 43 std::tuple<> t = std::tuple_cat(std::array<int, 0>()); in main() 47 std::tuple<int> t1(1); in main() 48 std::tuple<int> t = std::tuple_cat(t1); in main() 49 assert(std::get<0>(t) == 1); in main() [all …]
|
/external/libcxx/test/std/re/re.traits/ |
D | lookup_classname.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 27 typename std::regex_traits<char_type>::char_class_type expected, in test() 30 typedef typename std::regex_traits<char_type>::char_class_type char_class_type; in test() 31 std::regex_traits<char_type> t; in test() 40 typename std::regex_traits<char_type>::char_class_type expected, in test_w() 43 typedef typename std::regex_traits<char_type>::char_class_type char_class_type; in test_w() 44 std::regex_traits<char_type> t; in test_w() 48 LIBCPP_ASSERT((expected | std::regex_traits<char_type>::__regex_word) == result); in test_w() 61 LIBCPP_ASSERT((std::ctype_base::space & std::regex_traits<char>::__regex_word) == 0); in main() [all …]
|
D | lookup_collatename.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 13 // REQUIRES: locale.cs_CZ.ISO8859-2 24 // XFAIL: linux-gnu 36 test(const char_type* A, const std::basic_string<char_type>& expected) in test() 38 std::regex_traits<char_type> t; in test() 45 test("NUL", std::string("\x00", 1)); in main() 46 test("alert", std::string("\x07")); in main() 47 test("backspace", std::string("\x08")); in main() 48 test("tab", std::string("\x09")); in main() [all …]
|
/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 11 // when -fdelayed-template-parsing is enabled, like it is on Windows. 12 // XFAIL: LIBCXX-WINDOWS-FIXME 14 // REQUIRES: verify-support, diagnose-if-support 15 // UNSUPPORTED: libcpp-has-no-threads 24 std::atomic<int> x(42); in main() 25 volatile std::atomic<int>& vx = x; in main() 30 …x.load(std::memory_order_release); // expected-warning {{memory order argument to atomic operation… in main() 31 …x.load(std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic operation… in main() [all …]
|
/external/libcxx/test/std/numerics/complex.number/ |
D | cases.h | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 20 const std::complex<double> testcases[] = 22 std::complex<double>( 1.e-6, 1.e-6), 23 std::complex<double>(-1.e-6, 1.e-6), 24 std::complex<double>(-1.e-6, -1.e-6), 25 std::complex<double>( 1.e-6, -1.e-6), 27 std::complex<double>( 1.e+6, 1.e-6), 28 std::complex<double>(-1.e+6, 1.e-6), 29 std::complex<double>(-1.e+6, -1.e-6), [all …]
|
/external/libcxx/test/std/re/re.const/re.matchflag/ |
D | match_flag_type.pass.cpp | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 41 assert(std::regex_constants::match_default == 0); in main() 42 assert(std::regex_constants::match_not_bol != 0); in main() 43 assert(std::regex_constants::match_not_eol != 0); in main() 44 assert(std::regex_constants::match_not_bow != 0); in main() 45 assert(std::regex_constants::match_not_eow != 0); in main() 46 assert(std::regex_constants::match_any != 0); in main() 47 assert(std::regex_constants::match_not_null != 0); in main() [all …]
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | cstdint_typedefs.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: libcpp-has-no-threads 45 …static_assert((std::is_same<std::atomic< std::int_least8_t>, std::atomic_int_least8_t>::value),… in main() 46 …static_assert((std::is_same<std::atomic< std::uint_least8_t>, std::atomic_uint_least8_t>::value),… in main() 47 …static_assert((std::is_same<std::atomic< std::int_least16_t>, std::atomic_int_least16_t>::value),… in main() 48 …static_assert((std::is_same<std::atomic<std::uint_least16_t>, std::atomic_uint_least16_t>::value),… in main() 49 …static_assert((std::is_same<std::atomic< std::int_least32_t>, std::atomic_int_least32_t>::value),… in main() 50 …static_assert((std::is_same<std::atomic<std::uint_least32_t>, std::atomic_uint_least32_t>::value),… in main() 51 …static_assert((std::is_same<std::atomic< std::int_least64_t>, std::atomic_int_least64_t>::value),… in main() [all …]
|
D | integral_typedefs.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: libcpp-has-no-threads 46 static_assert((std::is_same<std::atomic<char>, std::atomic_char>::value), ""); in main() 47 static_assert((std::is_same<std::atomic<signed char>, std::atomic_schar>::value), ""); in main() 48 static_assert((std::is_same<std::atomic<unsigned char>, std::atomic_uchar>::value), ""); in main() 49 static_assert((std::is_same<std::atomic<short>, std::atomic_short>::value), ""); in main() 50 static_assert((std::is_same<std::atomic<unsigned short>, std::atomic_ushort>::value), ""); in main() 51 static_assert((std::is_same<std::atomic<int>, std::atomic_int>::value), ""); in main() 52 static_assert((std::is_same<std::atomic<unsigned int>, std::atomic_uint>::value), ""); in main() [all …]
|
/external/libcxx/test/std/re/re.const/re.synopt/ |
D | syntax_option_type.pass.cpp | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 38 assert(std::regex_constants::icase != 0); in main() 39 assert(std::regex_constants::nosubs != 0); in main() 40 assert(std::regex_constants::optimize != 0); in main() 41 assert(std::regex_constants::collate != 0); in main() 42 assert(std::regex_constants::ECMAScript == 0); in main() 43 assert(std::regex_constants::basic != 0); in main() 44 assert(std::regex_constants::extended != 0); in main() [all …]
|
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
D | seekoff.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 24 std::stringbuf sb(std::ios_base::in); in main() 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); in main() 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); in main() 27 assert(sb.pubseekoff(-3, std::ios_base::end, std::ios_base::out) == -1); in main() 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std::ios_base::out) == -1); in main() 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); in main() 30 assert(sb.pubseekoff(-3, std::ios_base::end, std::ios_base::in | std::ios_base::out) == -1); in main() 31 assert(sb.pubseekoff(0, std::ios_base::beg, std::ios_base::in) == 0); in main() [all …]
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
D | aligned_storage.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 15 // The member typedef type shall be a trivial standard-layout type. 18 #include <cstddef> // for std::max_align_t 24 typedef std::aligned_storage<10, 1 >::type T1; in main() 26 static_assert(std::is_same<std::aligned_storage_t<10, 1>, T1>::value, ""); in main() 29 static_assert(std::is_pod<T1>::value, ""); in main() 31 static_assert(std::is_trivial<T1>::value, ""); in main() 32 static_assert(std::is_standard_layout<T1>::value, ""); in main() 33 static_assert(std::alignment_of<T1>::value == 1, ""); in main() [all …]
|
/external/libcxx/test/std/input.output/file.streams/c.files/ |
D | cstdio.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 85 #pragma clang diagnostic ignored "-Wformat-zero-length" 86 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 91 std::FILE* fp = 0; in main() 92 std::fpos_t fpos = std::fpos_t(); in main() 93 std::size_t s = 0; in main() 95 std::va_list va; in main() 101 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); in main() 102 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); in main() [all …]
|
/external/libcxx/test/std/input.output/iostream.forward/ |
D | iosfwd.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 23 test<std::char_traits<char>* >(); in main() 24 test<std::char_traits<wchar_t>* >(); in main() 25 test<std::char_traits<unsigned short>*>(); in main() 27 test<std::basic_ios<char>* >(); in main() 28 test<std::basic_ios<wchar_t>* >(); in main() 29 test<std::basic_ios<unsigned short>*>(); in main() 31 test<std::basic_streambuf<char>* >(); in main() 32 test<std::basic_streambuf<wchar_t>* >(); in main() [all …]
|
/external/angle/src/tests/perf_tests/third_party/perf/ |
D | angle-mods.patch | 1 diff --git a/src/tests/perf_tests/third_party/perf/angle-mods.patch b/src/tests/perf_tests/third_pa… 3 --- a/src/tests/perf_tests/third_party/perf/angle-mods.patch 4 +++ b/src/tests/perf_tests/third_party/perf/angle-mods.patch 5 @@ -1,176 +0,0 @@ 6 -diff --git a/src/tests/perf_tests/third_party/perf/angle-mods.patch b/src/tests/perf_tests/third_p… 7 -index d0b640289..e69de29bb 100644 8 ---- a/src/tests/perf_tests/third_party/perf/angle-mods.patch 9 -+++ b/src/tests/perf_tests/third_party/perf/angle-mods.patch 10 -@@ -1,61 +0,0 @@ 11 --diff --git a/tests/perf_tests/third_party/perf/perf_test.cc b/tests/perf_tests/third_party/perf/p… [all …]
|
/external/libcxx/test/std/language.support/support.runtime/ |
D | cstdlib.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 18 // As of 1/10/2015 clang emits a -Wnonnull warnings even if the warning occurs 21 #pragma clang diagnostic ignored "-Wnonnull" 48 static_assert((std::is_same<decltype(obj.quot), IntType>::value), ""); in test_div_struct() 49 static_assert((std::is_same<decltype(obj.rem), IntType>::value), ""); in test_div_struct() 55 std::size_t s = 0; in main() 57 static_assert((std::is_same<std::size_t, decltype(sizeof(int))>::value), ""); in main() 58 test_div_struct<std::div_t, int>(); in main() 59 test_div_struct<std::ldiv_t, long>(); in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/ |
D | literals.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 36 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::January)); in main() 37 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::February)); in main() 38 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::March)); in main() 39 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::April)); in main() 40 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::May)); in main() 41 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::June)); in main() 42 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::July)); in main() 43 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::August)); in main() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/ |
D | neg_format.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 10 // XFAIL: apple-darwin 15 // REQUIRES: locale.en_US.UTF-8 16 // REQUIRES: locale.fr_FR.UTF-8 17 // REQUIRES: locale.ru_RU.UTF-8 18 // REQUIRES: locale.zh_CN.UTF-8 33 : public std::moneypunct_byname<char, false> 36 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() 37 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf() [all …]
|
D | pos_format.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 10 // XFAIL: apple-darwin 15 // REQUIRES: locale.en_US.UTF-8 16 // REQUIRES: locale.fr_FR.UTF-8 17 // REQUIRES: locale.ru_RU.UTF-8 18 // REQUIRES: locale.zh_CN.UTF-8 33 : public std::moneypunct_byname<char, false> 36 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() 37 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf() [all …]
|
/external/libcxx/test/std/localization/locales/locale/locale.members/ |
D | combine.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 22 void check(const std::locale& loc) in check() 24 assert(std::has_facet<std::collate<char> >(loc)); in check() 25 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 27 assert(std::has_facet<std::ctype<char> >(loc)); in check() 28 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 29 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 30 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 31 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() [all …]
|
/external/libcxx/test/std/localization/locales/locale/locale.cons/ |
D | string.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 10 // REQUIRES: locale.ru_RU.UTF-8 11 // REQUIRES: locale.zh_CN.UTF-8 24 void check(const std::locale& loc) in check() 26 assert(std::has_facet<std::collate<char> >(loc)); in check() 27 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 29 assert(std::has_facet<std::ctype<char> >(loc)); in check() 30 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 31 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() [all …]
|
/external/libcxx/test/std/localization/locales/locale/locale.statics/ |
D | classic.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 17 void check(const std::locale& loc) in check() 19 assert(std::has_facet<std::collate<char> >(loc)); in check() 20 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 22 assert(std::has_facet<std::ctype<char> >(loc)); in check() 23 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 24 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 25 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 26 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() [all …]
|