Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 – 25 of 27) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
Dswap_member.pass.cpp31 typedef test_allocator<int> Alloc; in main() typedef
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
52 assert(c2.get_allocator() == Alloc(2)); in main()
60 typedef test_allocator<int> Alloc; in main() typedef
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Dswap_member.pass.cpp31 typedef test_allocator<int> Alloc; in main() typedef
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
52 assert(c2.get_allocator() == Alloc(2)); in main()
60 typedef test_allocator<int> Alloc; in main() typedef
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.swap/
Dswap_non_member.pass.cpp31 typedef test_allocator<int> Alloc; in main() typedef
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
52 assert(c2.get_allocator() == Alloc(2)); in main()
60 typedef test_allocator<int> Alloc; in main() typedef
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/
Dswap_non_member.pass.cpp31 typedef test_allocator<int> Alloc; in main() typedef
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
52 assert(c2.get_allocator() == Alloc(2)); in main()
60 typedef test_allocator<int> Alloc; in main() typedef
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
Dswap_member.pass.cpp32 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
36 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
44 assert(c1.get_allocator() == Alloc(1)); in main()
53 assert(c2.get_allocator() == Alloc(2)); in main()
61 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
75 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.swap/
Dswap_non_member.pass.cpp32 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
36 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
44 assert(c1.get_allocator() == Alloc(1)); in main()
53 assert(c2.get_allocator() == Alloc(2)); in main()
61 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
75 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
Dswap_member.pass.cpp33 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
36 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
37 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
45 assert(c1.get_allocator() == Alloc(1)); in main()
54 assert(c2.get_allocator() == Alloc(2)); in main()
62 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
76 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
77 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/
Dswap_non_member.pass.cpp32 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
33 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
36 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
44 assert(c1.get_allocator() == Alloc(1)); in main()
53 assert(c2.get_allocator() == Alloc(2)); in main()
61 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef
62 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
75 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dasan_testing.h19 template <typename T, typename Alloc>
20 bool is_contiguous_container_asan_correct ( const std::vector<T, Alloc> &c ) in is_contiguous_container_asan_correct()
22 if ( std::is_same<Alloc, std::allocator<T>>::value && c.data() != NULL) in is_contiguous_container_asan_correct()
29 template <typename T, typename Alloc>
30 bool is_contiguous_container_asan_correct ( const std::vector<T, Alloc> &c ) in is_contiguous_container_asan_correct()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.types/
Dallocator_pointers.pass.cpp34 template <typename Alloc>
37 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer()
38 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer()
68 template <typename Alloc>
71 typename std::allocator_traits<Alloc>::void_pointer vp; in test_void_pointer()
72 typename std::allocator_traits<Alloc>::const_void_pointer cvp; in test_void_pointer()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
Dallocator_pointers.pass.cpp34 template <typename Alloc>
37 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer()
38 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer()
68 template <typename Alloc>
71 typename std::allocator_traits<Alloc>::void_pointer vp; in test_void_pointer()
72 typename std::allocator_traits<Alloc>::const_void_pointer cvp; in test_void_pointer()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstack45 template <class Alloc> explicit stack(const Alloc& a);
46 template <class Alloc> stack(const container_type& c, const Alloc& a);
47 template <class Alloc> stack(container_type&& c, const Alloc& a);
48 template <class Alloc> stack(const stack& c, const Alloc& a);
49 template <class Alloc> stack(stack&& c, const Alloc& a);
Dqueue45 template <class Alloc>
46 explicit queue(const Alloc& a);
47 template <class Alloc>
48 queue(const container_type& c, const Alloc& a);
49 template <class Alloc>
50 queue(container_type&& c, const Alloc& a);
51 template <class Alloc>
52 queue(const queue& q, const Alloc& a);
53 template <class Alloc>
54 queue(queue&& q, const Alloc& a);
[all …]
Dtuple39 template <class Alloc>
40 tuple(allocator_arg_t, const Alloc& a);
41 template <class Alloc>
42 tuple(allocator_arg_t, const Alloc& a, const T&...);
43 template <class Alloc, class... U>
44 tuple(allocator_arg_t, const Alloc& a, U&&...);
45 template <class Alloc>
46 tuple(allocator_arg_t, const Alloc& a, const tuple&);
47 template <class Alloc>
48 tuple(allocator_arg_t, const Alloc& a, tuple&&);
[all …]
Dunordered_set24 class Alloc = allocator<Value>>
33 typedef Alloc allocator_type;
157 template <class Value, class Hash, class Pred, class Alloc>
158 void swap(unordered_set<Value, Hash, Pred, Alloc>& x,
159 unordered_set<Value, Hash, Pred, Alloc>& y)
162 template <class Value, class Hash, class Pred, class Alloc>
164 operator==(const unordered_set<Value, Hash, Pred, Alloc>& x,
165 const unordered_set<Value, Hash, Pred, Alloc>& y);
167 template <class Value, class Hash, class Pred, class Alloc>
169 operator!=(const unordered_set<Value, Hash, Pred, Alloc>& x,
[all …]
Dlist20 template <class T, class Alloc = allocator<T> >
27 typedef Alloc allocator_type;
151 template <class T, class Alloc>
152 bool operator==(const list<T,Alloc>& x, const list<T,Alloc>& y);
153 template <class T, class Alloc>
154 bool operator< (const list<T,Alloc>& x, const list<T,Alloc>& y);
155 template <class T, class Alloc>
156 bool operator!=(const list<T,Alloc>& x, const list<T,Alloc>& y);
157 template <class T, class Alloc>
158 bool operator> (const list<T,Alloc>& x, const list<T,Alloc>& y);
[all …]
Dunordered_map24 class Alloc = allocator<pair<const Key, T>>>
33 typedef Alloc allocator_type;
172 template <class Key, class T, class Hash, class Pred, class Alloc>
173 void swap(unordered_map<Key, T, Hash, Pred, Alloc>& x,
174 unordered_map<Key, T, Hash, Pred, Alloc>& y)
177 template <class Key, class T, class Hash, class Pred, class Alloc>
179 operator==(const unordered_map<Key, T, Hash, Pred, Alloc>& x,
180 const unordered_map<Key, T, Hash, Pred, Alloc>& y);
182 template <class Key, class T, class Hash, class Pred, class Alloc>
184 operator!=(const unordered_map<Key, T, Hash, Pred, Alloc>& x,
[all …]
Dfunctional386 template<Allocator Alloc>
387 function(allocator_arg_t, const Alloc&) noexcept;
388 template<Allocator Alloc>
389 function(allocator_arg_t, const Alloc&, nullptr_t) noexcept;
390 template<Allocator Alloc>
391 function(allocator_arg_t, const Alloc&, const function&);
392 template<Allocator Alloc>
393 function(allocator_arg_t, const Alloc&, function&&);
394 template<class F, Allocator Alloc>
395 function(allocator_arg_t, const Alloc&, F);
[all …]
Dmemory23 template <class T, class Alloc> struct uses_allocator;
49 template <class Alloc>
52 typedef Alloc allocator_type;
56 typedef Alloc::pointer | value_type* pointer;
57 typedef Alloc::const_pointer
60 typedef Alloc::void_pointer
63 typedef Alloc::const_void_pointer
66 typedef Alloc::difference_type
69 typedef Alloc::size_type
72 typedef Alloc::propagate_on_container_copy_assignment
[all …]
Dfuture146 template <class R, class Alloc>
147 struct uses_allocator<promise<R>, Alloc> : public true_type {};
359 template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ext/
Dhash_set22 class Alloc = allocator<Value>>
31 typedef Alloc allocator_type;
93 template <class Value, class Hash, class Pred, class Alloc>
94 void swap(hash_set<Value, Hash, Pred, Alloc>& x,
95 hash_set<Value, Hash, Pred, Alloc>& y);
97 template <class Value, class Hash, class Pred, class Alloc>
99 operator==(const hash_set<Value, Hash, Pred, Alloc>& x,
100 const hash_set<Value, Hash, Pred, Alloc>& y);
102 template <class Value, class Hash, class Pred, class Alloc>
104 operator!=(const hash_set<Value, Hash, Pred, Alloc>& x,
[all …]
Dhash_map22 class Alloc = allocator<pair<const Key, T>>>
31 typedef Alloc allocator_type;
96 template <class Key, class T, class Hash, class Pred, class Alloc>
97 void swap(hash_map<Key, T, Hash, Pred, Alloc>& x,
98 hash_map<Key, T, Hash, Pred, Alloc>& y);
100 template <class Key, class T, class Hash, class Pred, class Alloc>
102 operator==(const hash_map<Key, T, Hash, Pred, Alloc>& x,
103 const hash_map<Key, T, Hash, Pred, Alloc>& y);
105 template <class Key, class T, class Hash, class Pred, class Alloc>
107 operator!=(const hash_map<Key, T, Hash, Pred, Alloc>& x,
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dlexical_cast.hpp269 template <class CharT, class Traits, class Alloc>
270 struct stream_char< std::basic_string<CharT, Traits, Alloc> >
275 template <class CharT, class Traits, class Alloc>
276 struct stream_char< ::boost::container::basic_string<CharT, Traits, Alloc> >
337 template<class CharT, class Traits, class Alloc, class Source>
339 , std::basic_string<CharT,Traits,Alloc>
346 template<class CharT, class Target, class Traits, class Alloc>
349 , std::basic_string<CharT,Traits,Alloc>
355 template<class CharT, class Traits, class Alloc, class Source>
357 , ::boost::container::basic_string<CharT,Traits,Alloc>
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/experimental/
Ddynarray41 template <typename Alloc>
42 dynarray(size_type c, const Alloc& alloc);
44 template <typename Alloc>
45 dynarray(size_type c, const T& v, const Alloc& alloc);
47 template <typename Alloc>
48 dynarray(const dynarray& d, const Alloc& alloc);
50 template <typename Alloc>
51 dynarray(initializer_list<T>, const Alloc& alloc);
/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi.cc128 void* Alloc() { in Alloc() function in __anonec9939a20111::PageBasedAllocator
238 obj = __cxa_eh_globals_allocator.Alloc(); in getSlow()

12