Home
last modified time | relevance | path

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

123456

/external/cronet/buildtools/third_party/libc++/trunk/include/__memory_resource/
Dpolymorphic_allocator.h42 class _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/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 …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/
Dconstruct_piecewise_pair_evil.pass.cpp32 EvilAlloc(std::pmr::polymorphic_allocator<T>& a) : inner_(a) {} in EvilAlloc()
33 EvilAlloc(std::pmr::polymorphic_allocator<T>&& a) : inner_(a) {} in EvilAlloc()
34 EvilAlloc(std::pmr::polymorphic_allocator<T> const& a) = delete;
35 EvilAlloc(std::pmr::polymorphic_allocator<T> const&& a) = delete;
41 std::pmr::polymorphic_allocator<T> inner_;
47 bool holds(int v, const std::pmr::polymorphic_allocator<char>&) const { return value_ == v; } in holds()
59 …bool holds(int v, const std::pmr::polymorphic_allocator<char>& a) const { return value_ == v && al… in holds()
72 …bool holds(int v, std::pmr::polymorphic_allocator<char> a) const { return value_ == v && alloc_.in… in holds()
86 …bool holds(int v, std::pmr::polymorphic_allocator<char> a) const { return value_ == v && alloc_.in… in holds()
96 static_assert(std::uses_allocator<WidgetV1, std::pmr::polymorphic_allocator<char>>::value, "");
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_piecewise_pair_evil.pass.cpp38 EvilAlloc(ex::polymorphic_allocator<T> & a) : inner_(a) {} in EvilAlloc()
39 EvilAlloc(ex::polymorphic_allocator<T> && a) : inner_(a) {} in EvilAlloc()
40 EvilAlloc(ex::polymorphic_allocator<T> const & a) = delete;
41 EvilAlloc(ex::polymorphic_allocator<T> const && a) = delete;
46 ex::polymorphic_allocator<T> inner_;
52 bool holds(int v, const ex::polymorphic_allocator<char>&) const { in holds()
65 bool holds(int v, const ex::polymorphic_allocator<char>& a) const { in holds()
79 bool holds(int v, ex::polymorphic_allocator<char> a) const { in holds()
94 bool holds(int v, ex::polymorphic_allocator<char> a) const { in holds()
105 static_assert(std::uses_allocator<WidgetV1, ex::polymorphic_allocator<char>>::value, "");
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/experimental/
Dmemory_resource30 template <class Tp> class polymorphic_allocator;
33 bool operator==(const polymorphic_allocator<T1>& a,
34 const polymorphic_allocator<T2>& b) noexcept;
36 bool operator!=(const polymorphic_allocator<T1>& a,
37 const polymorphic_allocator<T2>& b) noexcept;
161 class _LIBCPP_DEPCREATED_MEMORY_RESOURCE("polymorphic_allocator") _LIBCPP_TEMPLATE_VIS polymorphic_…
168 polymorphic_allocator() _NOEXCEPT
173 polymorphic_allocator(memory_resource * __r) _NOEXCEPT
177 _LIBCPP_HIDE_FROM_ABI polymorphic_allocator(polymorphic_allocator const &) = default;
181 polymorphic_allocator(polymorphic_allocator<_Tp> const & __other) _NOEXCEPT
[all …]
Dset24 polymorphic_allocator<pair<const Key,T>>>;
28 polymorphic_allocator<pair<const Key,T>>>;
52 polymorphic_allocator<_Value>>;
56 polymorphic_allocator<_Value>>;
Dunordered_set24 polymorphic_allocator<T>>;
28 polymorphic_allocator<T>>;
53 polymorphic_allocator<_Value>>;
58 polymorphic_allocator<_Value>>;
Dmap24 polymorphic_allocator<pair<const Key,T>>>;
28 polymorphic_allocator<pair<const Key,T>>>;
52 polymorphic_allocator<pair<const _Key, _Value>>>;
56 polymorphic_allocator<pair<const _Key, _Value>>>;
/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>>;
Dunordered_set24 polymorphic_allocator<T>>;
28 polymorphic_allocator<T>>;
50 polymorphic_allocator<_Value>>;
55 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>>>;
/external/cronet/buildtools/third_party/libc++/trunk/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;
55 #include <__memory_resource/polymorphic_allocator.h>
/external/cronet/buildtools/third_party/libc++/trunk/test/std/experimental/memory/memory.resource.aliases/
Dheader_unordered_set_synop.pass.cpp51 using StdSet = std::unordered_set<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
56 using StdSet = std::unordered_set<V, MH, DP, pmr::polymorphic_allocator<V>>; in main()
61 using StdSet = std::unordered_set<V, MH, MP, pmr::polymorphic_allocator<V>>; in main()
70 using StdSet = std::unordered_multiset<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
75 using StdSet = std::unordered_multiset<V, MH, DP, pmr::polymorphic_allocator<V>>; in main()
80 using StdSet = std::unordered_multiset<V, MH, MP, pmr::polymorphic_allocator<V>>; in main()
Dheader_unordered_map_synop.pass.cpp53 using StdMap = std::unordered_map<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
58 using StdMap = std::unordered_map<K, V, MH, DP, pmr::polymorphic_allocator<P>>; in main()
63 using StdMap = std::unordered_map<K, V, MH, MP, pmr::polymorphic_allocator<P>>; in main()
72 using StdMap = std::unordered_multimap<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
77 using StdMap = std::unordered_multimap<K, V, MH, DP, pmr::polymorphic_allocator<P>>; in main()
82 using StdMap = std::unordered_multimap<K, V, MH, MP, pmr::polymorphic_allocator<P>>; in main()
Dheader_set_synop.pass.cpp43 using StdSet = std::set<V, DC, pmr::polymorphic_allocator<V>>; in main()
48 using StdSet = std::set<V, OC, pmr::polymorphic_allocator<V>>; in main()
57 using StdSet = std::multiset<V, DC, pmr::polymorphic_allocator<V>>; in main()
62 using StdSet = std::multiset<V, OC, pmr::polymorphic_allocator<V>>; in main()
Dheader_map_synop.pass.cpp45 using StdMap = std::map<K, V, DC, pmr::polymorphic_allocator<P>>; in main()
50 using StdMap = std::map<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
59 using StdMap = std::multimap<K, V, DC, pmr::polymorphic_allocator<P>>; in main()
64 using StdMap = std::multimap<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/utility/mem.res/mem.res.aliases/
Dheader_unordered_set_synop.pass.cpp43 using StdSet = std::unordered_set<V, DH, DP, std::pmr::polymorphic_allocator<V>>; in main()
48 using StdSet = std::unordered_set<V, MH, DP, std::pmr::polymorphic_allocator<V>>; in main()
53 using StdSet = std::unordered_set<V, MH, MP, std::pmr::polymorphic_allocator<V>>; in main()
62 using StdSet = std::unordered_multiset<V, DH, DP, std::pmr::polymorphic_allocator<V>>; in main()
67 using StdSet = std::unordered_multiset<V, MH, DP, std::pmr::polymorphic_allocator<V>>; in main()
72 using StdSet = std::unordered_multiset<V, MH, MP, std::pmr::polymorphic_allocator<V>>; in main()
Dheader_unordered_map_synop.pass.cpp45 using StdMap = std::unordered_map<K, V, DH, DP, std::pmr::polymorphic_allocator<P>>; in main()
50 using StdMap = std::unordered_map<K, V, MH, DP, std::pmr::polymorphic_allocator<P>>; in main()
55 using StdMap = std::unordered_map<K, V, MH, MP, std::pmr::polymorphic_allocator<P>>; in main()
64 using StdMap = std::unordered_multimap<K, V, DH, DP, std::pmr::polymorphic_allocator<P>>; in main()
69 using StdMap = std::unordered_multimap<K, V, MH, DP, std::pmr::polymorphic_allocator<P>>; in main()
74 using StdMap = std::unordered_multimap<K, V, MH, MP, std::pmr::polymorphic_allocator<P>>; in main()
Dheader_set_synop.pass.cpp35 using StdSet = std::set<V, DC, std::pmr::polymorphic_allocator<V>>; in main()
40 using StdSet = std::set<V, OC, std::pmr::polymorphic_allocator<V>>; in main()
49 using StdSet = std::multiset<V, DC, std::pmr::polymorphic_allocator<V>>; in main()
54 using StdSet = std::multiset<V, OC, std::pmr::polymorphic_allocator<V>>; in main()
Dheader_map_synop.pass.cpp37 using StdMap = std::map<K, V, DC, std::pmr::polymorphic_allocator<P>>; in main()
42 using StdMap = std::map<K, V, OC, std::pmr::polymorphic_allocator<P>>; in main()
51 using StdMap = std::multimap<K, V, DC, std::pmr::polymorphic_allocator<P>>; in main()
56 using StdMap = std::multimap<K, V, OC, std::pmr::polymorphic_allocator<P>>; in main()
/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()

123456