/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_memorypool.cpp | 63 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 D | sfn_memorypool.h | 48 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 D | memorypool.h | 38 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 D | memorypool.c | 50 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 D | SkSLPool.cpp | 16 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 D | SkSLMemoryPool.h | 20 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 D | cmemory.h | 741 * 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 D | uloc_keytype.cpp | 49 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 D | cmemory.h | 741 * 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 D | uloc_keytype.cpp | 49 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 D | cmemory.h | 741 * 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 D | uloc_keytype.cpp | 49 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 D | units_complexconverter.h | 20 // 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 D | number_longnames.h | 48 * 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 D | units_data.h | 48 // 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 D | measunit_impl.h | 201 // 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 D | numparse_affixes.h | 50 // 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 D | units_complexconverter.h | 20 // 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 D | number_longnames.h | 48 * 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 D | units_data.h | 49 // 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 D | numparse_affixes.h | 50 // 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 D | measunit_impl.h | 201 // 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 D | units_complexconverter.h | 20 // 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 D | number_longnames.h | 48 * 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 D | units_data.h | 48 // 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
|