| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | pool_map.cpp | 23 …lToMap(const void *pool_addr, size_t pool_size, SpaceType space_type, AllocatorType allocator_type, in AddPoolToMap() argument 31 …pool_map_[first_map_num].Initialize(FIRST_BYTE_IN_SEGMENT_VALUE, space_type, allocator_type, alloc… in AddPoolToMap() 33 … pool_map_[i].Initialize(!FIRST_BYTE_IN_SEGMENT_VALUE, space_type, allocator_type, allocator_addr); in AddPoolToMap() 51 AllocatorType allocator_type = pool_map_[map_num].GetAllocatorType(); in GetAllocatorInfo() local 54 ASSERT(allocator_type != AllocatorType::UNDEFINED); in GetAllocatorInfo() 56 return AllocatorInfo(allocator_type, allocator_addr); in GetAllocatorInfo()
|
| D | mem_pool.h | 84 inline ArenaT *AllocArena(size_t size, SpaceType space_type, AllocatorType allocator_type, 87 …tatic_cast<MemPoolImplT *>(this)->template AllocArenaImpl<ArenaT>(size, space_type, allocator_type, 111 Pool AllocPool(size_t size, SpaceType space_type, AllocatorType allocator_type, 114 …return static_cast<MemPoolImplT *>(this)->AllocPoolImpl(size, space_type, allocator_type, allocato…
|
| D | pool_manager.cpp | 30 Arena *PoolManager::AllocArena(size_t size, SpaceType space_type, AllocatorType allocator_type, in AllocArena() argument 34 return mmap_mem_pool->AllocArenaImpl(size, space_type, allocator_type, allocator_addr); in AllocArena() 36 return malloc_mem_pool->AllocArenaImpl(size, space_type, allocator_type, allocator_addr); in AllocArena()
|
| D | malloc_mem_pool.h | 27 …ArenaT *AllocArenaImpl(size_t size, SpaceType space_type, AllocatorType allocator_type, const void… 32 static Pool AllocPoolImpl(size_t size, SpaceType space_type, AllocatorType allocator_type,
|
| D | pool_map.h | 76 …lToMap(const void *pool_addr, size_t pool_size, SpaceType space_type, AllocatorType allocator_type, 97 … void Initialize(bool first_byte_in_segment, SpaceType space_type, AllocatorType allocator_type, in Initialize() argument 111 allocator_type_ = allocator_type; in Initialize()
|
| D | mmap_mem_pool.h | 178 …ArenaT *AllocArenaImpl(size_t size, SpaceType space_type, AllocatorType allocator_type, const void… 189 …Pool AllocPoolImpl(size_t size, SpaceType space_type, AllocatorType allocator_type, const void *al… 196 …Pool AllocPoolUnsafe(size_t size, SpaceType space_type, AllocatorType allocator_type, const void *…
|
| D | pool_manager.h | 33 static Arena *AllocArena(size_t size, SpaceType space_type, AllocatorType allocator_type,
|
| D | malloc_mem_pool-inl.h | 38 [[maybe_unused]] AllocatorType allocator_type, in AllocArenaImpl() argument 74 [[maybe_unused]] AllocatorType allocator_type, in AllocPoolImpl() argument
|
| D | mmap_mem_pool-inl.h | 180 …renaT *MmapMemPool::AllocArenaImpl(size_t size, SpaceType space_type, AllocatorType allocator_type, in AllocArenaImpl() argument 186 Pool pool_for_arena = AllocPoolUnsafe(size, space_type, allocator_type, allocator_addr); in AllocArenaImpl() 312 … Pool MmapMemPool::AllocPoolUnsafe(size_t size, SpaceType space_type, AllocatorType allocator_type, in AllocPoolUnsafe() argument 356 allocator_type, allocator_addr); in AllocPoolUnsafe() 358 …AddToNonObjectPoolsMap(std::make_tuple(pool, AllocatorInfo(allocator_type, allocator_addr), space_… in AllocPoolUnsafe() 404 …ne Pool MmapMemPool::AllocPoolImpl(size_t size, SpaceType space_type, AllocatorType allocator_type, in AllocPoolImpl() argument 410 Pool pool = AllocPoolUnsafe(size, space_type, allocator_type, allocator_addr); in AllocPoolImpl()
|
| /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() argument 52 … pool_map_.AddPoolToMap(pool.GetMem(), pool.GetSize(), space_type, allocator_type, allocator_addr); in AddToPoolMap() 93 …void CheckRandomPoolAddress(Pool pool, SpaceType space_type, AllocatorType allocator_type, uintptr… in CheckRandomPoolAddress() argument 97 ASSERT_EQ(GetAllocatorInfoForAddr(pool_addr).GetType(), allocator_type); in CheckRandomPoolAddress()
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | concepts.h | 68 …V, std::void_t<typename V::value_type, typename V::allocator_type, decltype(std::declval<V>().size… 82 S, std::void_t<typename S::value_type, typename S::allocator_type, typename S::traits_type, 98 … typename HM::key_equal, typename HM::allocator_type, decltype(std::declval<HM>().size())>>
|