| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/items_pool/ |
| D | test_items_pool.cpp | 34 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/ |
| D | obj_pool_test.cpp | 39 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/ |
| D | pool_map_test.cpp | 50 …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/ |
| D | mmap_mem_pool-inl.h | 58 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
|
| D | mem_pool.h | 30 explicit Pool(std::pair<size_t, void *> pool) : size_(pool.first), mem_(pool.second) {} in Pool()
|
| D | mmap_mem_pool.h | 38 …explicit MmapPool(Pool pool, FreePoolsIter free_pools_iter) : pool_(pool), free_pools_iter_(free_p… in MmapPool()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | humongous_obj_allocator-inl.h | 349 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()
|
| D | internal_allocator.cpp | 154 … 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
|
| D | humongous_obj_allocator.h | 273 void Pop(MemoryPoolHeader *pool) in Pop()
|
| D | pygote_space_allocator-inl.h | 110 …auto pool = heapSpace_->TryAllocPool(RunSlotsAllocator<AllocConfigT>::GetMinPoolSize(), spaceType_, in Alloc() local
|
| D | bump-allocator-inl.h | 30 BumpPointerAllocator<AllocConfigT, LockConfigT, USE_TLABS>::BumpPointerAllocator(Pool pool, SpaceTy… in BumpPointerAllocator()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | mmap_mem_pool-inl.h | 79 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
|
| D | mmap_mem_pool.h | 42 : pool_(pool), returnedToOs_(returnedToOs), freePoolsIter_(freePoolsIter) in pool_() argument 104 explicit UnreturnedToOSPool(MmapPool *pool) : pool_(pool) in UnreturnedToOSPool()
|
| D | mem_pool.h | 40 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/ |
| D | mempool.cpp | 23 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/ |
| D | pool_map_test.cpp | 46 …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/ |
| D | taskpool_test.cpp | 80 TaskpoolTest::ScopedTaskpool pool(2); in HWTEST_F_L0() local 86 TaskpoolTest::ScopedTaskpool pool(2); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | jit_fort_test.cpp | 73 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/ |
| D | bump_allocator_test.cpp | 117 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/ |
| D | free_object_set.h | 39 explicit FreeObjectSet(SetType type, MemDescPool *pool) : setType_(type), memDescPool_(pool) in FreeObjectSet()
|
| D | heap_region_allocator.cpp | 51 auto pool = MemMapAllocator::GetInstance()->Allocate(tid, capacity, DEFAULT_REGION_SIZE, in AllocateAlignedRegion() local
|
| D | jit_fort.h | 140 … RegionSpaceFlag spaceType, MemDescPool *pool) : Region(allocator, allocateBase, end, spaceType), in JitFortRegion()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
| D | pgo_record_pool.h | 296 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/ |
| D | allocator-inl.h | 42 …auto pool = heapSpace->TryAllocPool(poolSize, spaceType, AllocT::GetAllocatorType(), objectAllocat… in AddPoolsAndAlloc() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
| D | interop_stacks.h | 27 … void *pool = ark::os::mem::MapRWAnonymousWithAlignmentRaw(POOL_SIZE, ark::os::mem::GetPageSize()); in InteropCallStack() local
|