Home
last modified time | relevance | path

Searched defs:align (Results 1 – 22 of 22) sorted by relevance

/ark/runtime_core/runtime/include/mem/
Dallocator-inl.h23 inline void *ObjectAllocatorBase::AllocateSafe(size_t size, Alignment align, AllocT *object_allocat… in AllocateSafe()
34 inline void *ObjectAllocatorBase::AddPoolsAndAlloc(size_t size, Alignment align, AllocT *object_all… in AddPoolsAndAlloc()
Dallocator.h260 …tual void *AllocateInLargeAllocator([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateInLargeAllocator()
434 …[[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThread *… in Allocate()
439 …[[nodiscard]] void *AllocateLocal(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThr… in AllocateLocal()
444 …odiscard]] void *AllocateNonMovable([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateNonMovable()
/ark/runtime_core/runtime/mem/gc/hybrid-gc/
Dhybrid_object_allocator.cpp33 void *HybridObjectAllocator::Allocate(size_t size, Alignment align, [[maybe_unused]] panda::Managed… in Allocate()
39 void *HybridObjectAllocator::AllocateInLargeAllocator(size_t size, Alignment align, BaseClass *base… in AllocateInLargeAllocator()
Dhybrid_object_allocator.h39 …odiscard]] void *AllocateNonMovable([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateNonMovable()
/ark/runtime_core/runtime/mem/gc/g1/
Dg1-allocator.cpp122 void *ObjectAllocatorG1<MTMode>::Allocate(size_t size, Alignment align, [[maybe_unused]] panda::Man… in Allocate()
135 void *ObjectAllocatorG1<MTMode>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable()
160 Alignment align = DEFAULT_ALIGNMENT; in AllocateTenured() local
Dg1-allocator.h111 … [[nodiscard]] void *AllocateLocal([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateLocal()
/ark/runtime_core/runtime/mem/
Dinternal_allocator.cpp65 [[nodiscard]] void *InternalAllocator<Config>::Alloc(size_t size, Alignment align) in Alloc()
138 void *AllocInRunSlots(AllocatorT *runslots_allocator, size_t size, Alignment align, size_t pool_siz… in AllocInRunSlots()
165 void *InternalAllocator<Config>::AllocViaPandaAllocators(size_t size, Alignment align) in AllocViaPandaAllocators()
Dallocator.cpp71 void *ObjectAllocatorNoGen<MTMode>::Allocate(size_t size, Alignment align, in Allocate()
91 void *ObjectAllocatorNoGen<MTMode>::AllocateNonMovable(size_t size, Alignment align, panda::Managed… in AllocateNonMovable()
209 void *ObjectAllocatorGen<MTMode>::Allocate(size_t size, Alignment align, [[maybe_unused]] panda::Ma… in Allocate()
223 void *ObjectAllocatorGen<MTMode>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable()
253 Alignment align = DEFAULT_ALIGNMENT; in AllocateTenured() local
Dheap_manager.cpp98 ObjectHeader *HeapManager::AllocateObject(BaseClass *cls, size_t size, Alignment align, MTManagedTh… in AllocateObject()
129 void *HeapManager::TryGCAndAlloc(size_t size, Alignment align, panda::MTManagedThread *thread) in TryGCAndAlloc()
163 void *HeapManager::AllocateMemoryForObject(size_t size, Alignment align, ManagedThread *thread) in AllocateMemoryForObject()
192 ObjectHeader *HeapManager::AllocateNonMovableObject(BaseClass *cls, size_t size, Alignment align, M… in AllocateNonMovableObject()
Dmalloc-proxy-allocator-inl.h39 void *MallocProxyAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
Dregion_allocator-inl.h117 void *RegionAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc()
349 …onmovableAllocator<AllocConfigT, LockConfigT, ObjectAllocator>::Alloc(size_t size, Alignment align) in Alloc()
370Alignment align) in NewRegionAndRetryAlloc()
Dpygote_space_allocator.h66 bool CanAllocNonMovable(size_t size, Alignment align) in CanAllocNonMovable()
Dregion_space-inl.h58 void *Region::Alloc(size_t size, Alignment align) in Alloc()
Dhumongous_obj_allocator-inl.h45 … *HumongousObjAllocator<AllocConfigT, LockConfigT>::Alloc(const size_t size, const Alignment align) in Alloc()
319 size_t size, Alignment align) in Alloc()
Dfreelist_allocator-inl.h47 void *FreeListAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc()
554Alignment align) in GetFromSegregatedList()
Dpygote_space_allocator-inl.h90 inline void *PygoteSpaceAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
Drunslots_allocator-inl.h48 inline void *RunSlotsAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc()
/ark/runtime_core/libpandabase/tests/
Darena_allocator_test.cpp78 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in AllocateWithAlignment() local
121 …size_t align = MIN_LOG_ALIGN_SIZE_T + random_value % (MAX_LOG_ALIGN_SIZE_T - MIN_LOG_ALIGN_SIZE_T); in AllocateWithDiffAlignment() local
444 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in TEST_F() local
461 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in TEST_F() local
/ark/runtime_core/runtime/tests/
Dtlab_test.cpp90 Alignment align = DEFAULT_ALIGNMENT; in TEST_F() local
Dbump_allocator_test.cpp81 Alignment align = DEFAULT_ALIGNMENT; in TEST_F() local
Dallocator_test_base.h535 for (size_t align = LOG_ALIGN_MIN_VALUE; align <= LOG_ALIGN_MAX_VALUE; ++align, ++k) { in AlignedAllocFreeTest() local
547 for (size_t align = LOG_ALIGN_MIN_VALUE; align <= LOG_ALIGN_MAX_VALUE; ++align, ++k) { in AlignedAllocFreeTest() local
830 size_t align = RandFromRange(LOG_ALIGN_MIN_VALUE, LOG_ALIGN_MAX_VALUE); in ObjectIteratingSetUp() local
/ark/runtime_core/libpandabase/mem/
Darena_allocator.cpp91 void *ArenaAllocatorT<use_oom_handler>::Alloc(size_t size, Alignment align) in Alloc()