Searched refs:std (Results 26 - 50 of 33291) sorted by relevance

1234567891011>>

/external/libcxx/test/iterators/iterator.primitives/std.iterator.tags/
H A Dinput_iterator_tag.pass.cpp19 std::input_iterator_tag tag;
20 static_assert((!std::is_base_of<std::output_iterator_tag,
21 std::input_iterator_tag>::value), "");
H A Doutput_iterator_tag.pass.cpp19 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 Dtypes.pass.cpp27 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 Dtypes.pass.cpp27 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 Dtypes.pass.cpp26 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 Dtypes.pass.cpp26 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 Dtypes.pass.cpp26 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 Dlocale_char_pointer_cat.pass.cpp22 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 Dlookahead.pass.cpp26 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 Dtypes.pass.cpp26 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 Dsmatch.pass.cpp19 static_assert((std::is_same<std::match_results<std::string::const_iterator>, std::smatch>::value), "");
H A Dsregex_iterator.pass.cpp19 static_assert((std::is_same<std::regex_iterator<std::string::const_iterator>, std::sregex_iterator>::value), "");
H A Dsregex_token_iterator.pass.cpp19 static_assert((std::is_same<std::regex_token_iterator<std::string::const_iterator>, std::sregex_token_iterator>::value), "");
H A Dssub_match.pass.cpp19 static_assert((std::is_same<std::sub_match<std::string::const_iterator>, std::ssub_match>::value), "");
H A Dwsmatch.pass.cpp19 static_assert((std::is_same<std::match_results<std::wstring::const_iterator>, std::wsmatch>::value), "");
H A Dwsregex_iterator.pass.cpp19 static_assert((std::is_same<std::regex_iterator<std::wstring::const_iterator>, std::wsregex_iterator>::value), "");
H A Dwsregex_token_iterator.pass.cpp19 static_assert((std::is_same<std::regex_token_iterator<std::wstring::const_iterator>, std::wsregex_token_iterator>::value), "");
H A Dwssub_match.pass.cpp19 static_assert((std::is_same<std::sub_match<std::wstring::const_iterator>, std::wssub_match>::value), "");
/external/libcxx/test/re/re.traits/
H A Dtypes.pass.cpp26 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 Dwhat.pass.cpp23 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 Dtypes.pass.cpp25 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 Dtypes.pass.cpp25 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 Duses_allocator.pass.cpp25 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 Dminmax_init_list_comp.pass.cpp23 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 Dtest3.pass.cpp26 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...]

Completed in 235 milliseconds

1234567891011>>