Home
last modified time | relevance | path

Searched defs:pool (Results 1 – 25 of 38) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/items_pool/
Dtest_items_pool.cpp34 static PaddedItem *GetData(const std::unique_ptr<Pool> &pool) in GetData()
39 static PaddedItem *&GetCurrentPos(const std::unique_ptr<Pool> &pool) in GetCurrentPos()
44 static PaddedItem *&GetFreeList(const std::unique_ptr<Pool> &pool) in GetFreeList()
63 static ItemsPoolTest::PaddedItem *GetData(const T &pool) in GetData()
69 static ItemsPoolTest::PaddedItem *&GetCurrentPos(const T &pool) in GetCurrentPos()
75 static ItemsPoolTest::PaddedItem *&GetFreeList(const T &pool) in GetFreeList()
84 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() local
119 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() local
281 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() local
385 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() local
/arkcompiler/runtime_core/static_core/verification/util/tests/
Dobj_pool_test.cpp39 static void VerifierTestObjPool1(Pool<I, C> &pool, int &result) in VerifierTestObjPool1()
93 static void VerifierTestObjPool2(Pool<I, C> &pool, int &result) in VerifierTestObjPool2()
117 static void VerifierTestObjPool3(Pool<I, C> &pool, int &result) in VerifierTestObjPool3()
178 Pool pool {h, [&result](S &s) { result -= s.a; }}; in TEST() local
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dpool_map_test.cpp50 …void AddToPoolMap(Pool pool, SpaceType spaceType, AllocatorType allocatorType, void *allocatorAddr… in AddToPoolMap()
59 void RemovePoolFromMap(Pool pool) in RemovePoolFromMap()
100 …void CheckRandomPoolAddress(Pool pool, SpaceType spaceType, AllocatorType allocatorType, uintptr_t… in CheckRandomPoolAddress()
184 Pool pool(poolSize, ToVoidPtr(POOL_START_ADDR)); in TEST_F() local
/arkcompiler/runtime_core/libpandabase/mem/
Dmmap_mem_pool-inl.h58 inline void MmapPoolMap::PushFreePool(Pool pool) in PushFreePool()
91 inline void MmapPoolMap::AddNewPool(Pool pool) in AddNewPool()
100 for (const auto &pool : free_pools_) { in GetAllSize() local
109 for (auto pool = free_pools_.rbegin(); pool != free_pools_.rend(); pool++) { in HaveEnoughFreePools() local
154 Pool pool = std::get<0>(i.second); in ~MmapMemPool() local
317 Pool pool = NULLPOOL; in AllocPoolUnsafe() local
410 Pool pool = AllocPoolUnsafe(size, space_type, allocator_type, allocator_addr); in AllocPoolImpl() local
Dmem_pool.h30 explicit Pool(std::pair<size_t, void *> pool) : size_(pool.first), mem_(pool.second) {} in Pool()
Dmmap_mem_pool.h38 …explicit MmapPool(Pool pool, FreePoolsIter free_pools_iter) : pool_(pool), free_pools_iter_(free_p… in MmapPool()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dhumongous_obj_allocator-inl.h349 void HumongousObjAllocator<AllocConfigT, LockConfigT>::MemoryPoolList::Pop(MemoryPoolHeader *pool) in Pop()
361 …id HumongousObjAllocator<AllocConfigT, LockConfigT>::MemoryPoolList::Insert(MemoryPoolHeader *pool) in Insert()
392 …ongousObjAllocator<AllocConfigT, LockConfigT>::MemoryPoolList::IsInThisList(MemoryPoolHeader *pool) in IsInThisList()
422 …usObjAllocator<AllocConfigT, LockConfigT>::ReservedMemoryPools::TryToInsert(MemoryPoolHeader *pool) in TryToInsert()
461 …sObjAllocator<AllocConfigT, LockConfigT>::ReservedMemoryPools::SortedInsert(MemoryPoolHeader *pool) in SortedInsert()
Dinternal_allocator.cpp154 … auto pool = PoolManager::GetMmapMemPool()->AllocPool(poolSize, SpaceType::SPACE_TYPE_INTERNAL, in AllocInRunSlots() local
202 … auto pool = PoolManager::GetMmapMemPool()->AllocPool(poolSize, SpaceType::SPACE_TYPE_INTERNAL, in AllocViaFreeListAllocator() local
230 … auto pool = PoolManager::GetMmapMemPool()->AllocPool(poolSize, SpaceType::SPACE_TYPE_INTERNAL, in AllocViaHumongousAllocator() local
Dhumongous_obj_allocator.h273 void Pop(MemoryPoolHeader *pool) in Pop()
Dpygote_space_allocator-inl.h110 …auto pool = heapSpace_->TryAllocPool(RunSlotsAllocator<AllocConfigT>::GetMinPoolSize(), spaceType_, in Alloc() local
Dbump-allocator-inl.h30 BumpPointerAllocator<AllocConfigT, LockConfigT, USE_TLABS>::BumpPointerAllocator(Pool pool, SpaceTy… in BumpPointerAllocator()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dmmap_mem_pool-inl.h79 inline std::pair<size_t, OSPagesPolicy> MmapPoolMap::PushFreePool(Pool pool) in PushFreePool()
135 inline void MmapPoolMap::AddNewPool(Pool pool) in AddNewPool()
144 for (const auto &pool : freePools_) { in GetAllSize() local
155 for (auto pool = freePools_.rbegin(); pool != freePools_.rend(); pool++) { in HaveEnoughFreePools() local
220 auto pool = unreturnedPool_.GetAndClearUnreturnedPool(poolSize); in ReleasePagesInUnreturnedPool() local
248 Pool pool = std::get<0>(i.second); in ClearNonObjectMmapedPools() local
398 Pool pool = NULLPOOL; in AllocPoolUnsafe() local
502 Pool pool = AllocPoolUnsafe<OS_ALLOC_POLICY>(size, spaceType, allocatorType, allocatorAddr); in AllocPoolImpl() local
Dmmap_mem_pool.h42 : pool_(pool), returnedToOs_(returnedToOs), freePoolsIter_(freePoolsIter) in pool_() argument
104 explicit UnreturnedToOSPool(MmapPool *pool) : pool_(pool) in UnreturnedToOSPool()
Dmem_pool.h40 explicit Pool(std::pair<size_t, void *> pool) : size_(pool.first), mem_(pool.second) {} in Pool()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/
Dmempool.cpp23 void MemPoolCtrler::FreeMemBlocks(const MemPool &pool, MemBlock *fixedMemHead, MemBlock *bigMemHead) in FreeMemBlocks()
91 MemBlock *MemPoolCtrler::AllocMemBlock(const MemPool &pool, size_t size) in AllocMemBlock()
100 MemBlock *MemPoolCtrler::AllocFixMemBlock(const MemPool &pool) in AllocFixMemBlock()
123 MemBlock *MemPoolCtrler::AllocBigMemBlock(const MemPool &pool, size_t size) const in AllocBigMemBlock() argument
/arkcompiler/runtime_core/libpandabase/tests/
Dpool_map_test.cpp46 …void AddToPoolMap(Pool pool, SpaceType space_type, AllocatorType allocator_type, void *allocator_a… in AddToPoolMap()
55 void RemovePoolFromMap(Pool pool) in RemovePoolFromMap()
93 …void CheckRandomPoolAddress(Pool pool, SpaceType space_type, AllocatorType allocator_type, uintptr… in CheckRandomPoolAddress()
/arkcompiler/ets_runtime/common_components/taskpool/tests/
Dtaskpool_test.cpp80 TaskpoolTest::ScopedTaskpool pool(2); in HWTEST_F_L0() local
86 TaskpoolTest::ScopedTaskpool pool(2); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djit_fort_test.cpp73 MemDescPool *pool = new MemDescPool(1, 1); in HWTEST_F_L0() local
80 MemDescPool *pool = new MemDescPool(1, 1); in HWTEST_F_L0() local
/arkcompiler/runtime_core/static_core/runtime/tests/
Dbump_allocator_test.cpp117 auto pool = PoolManager::GetMmapMemPool()->AllocPool(BUFF_SIZE, SpaceType::SPACE_TYPE_INTERNAL, in DEATH_TEST_F() local
166 …auto pool = PoolManager::GetMmapMemPool()->AllocPool(TLAB_SIZE + COMMON_BUFFER_SIZE, SpaceType::SP… in TEST_F() local
201 …auto pool = PoolManager::GetMmapMemPool()->AllocPool(TLAB_SIZE * TLAB_COUNT, SpaceType::SPACE_TYPE… in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/mem/
Dfree_object_set.h39 explicit FreeObjectSet(SetType type, MemDescPool *pool) : setType_(type), memDescPool_(pool) in FreeObjectSet()
Dheap_region_allocator.cpp51 auto pool = MemMapAllocator::GetInstance()->Allocate(tid, capacity, DEFAULT_REGION_SIZE, in AllocateAlignedRegion() local
Djit_fort.h140 … RegionSpaceFlag spaceType, MemDescPool *pool) : Region(allocator, allocateBase, end, spaceType), in JitFortRegion()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
Dpgo_record_pool.h296 void Merge(const PGOContext &context, PGOAbcFilePool &pool) in Merge()
306 void Copy(const std::shared_ptr<PGOAbcFilePool> &pool) in Copy()
315 void CopySafe(const std::shared_ptr<PGOAbcFilePool>& pool) in CopySafe()
/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dallocator-inl.h42 …auto pool = heapSpace->TryAllocPool(poolSize, spaceType, AllocT::GetAllocatorType(), objectAllocat… in AddPoolsAndAlloc() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dinterop_stacks.h27 … void *pool = ark::os::mem::MapRWAnonymousWithAlignmentRaw(POOL_SIZE, ark::os::mem::GetPageSize()); in InteropCallStack() local

12