/external/libcxx/test/iterators/iterator.primitives/std.iterator.tags/ |
H A D | input_iterator_tag.pass.cpp | 19 std::input_iterator_tag tag; 20 static_assert((!std::is_base_of<std::output_iterator_tag, 21 std::input_iterator_tag>::value), "");
|
H A D | output_iterator_tag.pass.cpp | 19 std::output_iterator_tag tag; 20 static_assert((!std::is_base_of<std::input_iterator_tag, 21 std::output_iterator_tag>::value), "");
|
/external/libcxx/test/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); 32 (void)std::ctype<char>::id; 34 static_assert((std::is_same<std [all...] |
/external/libcxx/test/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); 32 (void)std::ctype<wchar_t>::id; 34 static_assert((std::is_same<std [all...] |
/external/libcxx/test/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/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/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/localization/locales/locale/locale.cons/ |
H A D | locale_char_pointer_cat.pass.cpp | 22 void* operator new(std::size_t s) throw(std::bad_alloc) 25 return std::malloc(s); 31 std::free(p); 34 void check(const std::locale& loc) 36 assert(std::has_facet<std::collate<char> >(loc)); 37 assert(std::has_facet<std::collate<wchar_t> >(loc)); 39 assert(std [all...] |
/external/libcxx/test/re/re.alg/re.alg.search/ |
H A D | lookahead.pass.cpp | 26 assert(!std::regex_search("ab", std::regex("(?=^)b"))); 27 assert(!std::regex_search("ab", std::regex("a(?=^)b")));
|
/external/libcxx/test/re/re.regex/ |
H A D | types.pass.cpp | 26 static_assert((std::is_same<std::basic_regex<char>::value_type, char>::value), ""); 27 static_assert((std::is_same<std::basic_regex<char>::flag_type, 28 std::regex_constants::syntax_option_type>::value), ""); 29 static_assert((std::is_same<std::basic_regex<char>::locale_type, std::locale>::value), ""); 31 static_assert((std::is_same<std [all...] |
/external/libcxx/test/re/re.syn/ |
H A D | smatch.pass.cpp | 19 static_assert((std::is_same<std::match_results<std::string::const_iterator>, std::smatch>::value), "");
|
H A D | sregex_iterator.pass.cpp | 19 static_assert((std::is_same<std::regex_iterator<std::string::const_iterator>, std::sregex_iterator>::value), "");
|
H A D | sregex_token_iterator.pass.cpp | 19 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 | 19 static_assert((std::is_same<std::sub_match<std::string::const_iterator>, std::ssub_match>::value), "");
|
H A D | wsmatch.pass.cpp | 19 static_assert((std::is_same<std::match_results<std::wstring::const_iterator>, std::wsmatch>::value), "");
|
H A D | wsregex_iterator.pass.cpp | 19 static_assert((std::is_same<std::regex_iterator<std::wstring::const_iterator>, std::wsregex_iterator>::value), "");
|
H A D | wsregex_token_iterator.pass.cpp | 19 static_assert((std::is_same<std::regex_token_iterator<std::wstring::const_iterator>, std::wsregex_token_iterator>::value), "");
|
H A D | wssub_match.pass.cpp | 19 static_assert((std::is_same<std::sub_match<std::wstring::const_iterator>, std::wssub_match>::value), "");
|
/external/libcxx/test/re/re.traits/ |
H A D | types.pass.cpp | 26 static_assert((std::is_same<std::regex_traits<char>::char_type, char>::value), ""); 27 static_assert((std::is_same<std::regex_traits<char>::string_type, std::string>::value), ""); 28 static_assert((std::is_same<std::regex_traits<char>::locale_type, std::locale>::value), ""); 29 static_assert((std::is_same<std [all...] |
/external/libcxx/test/thread/futures/futures.future_error/ |
H A D | what.pass.cpp | 23 std::future_error f(std::make_error_code(std::future_errc::broken_promise)); 24 assert(std::strcmp(f.what(), "The associated promise has been destructed prior " 28 std::future_error f(std::make_error_code(std::future_errc::future_already_retrieved)); 29 assert(std::strcmp(f.what(), "The future has already been retrieved from " 33 std::future_error f(std [all...] |
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/ |
H A D | types.pass.cpp | 25 static_assert((std::is_same<std::lock_guard<std::mutex>::mutex_type, 26 std::mutex>::value), "");
|
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/ |
H A D | types.pass.cpp | 25 static_assert((std::is_same<std::unique_lock<std::mutex>::mutex_type, 26 std::mutex>::value), "");
|
/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.traits/ |
H A D | uses_allocator.pass.cpp | 25 typedef std::tuple<> T; 26 static_assert((std::is_base_of<std::true_type, 27 std::uses_allocator<T, A>>::value), ""); 30 typedef std::tuple<int> T; 31 static_assert((std::is_base_of<std::true_type, 32 std::uses_allocator<T, A>>::value), ""); 35 typedef std::tuple<char, int> T; 36 static_assert((std [all...] |
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/ |
H A D | minmax_init_list_comp.pass.cpp | 23 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); 24 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); 25 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); 26 assert((std [all...] |
/external/libcxx/test/re/re.alg/re.alg.replace/ |
H A D | test3.pass.cpp | 26 std::regex phone_numbers("\\d{3}-\\d{4}"); 27 std::string phone_book("555-1234, 555-2345, 555-3456"); 28 std::string r = std::regex_replace(phone_book, phone_numbers, 29 std::string("123-$&")); 33 std::regex phone_numbers("\\d{3}-\\d{4}"); 34 std::string phone_book("555-1234, 555-2345, 555-3456"); 35 std::string r = std::regex_replace(phone_book, phone_numbers, 36 std [all...] |