Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/items_pool/
Dtest_items_pool.cpp33 static uintptr_t GetData(const std::unique_ptr<Pool> &pool) in GetData()
38 static uintptr_t &GetCurrentPos(const std::unique_ptr<Pool> &pool) in GetCurrentPos()
43 static uintptr_t &GetFreeList(const std::unique_ptr<Pool> &pool) in GetFreeList()
64 static uintptr_t GetData(const T &pool) in GetData()
70 static uintptr_t &GetCurrentPos(const T &pool) in GetCurrentPos()
76 static uintptr_t &GetFreeList(const T &pool) in GetFreeList()
85 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() local
115 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() local
290 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() local
401 auto pool = ItemsPoolTest::CreatePool(); in TEST_F() 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/libpandabase/mem/
Dmmap_mem_pool-inl.h73 inline std::pair<size_t, OSPagesPolicy> MmapPoolMap::PushFreePool(Pool pool) in PushFreePool()
127 inline void MmapPoolMap::AddNewPool(Pool pool) in AddNewPool()
136 for (const auto &pool : freePools_) { in GetAllSize() local
146 for (auto pool = freePools_.rbegin(); pool != freePools_.rend(); pool++) { in HaveEnoughFreePools() local
198 Pool pool = std::get<0>(i.second); in ClearNonObjectMmapedPools() local
343 Pool pool = NULLPOOL; in AllocPoolUnsafe() local
446 Pool pool = AllocPoolUnsafe<OS_ALLOC_POLICY>(size, spaceType, allocatorType, allocatorAddr); in AllocPoolImpl() local
Dmem_pool.h40 explicit Pool(std::pair<size_t, void *> pool) : size_(pool.first), mem_(pool.second) {} in Pool()
Dmmap_mem_pool.h40 : pool_(pool), returnedToOs_(returnedToOs), freePoolsIter_(freePoolsIter) in pool_() argument
/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()
391 …ongousObjAllocator<AllocConfigT, LockConfigT>::MemoryPoolList::IsInThisList(MemoryPoolHeader *pool) in IsInThisList()
420 …usObjAllocator<AllocConfigT, LockConfigT>::ReservedMemoryPools::TryToInsert(MemoryPoolHeader *pool) in TryToInsert()
459 …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
205 auto pool = PoolManager::GetMmapMemPool()->AllocPool( in AllocViaPandaAllocators() local
227 auto pool = PoolManager::GetMmapMemPool()->AllocPool( in AllocViaPandaAllocators() local
Dhumongous_obj_allocator.h273 void Pop(MemoryPoolHeader *pool) in Pop()
Dpygote_space_allocator-inl.h109 …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/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/
Dmempool.cpp30 void MemPoolCtrler::FreeMemBlocks(const MemPool &pool, MemBlock *fixedMemHead, MemBlock *bigMemHead) in FreeMemBlocks()
95 MemBlock *MemPoolCtrler::AllocMemBlock(const MemPool &pool, size_t size) in AllocMemBlock()
104 MemBlock *MemPoolCtrler::AllocFixMemBlock(const MemPool &pool) in AllocFixMemBlock()
128 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/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dra_opt.h25 RaOpt(CGFunc &func, MemPool &pool) : cgFunc(&func), memPool(&pool) {} in RaOpt()
Dregsaves.h25 RegSavesOpt(CGFunc &func, MemPool &pool) : cgFunc(&func), memPool(&pool), alloc(&pool) {} in RegSavesOpt()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dbump_allocator_test.cpp87 auto pool = PoolManager::GetMmapMemPool()->AllocPool(BUFF_SIZE, SpaceType::SPACE_TYPE_INTERNAL, in DEATH_TEST_F() local
139 …auto pool = PoolManager::GetMmapMemPool()->AllocPool(TLAB_SIZE + COMMON_BUFFER_SIZE, SpaceType::SP… in TEST_F() local
246 …auto pool = PoolManager::GetMmapMemPool()->AllocPool(TLAB_SIZE * TLAB_COUNT, SpaceType::SPACE_TYPE… in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_ra_opt.h130 …VregRename(CGFunc *func, MemPool *pool) : cgFunc(func), memPool(pool), alloc(pool), renameInfo(all… in VregRename()
159 AArch64RaOpt(CGFunc &func, MemPool &pool) : RaOpt(func, pool) {} in AArch64RaOpt()
Daarch64_regsaves.h127 AArch64RegSavesOpt(CGFunc &func, MemPool &pool, DomAnalysis &dom, PostDomAnalysis &pdom) in AArch64RegSavesOpt()
/arkcompiler/ets_runtime/ecmascript/mem/
Dheap_region_allocator.cpp41 …auto pool = MemMapAllocator::GetInstance()->Allocate(thread->GetThreadId(), capacity, DEFAULT_REGI… in AllocateAlignedRegion() local
/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dallocator-inl.h41 …auto pool = heapSpace->TryAllocPool(poolSize, spaceType, AllocT::GetAllocatorType(), objectAllocat… in AddPoolsAndAlloc() local
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
Dpgo_record_pool.h266 void Merge(const PGOContext &context, PGOAbcFilePool &pool) in Merge()
276 void Copy(const std::shared_ptr<PGOAbcFilePool> &pool) in Copy()
Dpool_template.h109 … void Merge(const PoolTemplate &pool, const std::function<void(ApEntityId, ApEntityId)> &callback) in Merge()
/arkcompiler/runtime_core/static_core/verification/util/tests/
Dobj_pool_test.cpp46 Pool pool {h, [&result](S &s) { result -= s.a; }}; in TEST() local

12