/external/libcxx/test/std/utilities/function.objects/refwrap/ |
H A D | binary.pass.cpp | 20 : public std::unary_function<int, char> 25 : public std::binary_function<char, int, double> 30 : public std::unary_function<int, int>, 31 public std::binary_function<char, int, double> 38 : public std::unary_function<int, int>, 39 public std::binary_function<char, int, double> 52 static_assert((!std::is_base_of<std::binary_function<int, char, int>, 53 std::reference_wrapper<functor1> >::value), ""); 54 static_assert((std [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.general/ |
H A D | tuple.smartptr.pass.cpp | 21 std::tuple<std::unique_ptr<char>> up; 22 std::tuple<std::shared_ptr<char>> sp; 23 std::tuple<std::weak_ptr <char>> wp; 26 std::tuple<std::unique_ptr<char[]>> up; 27 std::tuple<std [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | dtor.pass.cpp | 25 static_assert(std::is_trivially_destructible< 26 std::tuple<> >::value, ""); 27 static_assert(std::is_trivially_destructible< 28 std::tuple<void*> >::value, ""); 29 static_assert(std::is_trivially_destructible< 30 std::tuple<int, float> >::value, ""); 31 static_assert(!std::is_trivially_destructible< 32 std::tuple<std::string> >::value, ""); 33 static_assert(!std [all...] |
/external/libcxx/test/std/localization/locales/locale/locale.cons/ |
H A D | char_pointer.pass.cpp | 27 void check(const std::locale& loc) 29 assert(std::has_facet<std::collate<char> >(loc)); 30 assert(std::has_facet<std::collate<wchar_t> >(loc)); 32 assert(std::has_facet<std::ctype<char> >(loc)); 33 assert(std::has_facet<std::ctype<wchar_t> >(loc)); 34 assert((std [all...] |
/external/clang/test/Parser/ |
H A D | cxx-typeid.cpp | 4 namespace std { namespace
|
/external/clang/test/SemaCXX/ |
H A D | MicrosoftCompatibilityNoExceptions.cpp | 5 namespace std {} namespace
|
/external/libcxx/test/libcxx/depr/exception.unexpected/ |
H A D | unexpected_disabled_cpp17.fail.cpp | 19 using T = std::unexpected_handler; // expected-error {{no type named 'unexpected_handler' in namespace 'std'}} 20 std::unexpected(); // expected-error {{no member named 'unexpected' in namespace 'std'}} 21 std::get_unexpected(); // expected-error {{no member named 'get_unexpected' in namespace 'std'}} 22 std::set_unexpected(f); // expected-error {{no type named 'set_unexpected' in namespace 'std'}}
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/ |
H A D | diagnose_reference_binding.fail.cpp | 23 std::allocator<void> alloc; 28 std::tuple<int const&> t(42); // expected-note {{requested here}} 29 std::tuple<int const&> t1(std::allocator_arg, alloc, 42); // expected-note {{requested here}} 31 std::tuple<std::string &&> t2("hello"); // expected-note {{requested here}} 32 std::tuple<std::string &&> t3(std::allocator_arg, alloc, "hello"); // expected-note {{requested here}}
|
/external/libcxx/test/std/containers/unord/unord.map/ |
H A D | allocator_mismatch.fail.cpp | 17 std::unordered_map<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
H A D | allocator_mismatch.fail.cpp | 17 std::unordered_multimap<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
H A D | allocator_mismatch.fail.cpp | 17 std::unordered_multiset<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
|
/external/libcxx/test/std/containers/unord/unord.set/ |
H A D | allocator_mismatch.fail.cpp | 17 std::unordered_set<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
|
/external/libcxx/test/std/input.output/iostreams.base/ |
H A D | is_error_code_enum_io_errc.pass.cpp | 21 static_assert(std::is_error_code_enum <std::io_errc>::value, ""); 23 static_assert(std::is_error_code_enum_v<std::io_errc>, "");
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/ |
H A D | types.pass.cpp | 27 std::locale l = std::locale::classic(); 29 assert(std::has_facet<std::ctype<char> >(l)); 30 const std::ctype<char>& f = std::use_facet<std::ctype<char> >(l); 33 (void)std::ctype<char>::id; 35 static_assert((std::is_same<std [all...] |
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype/ |
H A D | types.pass.cpp | 27 std::locale l = std::locale::classic(); 29 assert(std::has_facet<std::ctype<wchar_t> >(l)); 30 const std::ctype<wchar_t>& f = std::use_facet<std::ctype<wchar_t> >(l); 33 (void)std::ctype<wchar_t>::id; 35 static_assert((std::is_same<std [all...] |
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/ |
H A D | types.pass.cpp | 26 static_assert((std::is_base_of<std::locale::facet, std::num_put<char> >::value), ""); 27 static_assert((std::is_base_of<std::locale::facet, std::num_put<wchar_t> >::value), ""); 28 static_assert((std::is_same<std::num_put<char>::char_type, char>::value), ""); 29 static_assert((std::is_same<std [all...] |
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/ |
H A D | types.pass.cpp | 26 static_assert((std::is_base_of<std::locale::facet, std::num_get<char> >::value), ""); 27 static_assert((std::is_base_of<std::locale::facet, std::num_get<wchar_t> >::value), ""); 28 static_assert((std::is_same<std::num_get<char>::char_type, char>::value), ""); 29 static_assert((std::is_same<std [all...] |
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/ |
H A D | types.pass.cpp | 26 static_assert((std::is_base_of<std::locale::facet, std::time_put<char> >::value), ""); 27 static_assert((std::is_base_of<std::locale::facet, std::time_put<wchar_t> >::value), ""); 28 static_assert((std::is_same<std::time_put<char>::char_type, char>::value), ""); 29 static_assert((std::is_same<std [all...] |
/external/libcxx/test/std/re/re.alg/re.alg.replace/ |
H A D | test3.pass.cpp | 27 std::regex phone_numbers("\\d{3}-\\d{4}"); 28 std::string phone_book("555-1234, 555-2345, 555-3456"); 29 std::string r = std::regex_replace(phone_book, phone_numbers, 30 std::string("123-$&")); 34 std::regex phone_numbers("\\d{3}-\\d{4}"); 35 std::string phone_book("555-1234, 555-2345, 555-3456"); 36 std::string r = std::regex_replace(phone_book, phone_numbers, 37 std [all...] |
/external/libcxx/test/std/re/re.alg/re.alg.search/ |
H A D | lookahead.pass.cpp | 27 assert(!std::regex_search("ab", std::regex("(?=^)b"))); 28 assert(!std::regex_search("ab", std::regex("a(?=^)b")));
|
/external/libcxx/test/std/re/re.regex/re.regex.construct/ |
H A D | awk_oct.pass.cpp | 23 using std::regex_constants::awk; 25 assert(std::regex_match("\4", std::regex("\\4", awk))); 26 assert(std::regex_match("\41", std::regex("\\41", awk))); 27 assert(std::regex_match("\141", std::regex("\\141", awk))); 28 assert(std::regex_match("\141" "1", std::regex("\\1411", awk)));
|
/external/libcxx/test/std/re/re.syn/ |
H A D | smatch.pass.cpp | 20 static_assert((std::is_same<std::match_results<std::string::const_iterator>, std::smatch>::value), "");
|
H A D | sregex_iterator.pass.cpp | 20 static_assert((std::is_same<std::regex_iterator<std::string::const_iterator>, std::sregex_iterator>::value), "");
|
H A D | sregex_token_iterator.pass.cpp | 20 static_assert((std::is_same<std::regex_token_iterator<std::string::const_iterator>, std::sregex_token_iterator>::value), "");
|
H A D | ssub_match.pass.cpp | 20 static_assert((std::is_same<std::sub_match<std::string::const_iterator>, std::ssub_match>::value), "");
|