/dports/games/ldmud/ldmud-3.3.720/src/ |
H A D | mempools.c | 476 Mempool pPool; in new_pool() local 486 pPool = xalloc(sizeof(*pPool)); in new_pool() 487 if (!pPool) in new_pool() 509 return pPool; in new_pool() 537 Mempool pPool; in new_lifopool() local 542 if (pPool) in new_lifopool() 555 return pPool; in new_lifopool() 878 for (pPool = pPool->pSubPools; pPool != NULL; pPool = pPool->pNextSub) in mempool_reset() 955 xfree(pPool); in mempool_delete() 1000 for (pPool = pPool->pSubPools; pPool != NULL; pPool = pPool->pNextSub) in mempool_clear_refs() [all …]
|
H A D | mempools.h | 35 extern void * mempool_alloc (Mempool pPool, size_t iSize); 36 extern void mempool_free (Mempool pPool, void * adr); 37 extern void mempool_reset (Mempool pPool); 38 extern void mempool_delete (Mempool pPool); 39 extern size_t mempool_size (Mempool pPool); 56 extern void mempool_clear_refs (Mempool pPool); 57 extern void mempool_note_refs (Mempool pPool);
|
/dports/audio/linuxsampler/linuxsampler-2.2.0/src/testcases/ |
H A D | PoolTest.cpp | 36 CPPUNIT_ASSERT(pPool->first() == pPool->end()); in testAllocPool() 37 CPPUNIT_ASSERT(pPool->last() == pPool->begin()); in testAllocPool() 52 CPPUNIT_ASSERT(pPool->first() != pPool->end()); in testAllocAppendElements() 53 CPPUNIT_ASSERT(pPool->last() != pPool->begin()); in testAllocAppendElements() 92 CPPUNIT_ASSERT(pPool->first() == pPool->end()); in testFreeElements() 93 CPPUNIT_ASSERT(pPool->last() == pPool->begin()); in testFreeElements() 107 CPPUNIT_ASSERT(pPool->first() != pPool->end()); in testAllocPrependElements() 108 CPPUNIT_ASSERT(pPool->last() != pPool->begin()); in testAllocPrependElements() 116 CPPUNIT_ASSERT(pPool->first() == pPool->end()); in testClear() 117 CPPUNIT_ASSERT(pPool->last() == pPool->begin()); in testClear() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/unodraw/ |
H A D | unopool.cxx | 125 …pPool->GetDefaultItem( pPool->GetWhich( static_cast<sal_uInt16>(pEntry->mnHandle) ) ).QueryValue( … in getAny() 200 SfxItemPool* pPool = getModelPool( false ); in _setPropertyValues() local 203 if( nullptr == pPool ) in _setPropertyValues() 214 SfxItemPool* pPool = getModelPool( true ); in _getPropertyValues() local 217 if( nullptr == pPool ) in _getPropertyValues() 228 SfxItemPool* pPool = getModelPool( true ); in _getPropertyStates() local 230 if( pPool && pPool != mpDefaultsPool ) in _getPropertyStates() 290 SfxItemPool* pPool = getModelPool( true ); in _setPropertyToDefault() local 296 if ( pPool && pPool != mpDefaultsPool ) in _setPropertyToDefault() 300 pPool->ResetPoolDefaultItem( nWhich ); in _setPropertyToDefault() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/unodraw/ |
H A D | unopool.cxx | 115 …pPool->GetDefaultItem( pPool->GetWhich( static_cast<sal_uInt16>(pEntry->mnHandle) ) ).QueryValue( … in getAny() 189 SfxItemPool* pPool = getModelPool( false ); in _setPropertyValues() local 192 if( nullptr == pPool ) in _setPropertyValues() 203 SfxItemPool* pPool = getModelPool( true ); in _getPropertyValues() local 206 if( nullptr == pPool ) in _getPropertyValues() 217 SfxItemPool* pPool = getModelPool( true ); in _getPropertyStates() local 219 if( pPool && pPool != mpDefaultsPool.get() ) in _getPropertyStates() 285 SfxItemPool* pPool = getModelPool( true ); in _setPropertyToDefault() local 290 if ( pPool && pPool != mpDefaultsPool.get() ) in _setPropertyToDefault() 293 pPool->ResetPoolDefaultItem( nWhich ); in _setPropertyToDefault() [all …]
|
/dports/graphics/opencv/.build/3rdparty/ippicv/ippicv_lnx/iw/src/ |
H A D | iw_own.c | 804 OWN_SAFE_RESET(pPool, sizeof(*pPool)); in ownBufferPool_Init() 842 if(!pPool) in ownBufferPool_Release() 878 ownVector_Resize(&pPool->poolVector, pPool->poolVector.m_size+1); in ownBufferPool_GetBuffer() 891 pPool->chunks++; in ownBufferPool_GetBuffer() 963 if(pPool) in ownGlobalBufferRelease() 1010 if(!pPool) in ownGlobalGetBufferPool() 1013 if(!pPool) in ownGlobalGetBufferPool() 1019 return pPool; in ownGlobalGetBufferPool() 1030 if(pPool) in ownSharedMalloc() 1045 if(pPool) in ownSharedFree() [all …]
|
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/ |
H A D | threads.cpp | 1189 if (!pPool->pApiThreadData) in CreateThreadPool() 1203 pPool->pThreadData = new (std::nothrow) THREAD_DATA[pPool->numThreads]; in CreateThreadPool() 1204 assert(pPool->pThreadData); in CreateThreadPool() 1205 memset(pPool->pThreadData, 0, sizeof(THREAD_DATA) * pPool->numThreads); in CreateThreadPool() 1206 pPool->numaMask = 0; in CreateThreadPool() 1243 pPool->pThreads = new (std::nothrow) THREAD_PTR[pPool->numThreads]; in CreateThreadPool() 1244 assert(pPool->pThreads); in CreateThreadPool() 1282 pPool->numaMask = 0; in CreateThreadPool() 1384 pPool->pThreads[workerId] = in StartThreadPool() 1416 delete[] pPool->pThreads; in DestroyThreadPool() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svl/qa/unit/items/ |
H A D | test_itempool.cxx | 43 rtl::Reference<SfxItemPool> pPool = new SfxItemPool("testpool", 1, 4, aItems); in testPool() local 44 SfxItemPool_Impl *pImpl = SfxItemPool_Impl::GetImpl(pPool.get()); in testPool() 54 const SfxPoolItem &rVal = pPool->Put(aItemOne); in testPool() 57 const SfxPoolItem &rVal2 = pPool->Put(aNotherOne); in testPool() 73 const SfxPoolItem &rVal = pPool->Put(aItemTwo); in testPool() 77 const SfxPoolItem &rVal2 = pPool->Put(aNotherTwo); in testPool() 85 const SfxPoolItem &rKeyFour = pPool->Put(aRemoveFour); in testPool() 86 pPool->Put(aNotherFour); in testPool() 89 pPool->Remove(rKeyFour); in testPool() 91 pPool->Put(aNotherFour); in testPool()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svl/qa/unit/items/ |
H A D | test_itempool.cxx | 43 SfxItemPool *pPool = new SfxItemPool("testpool", 1, 4, aItems); in testPool() local 44 SfxItemPool_Impl *pImpl = SfxItemPool_Impl::GetImpl(pPool); in testPool() 54 const SfxPoolItem &rVal = pPool->Put(aItemOne); in testPool() 57 const SfxPoolItem &rVal2 = pPool->Put(aNotherOne); in testPool() 73 const SfxPoolItem &rVal = pPool->Put(aItemTwo); in testPool() 77 const SfxPoolItem &rVal2 = pPool->Put(aNotherTwo); in testPool() 85 const SfxPoolItem &rKeyFour = pPool->Put(aRemoveFour); in testPool() 86 pPool->Put(aNotherFour); in testPool() 89 pPool->Remove(rKeyFour); in testPool() 91 pPool->Put(aNotherFour); in testPool()
|
H A D | stylepool.cxx | 31 SfxItemPool* pPool = new SfxItemPool("test", 1, 1, aItems); in CPPUNIT_TEST_FIXTURE() local 32 pPool->SetDefaults(&aDefaults); in CPPUNIT_TEST_FIXTURE() 35 SfxItemSet aParent1(*pPool, svl::Items<1, 1>{}); in CPPUNIT_TEST_FIXTURE() 36 SfxItemSet aChild1(*pPool, svl::Items<1, 1>{}); in CPPUNIT_TEST_FIXTURE() 41 SfxItemSet aParent3(*pPool, svl::Items<1, 1>{}); in CPPUNIT_TEST_FIXTURE() 42 SfxItemSet aChild3(*pPool, svl::Items<1, 1>{}); in CPPUNIT_TEST_FIXTURE() 47 SfxItemSet aParent2(*pPool, svl::Items<1, 1>{}); in CPPUNIT_TEST_FIXTURE() 48 SfxItemSet aChild2(*pPool, svl::Items<1, 1>{}); in CPPUNIT_TEST_FIXTURE() 79 SfxItemPool::Free(pPool); in CPPUNIT_TEST_FIXTURE()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/Shiny/ |
H A D | ShinyNodePool.c | 36 ShinyNodePool* pPool = (ShinyNodePool*) in ShinyNodePool_create() local 39 pPool->nextPool = NULL; in ShinyNodePool_create() 40 pPool->_nextItem = &pPool->_items[0]; in ShinyNodePool_create() 41 pPool->endOfItems = &pPool->_items[a_items]; in ShinyNodePool_create() 43 memset(&pPool->_items[0], 0, a_items * sizeof(ShinyNode)); in ShinyNodePool_create() 44 return pPool; in ShinyNodePool_create()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svl/source/items/ |
H A D | poolcach.cxx | 28 pPool(pItemPool), in SfxItemPoolCache() 38 pPool(pItemPool), in SfxItemPoolCache() 49 pPool->Remove( *rImpl.pPoolItem ); in ~SfxItemPoolCache() 50 pPool->Remove( *rImpl.pOrigItem ); in ~SfxItemPoolCache() 54 pPool->Remove( *pItemToPut ); in ~SfxItemPoolCache() 60 DBG_ASSERT( pPool == rOrigItem.GetItemSet().GetPool(), "invalid Pool" ); in ApplyTo() 73 pPool->Put( rOrigItem ); //FIXME: AddRef? in ApplyTo() 89 const SfxSetItem* pNewPoolItem = &pPool->Put( std::move(pNewItem) ); in ApplyTo() 93 pPool->Put( rOrigItem ); //FIXME: AddRef? in ApplyTo()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svl/source/items/ |
H A D | poolcach.cxx | 28 pPool(pItemPool), in SfxItemPoolCache() 38 pPool(pItemPool), in SfxItemPoolCache() 49 pPool->Remove( *rImpl.pPoolItem ); in ~SfxItemPoolCache() 50 pPool->Remove( *rImpl.pOrigItem ); in ~SfxItemPoolCache() 54 pPool->Remove( *pItemToPut ); in ~SfxItemPoolCache() 60 DBG_ASSERT( pPool == rOrigItem.GetItemSet().GetPool(), "invalid Pool" ); in ApplyTo() 73 pPool->Put( rOrigItem ); //FIXME: AddRef? in ApplyTo() 89 const SfxSetItem* pNewPoolItem = &pPool->Put( std::move(pNewItem) ); in ApplyTo() 93 pPool->Put( rOrigItem ); //FIXME: AddRef? in ApplyTo()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/forms/source/richtext/ |
H A D | richtextengine.cxx | 47 rtl::Reference<SfxItemPool> pPool = EditEngine::CreatePool(); in Create() local 48 pPool->FreezeIdRanges(); in Create() 50 RichTextEngine* pReturn = new RichTextEngine( pPool.get() ); in Create() 56 pPool->SetDefaultMetric(aDeviceMapMode.GetMapUnit()); in Create() 61 …pPool->SetPoolDefaultItem( SvxFontItem( aFont.GetFamilyType(), aFont.GetFamilyName(), OUString(), … in Create() 66 … pPool->SetPoolDefaultItem( SvxFontHeightItem( a12PointSize.Width(), 100, EE_CHAR_FONTHEIGHT ) ); in Create() 70 … pPool->SetPoolDefaultItem( SvxLanguageItem( aLinguOpt.nDefaultLanguage, EE_CHAR_LANGUAGE ) ); in Create() 71 …pPool->SetPoolDefaultItem( SvxLanguageItem( aLinguOpt.nDefaultLanguage_CJK, EE_CHAR_LANGUAGE_CJK )… in Create() 72 …pPool->SetPoolDefaultItem( SvxLanguageItem( aLinguOpt.nDefaultLanguage_CTL, EE_CHAR_LANGUAGE_CTL )… in Create()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/forms/source/richtext/ |
H A D | richtextengine.cxx | 48 SfxItemPool* pPool = EditEngine::CreatePool(); in Create() local 49 pPool->FreezeIdRanges(); in Create() 51 RichTextEngine* pReturn = new RichTextEngine( pPool ); in Create() 57 pPool->SetDefaultMetric(aDeviceMapMode.GetMapUnit()); in Create() 62 …pPool->SetPoolDefaultItem( SvxFontItem( aFont.GetFamilyType(), aFont.GetFamilyName(), OUString(), … in Create() 67 … pPool->SetPoolDefaultItem( SvxFontHeightItem( a12PointSize.Width(), 100, EE_CHAR_FONTHEIGHT ) ); in Create() 71 … pPool->SetPoolDefaultItem( SvxLanguageItem( aLinguOpt.nDefaultLanguage, EE_CHAR_LANGUAGE ) ); in Create() 72 …pPool->SetPoolDefaultItem( SvxLanguageItem( aLinguOpt.nDefaultLanguage_CJK, EE_CHAR_LANGUAGE_CJK )… in Create() 73 …pPool->SetPoolDefaultItem( SvxLanguageItem( aLinguOpt.nDefaultLanguage_CTL, EE_CHAR_LANGUAGE_CTL )… in Create()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/cui/source/tabpages/ |
H A D | TextColumnsPage.cxx | 36 SfxItemPool* pPool = rAttrs->GetPool(); in Reset() local 37 assert(pPool); in Reset() 42 pItem = &pPool->GetDefaultItem(SDRATTR_TEXTCOLUMNS_NUMBER); in Reset() 48 MapUnit eUnit = pPool->GetMetric(SDRATTR_TEXTCOLUMNS_SPACING); in Reset() 51 pItem = &pPool->GetDefaultItem(SDRATTR_TEXTCOLUMNS_SPACING); in Reset() 65 SfxItemPool* pPool = rAttrs->GetPool(); in FillItemSet() local 66 assert(pPool); in FillItemSet() 67 MapUnit eUnit = pPool->GetMetric(SDRATTR_TEXTCOLUMNS_SPACING); in FillItemSet()
|