Home
last modified time | relevance | path

Searched refs:polymorphic_allocator (Results 1 – 25 of 142) sorted by relevance

123456

/external/sdv/vsomeip/third_party/boost/container/include/boost/container/pmr/
Dpolymorphic_allocator.hpp38 class polymorphic_allocator class
45 polymorphic_allocator() BOOST_NOEXCEPT in polymorphic_allocator() function in boost::container::pmr::polymorphic_allocator
56 polymorphic_allocator(memory_resource* r) in polymorphic_allocator() function in boost::container::pmr::polymorphic_allocator
62 polymorphic_allocator(const polymorphic_allocator& other) in polymorphic_allocator() function in boost::container::pmr::polymorphic_allocator
69 polymorphic_allocator(const polymorphic_allocator<U>& other) BOOST_NOEXCEPT in polymorphic_allocator() function in boost::container::pmr::polymorphic_allocator
75 polymorphic_allocator& operator=(const polymorphic_allocator& other) in operator =()
136 polymorphic_allocator select_on_container_copy_construction() const in select_on_container_copy_construction()
137 { return polymorphic_allocator(); } in select_on_container_copy_construction()
151 bool operator==(const polymorphic_allocator<T1>& a, const polymorphic_allocator<T2>& b) BOOST_NOEXC… in operator ==()
158 bool operator!=(const polymorphic_allocator<T1>& a, const polymorphic_allocator<T2>& b) BOOST_NOEXC… in operator !=()
Dflat_set.hpp29 using flat_set = boost::container::flat_set<Key, Compare, polymorphic_allocator<Key> >;
33 using flat_multiset = boost::container::flat_multiset<Key, Compare, polymorphic_allocator<Key> >;
43 typedef boost::container::flat_set<Key, Compare, polymorphic_allocator<Key> > type;
52 typedef boost::container::flat_multiset<Key, Compare, polymorphic_allocator<Key> > type;
Dset.hpp30 using set = boost::container::set<Key, Compare, polymorphic_allocator<Key>, Options>;
35 using multiset = boost::container::multiset<Key, Compare, polymorphic_allocator<Key>, Options>;
46 typedef boost::container::set<Key, Compare, polymorphic_allocator<Key>, Options> type;
56 typedef boost::container::multiset<Key, Compare, polymorphic_allocator<Key>, Options> type;
Dflat_map.hpp30 using flat_map = boost::container::flat_map<Key, T, Compare, polymorphic_allocator<std::pair<Key, T…
35 using flat_multimap = boost::container::flat_multimap<Key, T, Compare, polymorphic_allocator<std::p…
46 …typedef boost::container::flat_map<Key, T, Compare, polymorphic_allocator<std::pair<Key, T> > > ty…
56 …typedef boost::container::flat_multimap<Key, T, Compare, polymorphic_allocator<std::pair<Key, T> >…
Dmap.hpp31 using map = boost::container::map<Key, T, Compare, polymorphic_allocator<std::pair<const Key, T> >,…
37 using multimap = boost::container::multimap<Key, T, Compare, polymorphic_allocator<std::pair<const …
49 …typedef boost::container::map<Key, T, Compare, polymorphic_allocator<std::pair<const Key, T> >, Op…
60 …typedef boost::container::multimap<Key, T, Compare, polymorphic_allocator<std::pair<const Key, T> …
/external/sdv/vsomeip/third_party/boost/container/test/
Dpolymorphic_allocator_test.cpp22 polymorphic_allocator<int> a; in test_default_constructor()
29 polymorphic_allocator<int> b(&d); in test_resource_constructor()
36 polymorphic_allocator<int> b(&d); in test_copy_constructor()
37 polymorphic_allocator<int> c(b); in test_copy_constructor()
44 polymorphic_allocator<int> b(&d); in test_copy_assignment()
45 polymorphic_allocator<int> c; in test_copy_assignment()
55 polymorphic_allocator<int> p(&d); in test_allocate()
70 polymorphic_allocator<int> p(&d); in test_deallocate()
87 polymorphic_allocator<int> pa; in test_construct()
97 polymorphic_allocator<int> pa; in test_construct()
[all …]
/external/cronet/third_party/libc++/src/include/__memory_resource/
Dpolymorphic_allocator.h42 class _LIBCPP_AVAILABILITY_PMR _LIBCPP_TEMPLATE_VIS polymorphic_allocator {
49 …_LIBCPP_HIDE_FROM_ABI polymorphic_allocator() noexcept : __res_(std::pmr::get_default_resource()) … in polymorphic_allocator() function
51 _LIBCPP_HIDE_FROM_ABI polymorphic_allocator(memory_resource* __r) noexcept : __res_(__r) {} in polymorphic_allocator() function
53 _LIBCPP_HIDE_FROM_ABI polymorphic_allocator(const polymorphic_allocator&) = default;
56 _LIBCPP_HIDE_FROM_ABI polymorphic_allocator(const polymorphic_allocator<_Tp>& __other) noexcept in polymorphic_allocator() function
59 polymorphic_allocator& operator=(const polymorphic_allocator&) = delete;
118 typename __uses_alloc_ctor<_Tp, polymorphic_allocator&, _Ts...>::type(), in construct()
129 … __transform_tuple(typename __uses_alloc_ctor< _T1, polymorphic_allocator&, _Args1... >::type(), in construct()
132 … __transform_tuple(typename __uses_alloc_ctor< _T2, polymorphic_allocator&, _Args2... >::type(), in construct()
168 …_LIBCPP_HIDE_FROM_ABI polymorphic_allocator select_on_container_copy_construction() const noexcept… in select_on_container_copy_construction()
[all …]
/external/cronet/third_party/libc++/src/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/
Dconstruct_piecewise_pair_evil.pass.cpp33 EvilAlloc(std::pmr::polymorphic_allocator<T>& a) : inner_(a) {} in EvilAlloc()
34 EvilAlloc(std::pmr::polymorphic_allocator<T>&& a) : inner_(a) {} in EvilAlloc()
35 EvilAlloc(std::pmr::polymorphic_allocator<T> const& a) = delete;
36 EvilAlloc(std::pmr::polymorphic_allocator<T> const&& a) = delete;
42 std::pmr::polymorphic_allocator<T> inner_;
48 bool holds(int v, const std::pmr::polymorphic_allocator<char>&) const { return value_ == v; } in holds()
60 …bool holds(int v, const std::pmr::polymorphic_allocator<char>& a) const { return value_ == v && al… in holds()
73 …bool holds(int v, std::pmr::polymorphic_allocator<char> a) const { return value_ == v && alloc_.in… in holds()
87 …bool holds(int v, std::pmr::polymorphic_allocator<char> a) const { return value_ == v && alloc_.in… in holds()
97 static_assert(std::uses_allocator<WidgetV1, std::pmr::polymorphic_allocator<char>>::value, "");
[all …]
Dallocate.pass.cpp39 std::pmr::polymorphic_allocator<T> a(&R); in testForSizeAndAlign()
57 using Alloc = std::pmr::polymorphic_allocator<T>; in testAllocForSizeThrows()
86 std::pmr::polymorphic_allocator<int> a; in main()
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_piecewise_pair_evil.pass.cpp36 EvilAlloc(ex::polymorphic_allocator<T> & a) : inner_(a) {} in EvilAlloc()
37 EvilAlloc(ex::polymorphic_allocator<T> && a) : inner_(a) {} in EvilAlloc()
38 EvilAlloc(ex::polymorphic_allocator<T> const & a) = delete;
39 EvilAlloc(ex::polymorphic_allocator<T> const && a) = delete;
44 ex::polymorphic_allocator<T> inner_;
50 bool holds(int v, const ex::polymorphic_allocator<char>&) const { in holds()
63 bool holds(int v, const ex::polymorphic_allocator<char>& a) const { in holds()
77 bool holds(int v, ex::polymorphic_allocator<char> a) const { in holds()
92 bool holds(int v, ex::polymorphic_allocator<char> a) const { in holds()
103 static_assert(std::uses_allocator<WidgetV1, ex::polymorphic_allocator<char>>::value, "");
[all …]
Dallocate.pass.cpp35 ex::polymorphic_allocator<T> a(&R); in testForSizeAndAlign()
50 using Alloc = ex::polymorphic_allocator<T>; in testAllocForSizeThrows()
87 ex::polymorphic_allocator<int> a; in main()
/external/libcxx/include/experimental/
Dmemory_resource31 template <class Tp> class polymorphic_allocator;
34 bool operator==(const polymorphic_allocator<T1>& a,
35 const polymorphic_allocator<T2>& b) noexcept;
37 bool operator!=(const polymorphic_allocator<T1>& a,
38 const polymorphic_allocator<T2>& b) noexcept;
157 class _LIBCPP_TEMPLATE_VIS polymorphic_allocator
164 polymorphic_allocator() _NOEXCEPT
169 polymorphic_allocator(memory_resource * __r) _NOEXCEPT
173 polymorphic_allocator(polymorphic_allocator const &) = default;
177 polymorphic_allocator(polymorphic_allocator<_Tp> const & __other) _NOEXCEPT
[all …]
Dset24 polymorphic_allocator<pair<const Key,T>>>;
28 polymorphic_allocator<pair<const Key,T>>>;
49 polymorphic_allocator<_Value>>;
53 polymorphic_allocator<_Value>>;
Dmap24 polymorphic_allocator<pair<const Key,T>>>;
28 polymorphic_allocator<pair<const Key,T>>>;
49 polymorphic_allocator<pair<const _Key, _Value>>>;
53 polymorphic_allocator<pair<const _Key, _Value>>>;
Dunordered_set24 polymorphic_allocator<T>>;
28 polymorphic_allocator<T>>;
50 polymorphic_allocator<_Value>>;
55 polymorphic_allocator<_Value>>;
Dunordered_map27 polymorphic_allocator<pair<const Key,T>>>;
34 polymorphic_allocator<pair<const Key,T>>>;
56 polymorphic_allocator<pair<const _Key, _Value>>>;
61 polymorphic_allocator<pair<const _Key, _Value>>>;
/external/libcxx/test/std/experimental/memory/memory.resource.aliases/
Dheader_unordered_set_synop.pass.cpp48 using StdSet = std::unordered_set<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
53 using StdSet = std::unordered_set<V, MH, DP, pmr::polymorphic_allocator<V>>; in main()
58 using StdSet = std::unordered_set<V, MH, MP, pmr::polymorphic_allocator<V>>; in main()
67 using StdSet = std::unordered_multiset<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
72 using StdSet = std::unordered_multiset<V, MH, DP, pmr::polymorphic_allocator<V>>; in main()
77 using StdSet = std::unordered_multiset<V, MH, MP, pmr::polymorphic_allocator<V>>; in main()
Dheader_unordered_map_synop.pass.cpp50 using StdMap = std::unordered_map<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
55 using StdMap = std::unordered_map<K, V, MH, DP, pmr::polymorphic_allocator<P>>; in main()
60 using StdMap = std::unordered_map<K, V, MH, MP, pmr::polymorphic_allocator<P>>; in main()
69 using StdMap = std::unordered_multimap<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
74 using StdMap = std::unordered_multimap<K, V, MH, DP, pmr::polymorphic_allocator<P>>; in main()
79 using StdMap = std::unordered_multimap<K, V, MH, MP, pmr::polymorphic_allocator<P>>; in main()
Dheader_set_synop.pass.cpp40 using StdSet = std::set<V, DC, pmr::polymorphic_allocator<V>>; in main()
45 using StdSet = std::set<V, OC, pmr::polymorphic_allocator<V>>; in main()
54 using StdSet = std::multiset<V, DC, pmr::polymorphic_allocator<V>>; in main()
59 using StdSet = std::multiset<V, OC, pmr::polymorphic_allocator<V>>; in main()
Dheader_map_synop.pass.cpp42 using StdMap = std::map<K, V, DC, pmr::polymorphic_allocator<P>>; in main()
47 using StdMap = std::map<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
56 using StdMap = std::multimap<K, V, DC, pmr::polymorphic_allocator<P>>; in main()
61 using StdMap = std::multimap<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
/external/cronet/third_party/libc++/src/test/std/utilities/utility/mem.res/mem.res.aliases/
Dheader_unordered_set_synop.pass.cpp44 using StdSet = std::unordered_set<V, DH, DP, std::pmr::polymorphic_allocator<V>>; in main()
49 using StdSet = std::unordered_set<V, MH, DP, std::pmr::polymorphic_allocator<V>>; in main()
54 using StdSet = std::unordered_set<V, MH, MP, std::pmr::polymorphic_allocator<V>>; in main()
63 using StdSet = std::unordered_multiset<V, DH, DP, std::pmr::polymorphic_allocator<V>>; in main()
68 using StdSet = std::unordered_multiset<V, MH, DP, std::pmr::polymorphic_allocator<V>>; in main()
73 using StdSet = std::unordered_multiset<V, MH, MP, std::pmr::polymorphic_allocator<V>>; in main()
Dheader_unordered_map_synop.pass.cpp46 using StdMap = std::unordered_map<K, V, DH, DP, std::pmr::polymorphic_allocator<P>>; in main()
51 using StdMap = std::unordered_map<K, V, MH, DP, std::pmr::polymorphic_allocator<P>>; in main()
56 using StdMap = std::unordered_map<K, V, MH, MP, std::pmr::polymorphic_allocator<P>>; in main()
65 using StdMap = std::unordered_multimap<K, V, DH, DP, std::pmr::polymorphic_allocator<P>>; in main()
70 using StdMap = std::unordered_multimap<K, V, MH, DP, std::pmr::polymorphic_allocator<P>>; in main()
75 using StdMap = std::unordered_multimap<K, V, MH, MP, std::pmr::polymorphic_allocator<P>>; in main()
Dheader_set_synop.pass.cpp36 using StdSet = std::set<V, DC, std::pmr::polymorphic_allocator<V>>; in main()
41 using StdSet = std::set<V, OC, std::pmr::polymorphic_allocator<V>>; in main()
50 using StdSet = std::multiset<V, DC, std::pmr::polymorphic_allocator<V>>; in main()
55 using StdSet = std::multiset<V, OC, std::pmr::polymorphic_allocator<V>>; in main()
Dheader_map_synop.pass.cpp38 using StdMap = std::map<K, V, DC, std::pmr::polymorphic_allocator<P>>; in main()
43 using StdMap = std::map<K, V, OC, std::pmr::polymorphic_allocator<P>>; in main()
52 using StdMap = std::multimap<K, V, DC, std::pmr::polymorphic_allocator<P>>; in main()
57 using StdMap = std::multimap<K, V, OC, std::pmr::polymorphic_allocator<P>>; in main()
/external/cronet/third_party/libc++/src/include/
Dmemory_resource27 template <class Tp> class polymorphic_allocator;
30 bool operator==(const polymorphic_allocator<T1>& a,
31 const polymorphic_allocator<T2>& b) noexcept;
33 bool operator!=(const polymorphic_allocator<T1>& a,
34 const polymorphic_allocator<T2>& b) noexcept; // removed in C++20
55 #include <__memory_resource/polymorphic_allocator.h>

123456