Home
last modified time | relevance | path

Searched refs:pmr (Results 1 – 25 of 64) sorted by relevance

123

/external/libcxx/test/std/experimental/memory/memory.resource.aliases/
Dheader_unordered_set_synop.pass.cpp32 namespace pmr = std::experimental::pmr;
48 using StdSet = std::unordered_set<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
49 using PmrSet = pmr::unordered_set<V>; in main()
53 using StdSet = std::unordered_set<V, MH, DP, pmr::polymorphic_allocator<V>>; in main()
54 using PmrSet = pmr::unordered_set<V, MH>; in main()
58 using StdSet = std::unordered_set<V, MH, MP, pmr::polymorphic_allocator<V>>; in main()
59 using PmrSet = pmr::unordered_set<V, MH, MP>; in main()
63 pmr::unordered_set<int> m; in main()
64 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
67 using StdSet = std::unordered_multiset<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
[all …]
Dheader_unordered_map_synop.pass.cpp32 namespace pmr = std::experimental::pmr;
50 using StdMap = std::unordered_map<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
51 using PmrMap = pmr::unordered_map<K, V>; in main()
55 using StdMap = std::unordered_map<K, V, MH, DP, pmr::polymorphic_allocator<P>>; in main()
56 using PmrMap = pmr::unordered_map<K, V, MH>; in main()
60 using StdMap = std::unordered_map<K, V, MH, MP, pmr::polymorphic_allocator<P>>; in main()
61 using PmrMap = pmr::unordered_map<K, V, MH, MP>; in main()
65 pmr::unordered_map<int, int> m; in main()
66 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
69 using StdMap = std::unordered_multimap<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
[all …]
Dheader_set_synop.pass.cpp32 namespace pmr = std::experimental::pmr;
40 using StdSet = std::set<V, DC, pmr::polymorphic_allocator<V>>; in main()
41 using PmrSet = pmr::set<V>; in main()
45 using StdSet = std::set<V, OC, pmr::polymorphic_allocator<V>>; in main()
46 using PmrSet = pmr::set<V, OC>; in main()
50 pmr::set<int> m; in main()
51 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
54 using StdSet = std::multiset<V, DC, pmr::polymorphic_allocator<V>>; in main()
55 using PmrSet = pmr::multiset<V>; in main()
59 using StdSet = std::multiset<V, OC, pmr::polymorphic_allocator<V>>; in main()
[all …]
Dheader_regex_synop.pass.cpp34 namespace pmr = std::experimental::pmr;
38 using StdMR = std::match_results<Iter, pmr::polymorphic_allocator<std::sub_match<Iter>>>; in test_match_result_typedef()
39 using PmrMR = pmr::match_results<Iter>; in test_match_result_typedef()
47 test_match_result_typedef<const char*, pmr::cmatch>(); in main()
48 test_match_result_typedef<const wchar_t*, pmr::wcmatch>(); in main()
49 test_match_result_typedef<pmr::string::const_iterator, pmr::smatch>(); in main()
50 test_match_result_typedef<pmr::wstring::const_iterator, pmr::wsmatch>(); in main()
54 pmr::smatch s; in main()
55 assert(s.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_map_synop.pass.cpp32 namespace pmr = std::experimental::pmr;
42 using StdMap = std::map<K, V, DC, pmr::polymorphic_allocator<P>>; in main()
43 using PmrMap = pmr::map<K, V>; in main()
47 using StdMap = std::map<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
48 using PmrMap = pmr::map<K, V, OC>; in main()
52 pmr::map<int, int> m; in main()
53 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
56 using StdMap = std::multimap<K, V, DC, pmr::polymorphic_allocator<P>>; in main()
57 using PmrMap = pmr::multimap<K, V>; in main()
61 using StdMap = std::multimap<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
[all …]
Dheader_string_synop.pass.cpp35 namespace pmr = std::experimental::pmr;
40 pmr::polymorphic_allocator<Char>>; in test_string_typedef()
41 using PmrStr = pmr::basic_string<Char>; in test_string_typedef()
49 pmr::polymorphic_allocator<Char>>; in test_basic_string_alias()
50 using PmrStr = pmr::basic_string<Char, Traits>; in test_basic_string_alias()
57 test_string_typedef<char, pmr::string>(); in main()
58 test_string_typedef<wchar_t, pmr::wstring>(); in main()
59 test_string_typedef<char16_t, pmr::u16string>(); in main()
60 test_string_typedef<char32_t, pmr::u32string>(); in main()
70 pmr::string s; in main()
[all …]
Dheader_forward_list_synop.pass.cpp28 namespace pmr = std::experimental::pmr;
32 using StdForwardList = std::forward_list<int, pmr::polymorphic_allocator<int>>; in main()
33 using PmrForwardList = pmr::forward_list<int>; in main()
36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_vector_synop.pass.cpp28 namespace pmr = std::experimental::pmr;
32 using StdVector = std::vector<int, pmr::polymorphic_allocator<int>>; in main()
33 using PmrVector = pmr::vector<int>; in main()
36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_deque_synop.pass.cpp28 namespace pmr = std::experimental::pmr;
32 using StdDeque = std::deque<int, pmr::polymorphic_allocator<int>>; in main()
33 using PmrDeque = pmr::deque<int>; in main()
36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_list_synop.pass.cpp28 namespace pmr = std::experimental::pmr;
32 using StdList = std::list<int, pmr::polymorphic_allocator<int>>; in main()
33 using PmrList = pmr::list<int>; in main()
36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
/external/libcxx/include/experimental/
Dstring20 namespace pmr {
22 // basic_string using polymorphic allocator in namespace pmr
28 // std::experimental::pmr
34 } // namespace pmr
Ddeque20 namespace pmr {
25 } // namespace pmr
Dvector20 namespace pmr {
25 } // namespace pmr
Dlist20 namespace pmr {
25 } // namespace pmr
Dforward_list20 namespace pmr {
25 } // namespace pmr
D__config32 #define _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR _LIBCPP_BEGIN_NAMESPACE_LFTS namespace pmr {
34 #define _VSTD_LFTS_PMR _VSTD_LFTS::pmr
Dregex20 namespace pmr {
32 } // namespace pmr
Dset20 namespace pmr {
30 } // namespace pmr
Dunordered_set20 namespace pmr {
30 } // namespace pmr
Dmap20 namespace pmr {
30 } // namespace pmr
Dunordered_map20 namespace pmr {
36 } // namespace pmr
/external/libcxx/test/support/
Dtest_memory_resource.hpp31 using type = std::experimental::pmr::memory_resource*;
35 class TestResourceImp : public std::experimental::pmr::memory_resource
49 using memory_resource = std::experimental::pmr::memory_resource;
/external/libcxx/test/std/experimental/memory/memory.resource/
Dconstruct.fail.cpp20 namespace ex = std::experimental::pmr;
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/
Dprotected_members.fail.cpp20 namespace ex = std::experimental::pmr;
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
Dassign.pass.cpp22 namespace ex = std::experimental::pmr;

123