Home
last modified time | relevance | path

Searched refs:allocator_type (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/libpandabase/mem/
Dpool_map.cpp23 …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()
Dmem_pool.h84 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…
Dpool_manager.cpp30 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()
Dmalloc_mem_pool.h27 …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,
Dpool_map.h76 …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()
Dmmap_mem_pool.h178 …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 *…
Dpool_manager.h33 static Arena *AllocArena(size_t size, SpaceType space_type, AllocatorType allocator_type,
Dmalloc_mem_pool-inl.h38 [[maybe_unused]] AllocatorType allocator_type, in AllocArenaImpl() argument
74 [[maybe_unused]] AllocatorType allocator_type, in AllocPoolImpl() argument
Dmmap_mem_pool-inl.h180 …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/
Dpool_map_test.cpp46 …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/
Dconcepts.h68 …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())>>