Home
last modified time | relevance | path

Searched refs:pool_allocator (Results 1 – 25 of 38) sorted by relevance

12

/aosp_15_r20/external/angle/third_party/glslang/src/glslang/Include/
H A DPoolAlloc.h269 class pool_allocator {
280 typedef pool_allocator<Other> other;
285 pool_allocator() : allocator(GetThreadPoolAllocator()) { } in pool_allocator() function
286 pool_allocator(TPoolAllocator& a) : allocator(a) { } in pool_allocator() function
287 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { } in pool_allocator() function
290 pool_allocator(const pool_allocator<Other>& p) : allocator(p.getAllocator()) { } in pool_allocator() function
306 …bool operator==(const pool_allocator& rhs) const { return &getAllocator() == &rhs.getAllocator(); }
307 …bool operator!=(const pool_allocator& rhs) const { return &getAllocator() != &rhs.getAllocator(); }
314 pool_allocator select_on_container_copy_construction() const { return pool_allocator{}; } in select_on_container_copy_construction()
317 pool_allocator& operator=(const pool_allocator&) { return *this; }
H A DCommon.h122 typedef pool_allocator<char> TStringAllocator;
175 template <class T> class TVector : public std::vector<T, pool_allocator<T> > {
179 typedef typename std::vector<T, pool_allocator<T> >::size_type size_type;
180 TVector() : std::vector<T, pool_allocator<T> >() {}
181 TVector(const pool_allocator<T>& a) : std::vector<T, pool_allocator<T> >(a) {}
182 TVector(size_type i) : std::vector<T, pool_allocator<T> >(i) {}
183 TVector(size_type i, const T& val) : std::vector<T, pool_allocator<T> >(i, val) {}
186 template <class T> class TList : public std::list<T, pool_allocator<T> > {
190 class TMap : public std::map<K, D, CMP, pool_allocator<std::pair<K const, D> > > {
194 class TUnorderedMap : public std::unordered_map<K, D, HASH, PRED, pool_allocator<std::pair<K const,…
[all …]
/aosp_15_r20/external/deqp-deps/glslang/glslang/Include/
DPoolAlloc.h269 class pool_allocator {
280 typedef pool_allocator<Other> other;
285 pool_allocator() : allocator(GetThreadPoolAllocator()) { } in pool_allocator() function
286 pool_allocator(TPoolAllocator& a) : allocator(a) { } in pool_allocator() function
287 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { } in pool_allocator() function
290 pool_allocator(const pool_allocator<Other>& p) : allocator(p.getAllocator()) { } in pool_allocator() function
306 …bool operator==(const pool_allocator& rhs) const { return &getAllocator() == &rhs.getAllocator(); }
307 …bool operator!=(const pool_allocator& rhs) const { return &getAllocator() != &rhs.getAllocator(); }
314 pool_allocator select_on_container_copy_construction() const { return pool_allocator{}; } in select_on_container_copy_construction()
317 pool_allocator& operator=(const pool_allocator&) { return *this; }
DCommon.h117 typedef pool_allocator<char> TStringAllocator;
170 template <class T> class TVector : public std::vector<T, pool_allocator<T> > {
174 typedef typename std::vector<T, pool_allocator<T> >::size_type size_type;
175 TVector() : std::vector<T, pool_allocator<T> >() {}
176 TVector(const pool_allocator<T>& a) : std::vector<T, pool_allocator<T> >(a) {}
177 TVector(size_type i) : std::vector<T, pool_allocator<T> >(i) {}
178 TVector(size_type i, const T& val) : std::vector<T, pool_allocator<T> >(i, val) {}
181 template <class T> class TList : public std::list<T, pool_allocator<T> > {
185 class TMap : public std::map<K, D, CMP, pool_allocator<std::pair<K const, D> > > {
189 class TUnorderedMap : public std::unordered_map<K, D, HASH, PRED, pool_allocator<std::pair<K const,…
[all …]
/aosp_15_r20/external/angle/src/compiler/translator/
H A DCommon.h69 typedef pool_allocator<char> TStringAllocator;
83 class TVector : public std::vector<T, pool_allocator<T>>
88 typedef typename std::vector<T, pool_allocator<T>>::size_type size_type;
89 TVector() : std::vector<T, pool_allocator<T>>() {} in TVector()
90 TVector(const pool_allocator<T> &a) : std::vector<T, pool_allocator<T>>(a) {} in TVector()
91 TVector(size_type i) : std::vector<T, pool_allocator<T>>(i) {} in TVector()
92 TVector(size_type i, const T &value) : std::vector<T, pool_allocator<T>>(i, value) {} in TVector()
94 TVector(InputIt first, InputIt last) : std::vector<T, pool_allocator<T>>(first, last) in TVector()
96 TVector(std::initializer_list<T> init) : std::vector<T, pool_allocator<T>>(init) {} in TVector()
100 class TUnorderedMap : public std::unordered_map<K, D, H, CMP, pool_allocator<std::pair<const K, D>>>
[all …]
H A DPoolAlloc.h40 class pool_allocator
54 typedef pool_allocator<Other> other;
59 pool_allocator() {} in pool_allocator() function
62 pool_allocator(const pool_allocator<Other> &p) in pool_allocator() function
66 pool_allocator<T> &operator=(const pool_allocator<Other> &p)
93 bool operator==(const pool_allocator &rhs) const { return true; }
94 bool operator!=(const pool_allocator &rhs) const { return false; }
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/pool/include/boost/pool/
Dpool_alloc.hpp152 class pool_allocator class
176 typedef pool_allocator<U, UserAllocator, Mutex, NextSize, MaxSize> other;
180 pool_allocator() in pool_allocator() function in boost::pool_allocator
198 pool_allocator(const pool_allocator<U, UserAllocator, Mutex, NextSize, MaxSize> &) in pool_allocator() function in boost::pool_allocator
233 bool operator==(const pool_allocator &) const in operator ==()
235 bool operator!=(const pool_allocator &) const in operator !=()
285 class pool_allocator<void, UserAllocator, Mutex, NextSize, MaxSize> class
300 typedef pool_allocator<U, UserAllocator, Mutex, NextSize, MaxSize> other;
Dpoolfwd.hpp69 class pool_allocator;
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/pool/test/
Dtest_pool_alloc.cpp172 std::vector<tester, boost::pool_allocator<tester> > l; in test_alloc()
182 std::deque<tester, boost::pool_allocator<tester> > l; in test_alloc()
208 boost::pool_allocator<tester> a; in test_alloc()
219 boost::pool_allocator<tester>::deallocate(tmp, 1); in test_alloc()
223 boost::pool_allocator<tester> alloc; in test_alloc()
271 typedef boost::pool_allocator<void> void_allocator; in test_void()
Dtest_bug_4960.cpp15 typedef std::vector<int, boost::pool_allocator<int> > EventVector;
16 typedef std::vector<EventVector, boost::pool_allocator<EventVector> > IndexVector;
36 boost::pool_allocator<int> al; in main()
Dtest_poisoned_macros.cpp43 template class boost::pool_allocator<int, boost::default_user_allocator_new_delete>; member in boost
44 template class boost::pool_allocator<int, boost::default_user_allocator_malloc_free>; member in boost
Dtest_msvc_mem_leak_detect.cpp45 std::vector<int, boost::pool_allocator<int> > v; in main()
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/memory/unix/
H A Dapr_pools.c964 apr_allocator_t *pool_allocator; in apr_pool_create_unmanaged_ex() local
970 if ((pool_allocator = allocator) == NULL) { in apr_pool_create_unmanaged_ex()
971 if ((pool_allocator = malloc(SIZEOF_ALLOCATOR_T)) == NULL) { in apr_pool_create_unmanaged_ex()
977 memset(pool_allocator, 0, SIZEOF_ALLOCATOR_T); in apr_pool_create_unmanaged_ex()
978 pool_allocator->max_free_index = APR_ALLOCATOR_MAX_FREE_UNLIMITED; in apr_pool_create_unmanaged_ex()
980 if ((node = allocator_alloc(pool_allocator, in apr_pool_create_unmanaged_ex()
994 pool->allocator = pool_allocator; in apr_pool_create_unmanaged_ex()
1012 pool_allocator->owner = pool; in apr_pool_create_unmanaged_ex()
1799 apr_allocator_t *pool_allocator; in apr_pool_create_unmanaged_ex_debug() local
1823 if ((pool_allocator = allocator) == NULL) { in apr_pool_create_unmanaged_ex_debug()
[all …]
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/include/c++/4.8.3/ext/
Dalloc_traits.h106 template<typename> struct pool_allocator; in _GLIBCXX_VISIBILITY()
109 struct __allocator_always_compares_equal<pool_allocator<_Tp>> in _GLIBCXX_VISIBILITY()
113 const bool __allocator_always_compares_equal<pool_allocator<_Tp>>::value; in _GLIBCXX_VISIBILITY()
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/
Dalloc_traits.h106 template<typename> struct pool_allocator; in _GLIBCXX_VISIBILITY()
109 struct __allocator_always_compares_equal<pool_allocator<_Tp>> in _GLIBCXX_VISIBILITY()
113 const bool __allocator_always_compares_equal<pool_allocator<_Tp>>::value; in _GLIBCXX_VISIBILITY()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/pool/doc/
Dpool.qbk112 `pool_allocator` is a more general-purpose solution, geared towards
117 it will work for contiguous chunks, but not as well as pool_allocator.
121 and use `pool_allocator` when dealing with containers such as `std::vector`.
455 [section:pool_allocator pool_allocator]
457 The [classref boost::pool_allocator pool_allocator interface]
480 class pool_allocator
494 { typedef pool_allocator<U, UserAllocator> other; };
497 pool_allocator();
498 pool_allocator(const pool_allocator &);
501 pool_allocator(const pool_allocator<U, UserAllocator> &);
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/pool/example/
Dtime_pool_alloc.cpp257 typedef boost::pool_allocator<int, in timing_test_containers()
260 typedef boost::pool_allocator<int> alloc_sync; in timing_test_containers()
/aosp_15_r20/external/tensorflow/tensorflow/core/common_runtime/
H A DBUILD304 "pool_allocator.h",
1219 ":pool_allocator",
1354 name = "pool_allocator",
1355 srcs = ["pool_allocator.cc"],
1356 hdrs = ["pool_allocator.h"],
1403 ":pool_allocator",
1828 ":pool_allocator",
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/classic/tree/
Dcommon.hpp64 typedef boost::pool_allocator<tree_node<T> > allocator_type;
245 typedef boost::pool_allocator<value_type> allocator_type;
/aosp_15_r20/external/angle/third_party/glslang/src/glslang/MachineIndependent/
H A DSymbolTable.h595 …typedef std::map<TString, TSymbol*, std::less<TString>, pool_allocator<std::pair<const TString, TS…
/aosp_15_r20/external/deqp-deps/glslang/glslang/MachineIndependent/
DSymbolTable.h591 …typedef std::map<TString, TSymbol*, std::less<TString>, pool_allocator<std::pair<const TString, TS…
/aosp_15_r20/out/soong/.intermediates/external/tensorflow/libtflite_flex_delegate/android_arm64_armv8-2a_cortex-a55_static_apex33/obj/external/tensorflow/tensorflow/core/common_runtime/
Dpool_allocator.o.d1 …cortex-a55_static_apex33/obj/external/tensorflow/tensorflow/core/common_runtime/pool_allocator.o: \
2 external/tensorflow/tensorflow/core/common_runtime/pool_allocator.cc \
3 external/tensorflow/tensorflow/core/common_runtime/pool_allocator.h \
Dprocess_state.o.d1318 external/tensorflow/tensorflow/core/common_runtime/pool_allocator.h \
/aosp_15_r20/out/soong/.intermediates/external/tensorflow/libtflite_flex_delegate/android_arm64_armv8-2a_cortex-a55_static_apex33/
Dmeta_lic124 sources: "external/tensorflow/tensorflow/core/common_runtime/pool_allocator.cc"
Dmeta_lic.rsp1 …d_ops_utils.cc -s external/tensorflow/tensorflow/core/common_runtime/pool_allocator.cc -s external…

12