Home
last modified time | relevance | path

Searched refs:MemoryPool (Results 1 - 25 of 43) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_memorypool.cpp63 MemoryPool::MemoryPool() noexcept : impl(nullptr) in impl()
67 MemoryPool& MemoryPool::instance() in instance()
69 static thread_local MemoryPool me; in instance()
74 void MemoryPool::free() in free()
80 void MemoryPool::initialize() in initialize()
86 void *MemoryPool::allocate(size_t size) in allocate()
91 void *MemoryPool::allocate(size_t size, size_t align) in allocate()
96 void MemoryPool
[all...]
H A Dsfn_memorypool.h48 class MemoryPool { class
50 static MemoryPool& instance();
60 MemoryPool() noexcept;
76 return (T *)MemoryPool::instance().allocate(n * sizeof(T), alignof(T)); in allocate()
81 //MemoryPool::instance().deallocate(p, n * sizeof(T), alignof(T)); in deallocate()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dmemorypool.h38 struct MemoryPool;
47 struct MemoryPool *
57 MHD_pool_destroy (struct MemoryPool *pool);
72 MHD_pool_allocate (struct MemoryPool *pool,
94 MHD_pool_reallocate (struct MemoryPool *pool,
110 MHD_pool_reset (struct MemoryPool *pool,
H A Dmemorypool.c50 struct MemoryPool struct
86 struct MemoryPool *
89 struct MemoryPool *pool; in MHD_pool_create()
91 pool = malloc (sizeof (struct MemoryPool)); in MHD_pool_create()
135 MHD_pool_destroy (struct MemoryPool *pool) in MHD_pool_destroy()
165 MHD_pool_allocate (struct MemoryPool *pool, in MHD_pool_allocate()
208 MHD_pool_reallocate (struct MemoryPool *pool, in MHD_pool_reallocate()
262 MHD_pool_reset (struct MemoryPool *pool, in MHD_pool_reset()
/third_party/skia/src/sksl/
H A DSkSLPool.cpp16 static thread_local MemoryPool* sMemPool = nullptr;
18 static MemoryPool* get_thread_local_memory_pool() { in get_thread_local_memory_pool()
22 static void set_thread_local_memory_pool(MemoryPool* memPool) { in set_thread_local_memory_pool()
40 pool->fMemPool = MemoryPool::Make(/*preallocSize=*/65536, /*minAllocSize=*/32768); in Create()
56 MemoryPool* memPool = get_thread_local_memory_pool(); in detachFromThread()
65 MemoryPool* memPool = get_thread_local_memory_pool(); in AllocMemory()
80 MemoryPool* memPool = get_thread_local_memory_pool(); in FreeMemory()
H A DSkSLMemoryPool.h20 using MemoryPool = ::GrMemoryPool;
29 class MemoryPool {
31 static std::unique_ptr<MemoryPool> Make(size_t, size_t) {
32 return std::make_unique<MemoryPool>();
/third_party/icu/icu4c/source/common/
H A Dcmemory.h741 * MemoryPool<MyType> pool;
753 * // MemoryPool will take care of deleting the MyType objects.
758 class MemoryPool : public UMemory { class
760 MemoryPool() : fCount(0), fPool() {} in MemoryPool() function in MemoryPool
762 ~MemoryPool() { in ~MemoryPool()
768 MemoryPool(const MemoryPool&) = delete;
769 MemoryPool& operator=(const MemoryPool&) = delete;
771 MemoryPool(MemoryPoo
[all...]
H A Duloc_keytype.cpp49 static icu::MemoryPool<icu::CharString>* gKeyTypeStringPool = NULL;
50 static icu::MemoryPool<LocExtKeyData>* gLocExtKeyDataEntries = NULL;
51 static icu::MemoryPool<LocExtType>* gLocExtTypeEntries = NULL;
99 gKeyTypeStringPool = new icu::MemoryPool<icu::CharString>; in initFromResourceBundle()
104 gLocExtKeyDataEntries = new icu::MemoryPool<LocExtKeyData>; in initFromResourceBundle()
109 gLocExtTypeEntries = new icu::MemoryPool<LocExtType>; in initFromResourceBundle()
/third_party/node/deps/icu-small/source/common/
H A Dcmemory.h741 * MemoryPool<MyType> pool;
753 * // MemoryPool will take care of deleting the MyType objects.
758 class MemoryPool : public UMemory { class
760 MemoryPool() : fCount(0), fPool() {} in MemoryPool() function in MemoryPool
762 ~MemoryPool() { in ~MemoryPool()
768 MemoryPool(const MemoryPool&) = delete;
769 MemoryPool& operator=(const MemoryPool&) = delete;
771 MemoryPool(MemoryPoo
[all...]
H A Duloc_keytype.cpp49 static icu::MemoryPool<icu::CharString>* gKeyTypeStringPool = nullptr;
50 static icu::MemoryPool<LocExtKeyData>* gLocExtKeyDataEntries = nullptr;
51 static icu::MemoryPool<LocExtType>* gLocExtTypeEntries = nullptr;
99 gKeyTypeStringPool = new icu::MemoryPool<icu::CharString>; in initFromResourceBundle()
104 gLocExtKeyDataEntries = new icu::MemoryPool<LocExtKeyData>; in initFromResourceBundle()
109 gLocExtTypeEntries = new icu::MemoryPool<LocExtType>; in initFromResourceBundle()
/third_party/skia/third_party/externals/icu/source/common/
H A Dcmemory.h741 * MemoryPool<MyType> pool;
753 * // MemoryPool will take care of deleting the MyType objects.
758 class MemoryPool : public UMemory { class
760 MemoryPool() : fCount(0), fPool() {} in MemoryPool() function in MemoryPool
762 ~MemoryPool() { in ~MemoryPool()
768 MemoryPool(const MemoryPool&) = delete;
769 MemoryPool& operator=(const MemoryPool&) = delete;
771 MemoryPool(MemoryPoo
[all...]
H A Duloc_keytype.cpp49 static icu::MemoryPool<icu::CharString>* gKeyTypeStringPool = NULL;
50 static icu::MemoryPool<LocExtKeyData>* gLocExtKeyDataEntries = NULL;
51 static icu::MemoryPool<LocExtType>* gLocExtTypeEntries = NULL;
99 gKeyTypeStringPool = new icu::MemoryPool<icu::CharString>; in initFromResourceBundle()
104 gLocExtKeyDataEntries = new icu::MemoryPool<LocExtKeyData>; in initFromResourceBundle()
109 gLocExtTypeEntries = new icu::MemoryPool<LocExtType>; in initFromResourceBundle()
/third_party/icu/icu4c/source/i18n/
H A Dunits_complexconverter.h20 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
28 template class U_I18N_API MemoryPool<units::UnitsConverter, 8>; variable
31 template class U_I18N_API MemoryPool<MeasureUnitImpl, 8>; variable
34 template class U_I18N_API MemoryPool<MeasureUnit, 8>; variable
H A Dnumber_longnames.h48 * want to fill in instances in a MemoryPool (which cannot adopt pointers it
96 // Enables MemoryPool<LongNameHandler>::emplaceBack(): requires access to
98 friend class MemoryPool<LongNameHandler>;
143 * want to fill in instances in a MemoryPool (which cannot adopt pointers it
211 // Enables MemoryPool<LongNameHandler>::emplaceBack(): requires access to
213 friend class MemoryPool<MixedUnitLongNameHandler>;
252 MemoryPool<LongNameHandler> fLongNameHandlers;
253 MemoryPool<MixedUnitLongNameHandler> fMixedUnitHandlers;
H A Dunits_data.h48 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; variable
148 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
156 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; variable
159 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; variable
H A Dmeasunit_impl.h201 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
206 template class U_I18N_API MemoryPool<SingleUnitImpl, 8>; variable
350 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
355 template class U_I18N_API MemoryPool<MeasureUnitImplWithIndex, 8>; variable
H A Dnumparse_affixes.h50 // Export a explicit template instantiations of MaybeStackArray, MemoryPool and CompactUnicodeString.
57 template class U_I18N_API MemoryPool<numparse::impl::CodePointMatcher, 8>; variable
118 MemoryPool<CodePointMatcher> fCodePoints;
/third_party/node/deps/icu-small/source/i18n/
H A Dunits_complexconverter.h20 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
28 template class U_I18N_API MemoryPool<units::UnitsConverter, 8>; variable
31 template class U_I18N_API MemoryPool<MeasureUnitImpl, 8>; variable
34 template class U_I18N_API MemoryPool<MeasureUnit, 8>; variable
H A Dnumber_longnames.h48 * want to fill in instances in a MemoryPool (which cannot adopt pointers it
96 // Enables MemoryPool<LongNameHandler>::emplaceBack(): requires access to
98 friend class MemoryPool<LongNameHandler>;
143 * want to fill in instances in a MemoryPool (which cannot adopt pointers it
211 // Enables MemoryPool<LongNameHandler>::emplaceBack(): requires access to
213 friend class MemoryPool<MixedUnitLongNameHandler>;
252 MemoryPool<LongNameHandler> fLongNameHandlers;
253 MemoryPool<MixedUnitLongNameHandler> fMixedUnitHandlers;
H A Dunits_data.h49 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
57 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; variable
149 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
157 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; variable
160 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; variable
H A Dnumparse_affixes.h50 // Export a explicit template instantiations of MaybeStackArray, MemoryPool and CompactUnicodeString.
57 template class U_I18N_API MemoryPool<numparse::impl::CodePointMatcher, 8>; variable
118 MemoryPool<CodePointMatcher> fCodePoints;
H A Dmeasunit_impl.h201 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
206 template class U_I18N_API MemoryPool<SingleUnitImpl, 8>; variable
350 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
355 template class U_I18N_API MemoryPool<MeasureUnitImplWithIndex, 8>; variable
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dunits_complexconverter.h20 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
28 template class U_I18N_API MemoryPool<units::UnitsConverter, 8>; variable
31 template class U_I18N_API MemoryPool<MeasureUnitImpl, 8>; variable
34 template class U_I18N_API MemoryPool<MeasureUnit, 8>; variable
H A Dnumber_longnames.h48 * want to fill in instances in a MemoryPool (which cannot adopt pointers it
96 // Enables MemoryPool<LongNameHandler>::emplaceBack(): requires access to
98 friend class MemoryPool<LongNameHandler>;
143 * want to fill in instances in a MemoryPool (which cannot adopt pointers it
211 // Enables MemoryPool<LongNameHandler>::emplaceBack(): requires access to
213 friend class MemoryPool<MixedUnitLongNameHandler>;
252 MemoryPool<LongNameHandler> fLongNameHandlers;
253 MemoryPool<MixedUnitLongNameHandler> fMixedUnitHandlers;
H A Dunits_data.h48 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; variable
141 // Export explicit template instantiations of MaybeStackArray, MemoryPool and
149 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; variable
152 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; variable

Completed in 14 milliseconds

12