Home
last modified time | relevance | path

Searched refs:MemoryPool (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_memorypool.cpp63 MemoryPool::MemoryPool() noexcept : impl(nullptr) in MemoryPool() function in r600::MemoryPool
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::release_all() in release_all()
103 MemoryPool::instance(); in init_pool()
108 MemoryPool::release_all(); in release_pool()
[all …]
Dsfn_memorypool.h48 class MemoryPool {
50 static MemoryPool& instance();
60 MemoryPool() noexcept;
76 return (T *)MemoryPool::instance().allocate(n * sizeof(T), alignof(T)); in allocate()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
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,
Dmemorypool.c50 struct MemoryPool struct
86 struct MemoryPool * argument
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/
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()
DSkSLMemoryPool.h20 using MemoryPool = ::GrMemoryPool; variable
29 class MemoryPool {
31 static std::unique_ptr<MemoryPool> Make(size_t, size_t) { in Make()
32 return std::make_unique<MemoryPool>(); in Make()
/third_party/icu/icu4c/source/common/
Dcmemory.h758 class MemoryPool : public UMemory {
760 MemoryPool() : fCount(0), fPool() {} in MemoryPool() function
762 ~MemoryPool() { in ~MemoryPool()
768 MemoryPool(const MemoryPool&) = delete;
769 MemoryPool& operator=(const MemoryPool&) = delete;
771 MemoryPool(MemoryPool&& other) U_NOEXCEPT : fCount(other.fCount), in MemoryPool() function
776 MemoryPool& operator=(MemoryPool&& other) U_NOEXCEPT {
851 class MaybeStackVector : protected MemoryPool<T, stackCapacity> {
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/
Dcmemory.h758 class MemoryPool : public UMemory {
760 MemoryPool() : fCount(0), fPool() {} in MemoryPool() function
762 ~MemoryPool() { in ~MemoryPool()
768 MemoryPool(const MemoryPool&) = delete;
769 MemoryPool& operator=(const MemoryPool&) = delete;
771 MemoryPool(MemoryPool&& other) noexcept : fCount(other.fCount), in MemoryPool() function
776 MemoryPool& operator=(MemoryPool&& other) noexcept {
851 class MaybeStackVector : protected MemoryPool<T, stackCapacity> {
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/
Dcmemory.h758 class MemoryPool : public UMemory {
760 MemoryPool() : fCount(0), fPool() {} in MemoryPool() function
762 ~MemoryPool() { in ~MemoryPool()
768 MemoryPool(const MemoryPool&) = delete;
769 MemoryPool& operator=(const MemoryPool&) = delete;
771 MemoryPool(MemoryPool&& other) U_NOEXCEPT : fCount(other.fCount), in MemoryPool() function
776 MemoryPool& operator=(MemoryPool&& other) U_NOEXCEPT {
851 class MaybeStackVector : protected MemoryPool<T, stackCapacity> {
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/
Dunits_complexconverter.h28 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
Dnumber_longnames.h98 friend class MemoryPool<LongNameHandler>; variable
213 friend class MemoryPool<MixedUnitLongNameHandler>; variable
252 MemoryPool<LongNameHandler> fLongNameHandlers;
253 MemoryPool<MixedUnitLongNameHandler> fMixedUnitHandlers;
Dunits_data.h56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; variable
156 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; variable
159 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; variable
Dmeasunit_impl.h206 template class U_I18N_API MemoryPool<SingleUnitImpl, 8>; variable
355 template class U_I18N_API MemoryPool<MeasureUnitImplWithIndex, 8>; variable
Dnumparse_affixes.h57 template class U_I18N_API MemoryPool<numparse::impl::CodePointMatcher, 8>; variable
118 MemoryPool<CodePointMatcher> fCodePoints;
/third_party/node/deps/icu-small/source/i18n/
Dunits_complexconverter.h28 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
Dnumber_longnames.h98 friend class MemoryPool<LongNameHandler>; variable
213 friend class MemoryPool<MixedUnitLongNameHandler>; variable
252 MemoryPool<LongNameHandler> fLongNameHandlers;
253 MemoryPool<MixedUnitLongNameHandler> fMixedUnitHandlers;
Dunits_data.h56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; variable
156 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; variable
159 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; variable
Dnumparse_affixes.h57 template class U_I18N_API MemoryPool<numparse::impl::CodePointMatcher, 8>; variable
118 MemoryPool<CodePointMatcher> fCodePoints;
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_complexconverter.h28 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
Dnumber_longnames.h98 friend class MemoryPool<LongNameHandler>; variable
213 friend class MemoryPool<MixedUnitLongNameHandler>; variable
252 MemoryPool<LongNameHandler> fLongNameHandlers;
253 MemoryPool<MixedUnitLongNameHandler> fMixedUnitHandlers;
Dunits_data.h56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; variable
149 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; variable
152 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; variable
Dmeasunit_impl.h179 template class U_I18N_API MemoryPool<SingleUnitImpl, 8>; variable
319 template class U_I18N_API MemoryPool<MeasureUnitImplWithIndex, 8>; variable

12