Home
last modified time | relevance | path

Searched full:allocate (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/arkcompiler/ets_runtime/common_components/heap/ark_collector/tests/
Dpost_marking_barrier_test.cpp52 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
67 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
82 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
109 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
126 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
142 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
157 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
162 …HeapAddress newObjAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, tru… in HWTEST_F_L0()
177 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
190 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
[all …]
Denum_barrier_test.cpp52 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
67 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
82 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
97 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
105 … HeapAddress newAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
121 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
129 … HeapAddress newAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
167 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
173 …HeapAddress weakAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
179 …HeapAddress nonTaggedAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, … in HWTEST_F_L0()
[all …]
Dmarking_barrier_test.cpp52 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
66 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
80 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
94 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
96 HeapAddress src = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
99 HeapAddress dst = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
113 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
123 … HeapAddress newAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
142 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
152 … HeapAddress newAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
[all …]
Dremark_barrier_test.cpp52 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
66 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
80 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
106 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
123 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
139 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
154 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
156 HeapAddress src = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
159 HeapAddress dst = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
173 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
[all …]
Didle_barrier_test.cpp52 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
54 HeapAddress src = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
57 HeapAddress dst = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
71 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
79 … HeapAddress newAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
98 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
106 … HeapAddress newAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
125 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
133 … HeapAddress newAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
153 … HeapAddress oldAddr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
[all …]
Dpreforward_barrier_test.cpp52 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
67 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
82 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
99 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
113 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
127 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
154 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
171 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
187 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
202 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
[all …]
Dcopy_barrier_test.cpp52 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
67 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
82 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
99 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
113 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
127 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
154 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
171 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
187 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
202 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
[all …]
Dark_collector_test.cpp72 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
85 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::PINNED_OBJECT, true); in HWTEST_F_L0()
106 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
223 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
235 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
250 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
265 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
280 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
294 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
355 HeapAddress addr = HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, true); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/common_components/heap/
Dheap_allocator.cpp41 auto address = HeapManager::Allocate(size); in AllocateInYoungOrHuge()
48 auto address = HeapManager::Allocate(size, AllocType::PINNED_OBJECT); in AllocateInNonmoveOrHuge()
55 auto address = HeapManager::Allocate(size, AllocType::MOVEABLE_OLD_OBJECT); in AllocateInOldOrHuge()
62 auto address = HeapManager::Allocate(size); in AllocateInHuge()
69 auto address = HeapManager::Allocate(size, AllocType::READ_ONLY_OBJECT); in AllocateInReadOnly()
85 return HeapManager::Allocate(size, AllocType::MOVEABLE_OBJECT, false); in AllocateNoGC()
93 return HeapManager::Allocate(size, AllocType::MOVEABLE_OLD_OBJECT, false); in AllocateOldOrLargeNoGC()
98 return HeapManager::Allocate(size, AllocType::PINNED_OBJECT, false); in AllocatePinNoGC()
/arkcompiler/ets_runtime/ecmascript/mem/
Dtlab_allocator-inl.h47 uintptr_t TlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() function
74 uintptr_t result = youngAllocator_.Allocate(size); in AllocateInYoungSpace()
82 return youngAllocator_.Allocate(size); in AllocateInYoungSpace()
89 uintptr_t result = localSpace_->Allocate(size, true); in AllocateInCompressSpace()
98 // 1. Allocate from freelist in compress allocator in AllocateInOldSpace()
99 uintptr_t result = localSpace_->Allocate(size, false); in AllocateInOldSpace()
105 result = localSpace_->Allocate(size, true); in AllocateInOldSpace()
155 uintptr_t SharedTlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() function
173 uintptr_t result = sLocalSpace_->Allocate(size, true); in AllocateInCompressSpace()
Dsparse_space.cpp54 uintptr_t SparseSpace::Allocate(size_t size, bool allowGC) in Allocate() function in panda::ecmascript::SparseSpace
59 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in Allocate()
63 auto object = allocator_->Allocate(size); in Allocate()
73 object = allocator_->Allocate(size); in Allocate()
78 object = allocator_->Allocate(size); in Allocate()
84 object = Allocate(size, false); in Allocate()
108 auto object = allocator_->Allocate(size); in AllocateAfterSweepingCompleted()
115 return allocator_->Allocate(size); in AllocateAfterSweepingCompleted()
420 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in AllocateFast()
424 auto object = allocator_->Allocate(size); in AllocateFast()
[all …]
Dchunk.h41 [[nodiscard]] void *Allocate(size_t size) in Allocate() function
61 return static_cast<T *>(Allocate(size * sizeof(T))); in NewArray()
67 auto p = reinterpret_cast<void *>(Allocate(sizeof(T))); in New()
107 return chunk->Allocate(size); in new()
Dcaddress_allocator.h73 pointer allocate(size_type n, [[maybe_unused]] const void *ptr = nullptr)
76 return static_cast<T *>(Allocate(n * sizeof(T)));
102 [[nodiscard]] void *Allocate(size_t size) in Allocate() function
120 auto p = reinterpret_cast<void *>(Allocate(sizeof(S))); in New()
138 return static_cast<T *>(Allocate(size * sizeof(T))); in AllocArray()
Dallocator-inl.h61 uintptr_t BumpPointerAllocator::Allocate(size_t size) in Allocate() function
105 uintptr_t FreeListAllocator<T>::Allocate(size_t size) in Allocate() function
107 auto ret = bpAllocator_.Allocate(size); in Allocate()
112 T *object = freeList_->Allocate(size); in Allocate()
114 ret = Allocate(object, size); in Allocate()
121 uintptr_t FreeListAllocator<T>::Allocate(T *object, size_t size) in Allocate() function
138 auto ret = bpAllocator_.Allocate(size); in Allocate()
Dallocator.h50 inline uintptr_t Allocate(size_t size);
98 inline uintptr_t Allocate(size_t size);
136 inline uintptr_t Allocate(T *object, size_t size);
Dheap-inl.h57 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); …
66 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(thread, size)); …
75 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size, desc)); …
84 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); …
240 return reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateInYoungSpace()
353 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in TryAllocateYoungGeneration()
441 return reinterpret_cast<TaggedObject *>(readOnlySpace_->Allocate(size)); in AllocateReadOnlyOrHugeObject()
488 object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(size)); in AllocateClassClass()
491 LOG_ECMA_MEM(FATAL) << "Heap::AllocateClassClass can not allocate any space"; in AllocateClassClass()
506 // check why shareheap allocate in readonly in AllocateClassClass()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dallocator_test_base.h171 * @brief Allocate with one alignment
179 * Allocate all possible sizes from [MIN_ALLOC_SIZE, MAX_ALLOC_SIZE] with ALIGNMENT alignment
196 ASSERT_TRUE(mem != nullptr) << "Didn't allocate " << size << " bytes with " in OneAlignedAllocFreeTest()
213 * @brief Allocate with all alignment
220 …* Allocate all possible sizes from [MIN_ALLOC_SIZE, MAX_ALLOC_SIZE] with all possible alignment fr…
245 … << "Didn't allocate " << size << " bytes with " << align << " log alignment, seed: " << seed_;
265 * @brief Simple test for allocate and free
270 * Allocate elements with random values setting, check and free memory
284 ASSERT_TRUE(mem != nullptr) << "Didn't allocate " << allocSize << " bytes in " << i
303 * Allocate and use memory pools; free all elements from first, last
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_space.cpp57 uintptr_t SharedSparseSpace::Allocate(JSThread *thread, size_t size, bool allowGC) in Allocate() function in panda::ecmascript::SharedSparseSpace
61 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in Allocate()
65 …// Shared old space cannot use this allocate func. Shared full gc may happen in trigger and thread… in Allocate()
88 object = Allocate(thread, size, false); in Allocate()
111 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in AllocateNoGCAndExpand()
126 uintptr_t object = allocator_->Allocate(size); in TryAllocate()
134 // In order to avoid expand twice by different threads, try allocate first. in AllocateWithExpand()
136 auto object = allocator_->Allocate(size); in AllocateWithExpand()
138 object = allocator_->Allocate(size); in AllocateWithExpand()
184 object = allocator_->Allocate(size); in AllocateAfterSweepingCompleted()
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/
Dheap_space.cpp99 // If saved pool size was very big and such pool can not be allocate after GC in ComputeNewSize()
100 // then we increase space to allocate this pool in ComputeNewSize()
120 // If can allocate pool (from free pool map or non-used memory) then just do it in WillAlloc()
125 …// If we allocate pool during GC work then we must allocate new pool anyway, so we will try to inc… in WillAlloc()
128 // allocate such pool, so we need to trigger GC in WillAlloc()
132 // In this case we need increase space for allocate new pool in WillAlloc()
157 // Increase heap space if needed and allocate pool in TryAllocPoolBase()
183 // Increase heap space if needed and allocate arena in TryAllocArenaBase()
284 // If saved pool size was very big and such pool can not be allocate in young after GC in ComputeNewYoung()
285 // then we increase young space to allocate this pool in ComputeNewYoung()
[all …]
Dframe_allocator-inl.h67 LOG_FRAME_ALLOCATOR(DEBUG) << "Try to allocate a new arena with size " << arenaSize; in TryAllocateNewArena()
78 …LOG_FRAME_ALLOCATOR(DEBUG) << "Successfully allocate new arena with addr " << std::hex << newArena; in TryAllocateNewArena()
90 …LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate " << size << " bytes for a new frame in current aren… in Alloc()
92 LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate a new arena, return nullptr"; in Alloc()
97 …LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate memory in a totally free arena, change default arena… in Alloc()
141 // Try to allocate memory in the current arena: in TryToAllocate()
147 // We don't have enough memory in current arena, try to allocate in the next one: in TryToAllocate()
160 …LOG_FRAME_ALLOCATOR(DEBUG) << "Couldn't allocate " << size << " bytes of memory in the totally fre… in TryToAllocate()
Dframe_allocator.h29 // Allocate arenas for frames Frames free Return arenas Second a…
89 * @brief Try to allocate an arena from the memory.
95 … * @brief Try to allocate memory for a frame in the current arena or in the next one if it exists.
105 * @brief Try to allocate an arena from the memory.
/arkcompiler/ets_runtime/common_components/heap/collector/tests/
Dfinalizer_processor_test.cpp51 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0()
62 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0()
77 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0()
110 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0()
124 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
Ddevirt.cpp44 auto allocate = llvm::dyn_cast<llvm::CallInst>(thisArg); in GetObjectClassId() local
46 if (allocate == nullptr || allocate->arg_size() == 0) { in GetObjectClassId()
49 auto loadAndInit = llvm::dyn_cast<llvm::CallInst>(allocate->getArgOperand(0)); in GetObjectClassId()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DGC.ets183 * Allocate array of boolean and pin (GC will not move pinned array)
198 * Allocate array of byte and pin (GC will not move pinned array)
213 * Allocate array of char and pin (GC will not move pinned array)
228 * Allocate array of short and pin (GC will not move pinned array)
243 * Allocate array of int and pin (GC will not move pinned array)
258 * Allocate array of long and pin (GC will not move pinned array)
273 * Allocate array of float and pin (GC will not move pinned array)
288 * Allocate array of double and pin (GC will not move pinned array)
/arkcompiler/ets_runtime/common_components/common/
Dpage_allocator.h73 inline void* Allocate() in Allocate() function
126 void* Allocate() in Allocate() function
142 result = nonFull_->Allocate(); in Allocate()
284 // choose appropriate allocation to allocate
285 void* Allocate(size_t size) in Allocate() function
290 return allocator_[index].Allocate(); in Allocate()
352 pointer allocate(size_type n, const void* hint __attribute__((unused)) = 0)
354 … pointer result = static_cast<pointer>(AggregateAllocator::Instance(Cat).Allocate(sizeof(T) * n));

12345678910>>...12