Home
last modified time | relevance | path

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

123456

/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_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_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_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()
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()
/external/llvm-project/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.cpp35 namespace pmr = std::experimental::pmr;
39 using StdMR = std::match_results<Iter, pmr::polymorphic_allocator<std::sub_match<Iter>>>; in test_match_result_typedef()
40 using PmrMR = pmr::match_results<Iter>; in test_match_result_typedef()
48 test_match_result_typedef<const char*, pmr::cmatch>(); in main()
49 test_match_result_typedef<const wchar_t*, pmr::wcmatch>(); in main()
50 test_match_result_typedef<pmr::string::const_iterator, pmr::smatch>(); in main()
51 test_match_result_typedef<pmr::wstring::const_iterator, pmr::wsmatch>(); in main()
55 pmr::smatch s; in main()
56 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_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_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_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()
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()
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c268 struct drm_etnaviv_gem_submit_pmr *pmr; in etna_cmd_stream_perf() local
271 pmr = &priv->submit.pmrs[idx]; in etna_cmd_stream_perf()
273 pmr->flags = p->flags; in etna_cmd_stream_perf()
274 pmr->sequence = p->sequence; in etna_cmd_stream_perf()
275 pmr->read_offset = p->offset; in etna_cmd_stream_perf()
276 pmr->read_idx = bo2idx(stream, p->bo, ETNA_SUBMIT_BO_READ | ETNA_SUBMIT_BO_WRITE); in etna_cmd_stream_perf()
277 pmr->domain = p->signal->domain->id; in etna_cmd_stream_perf()
278 pmr->signal = p->signal->signal; in etna_cmd_stream_perf()
/external/libcxx/include/experimental/
Dstring20 namespace pmr {
22 // basic_string using polymorphic allocator in namespace pmr
28 // std::experimental::pmr
34 } // namespace pmr
/external/llvm-project/libcxx/include/experimental/
Dstring19 namespace pmr {
21 // basic_string using polymorphic allocator in namespace pmr
27 // std::experimental::pmr
33 } // namespace pmr
/external/mesa3d/src/etnaviv/drm/
Detnaviv_cmd_stream.c300 struct drm_etnaviv_gem_submit_pmr *pmr; in etna_cmd_stream_perf() local
303 pmr = &priv->submit.pmrs[idx]; in etna_cmd_stream_perf()
305 pmr->flags = p->flags; in etna_cmd_stream_perf()
306 pmr->sequence = p->sequence; in etna_cmd_stream_perf()
307 pmr->read_offset = p->offset; in etna_cmd_stream_perf()
308 pmr->read_idx = bo2idx(stream, p->bo, ETNA_SUBMIT_BO_READ | ETNA_SUBMIT_BO_WRITE); in etna_cmd_stream_perf()
309 pmr->domain = p->signal->domain->id; in etna_cmd_stream_perf()
310 pmr->signal = p->signal->signal; in etna_cmd_stream_perf()
/external/libcxx/test/support/
Dtest_memory_resource.hpp31 using type = std::experimental::pmr::polymorphic_allocator<int>;
35 class TestResourceImp : public std::experimental::pmr::memory_resource
49 using memory_resource = std::experimental::pmr::memory_resource;

123456