Home
last modified time | relevance | path

Searched refs:AllocArray (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/tests/
Dg1gc_test.cpp167 … VMHandle<ObjectHeader> young(thread, ObjectAllocator::AllocArray(0, ClassRoot::ARRAY_U8, false)); in TEST_F()
169 …VMHandle<ObjectHeader> nonmovable(thread, ObjectAllocator::AllocArray(0, ClassRoot::ARRAY_U8, true… in TEST_F()
171 …VMHandle<ObjectHeader> humongous(thread, ObjectAllocator::AllocArray(humongousLen, ClassRoot::ARRA… in TEST_F()
202 …ObjectAllocator::AllocArray(GetHumongousArrayLength(ClassRoot::ARRAY_U8), ClassRoot::ARRAY_U8, fal… in TEST_F()
255 … ObjectAllocator::AllocArray(arrayLength, ClassRoot::ARRAY_STRING, false)); in TEST_F()
291 …VMHandle<coretypes::Array>(thread, ObjectAllocator::AllocArray(GetHumongousArrayLength(ClassRoot::… in TEST_F()
293 …nonmovable = VMHandle<coretypes::Array>(thread, ObjectAllocator::AllocArray(1, ClassRoot::ARRAY_ST… in TEST_F()
420 ObjectHeader *dummy = ObjectAllocator::AllocArray(nonmovableLen, ClassRoot::ARRAY_U8, true); in GCPhaseStarted()
424 …VMHandle<ObjectHeader>(thread, ObjectAllocator::AllocArray(nonmovableLen, ClassRoot::ARRAY_U8, tru… in GCPhaseStarted()
432 …VMHandle<ObjectHeader>(thread, ObjectAllocator::AllocArray(humongousLen, ClassRoot::ARRAY_U8, fals… in GCPhaseStarted()
[all …]
Depsilon_gcs_test.cpp84 …objVector.emplace_back(ObjectAllocator::AllocArray(GetAllocator<T>()->GetRegularObjectMaxSize() * … in AllocObjectsForTest()
87 …ObjectAllocator::AllocArray(GetAllocator<T>()->GetLargeObjectMaxSize(), ClassRoot::ARRAY_U8, false… in AllocObjectsForTest()
88 …objVector.emplace_back(ObjectAllocator::AllocArray(GetAllocator<T>()->GetRegularObjectMaxSize() * … in AllocObjectsForTest()
144 thread, ObjectAllocator::AllocArray(NUM_OF_ELEMS_CHECKED, ClassRoot::ARRAY_STRING, true)); in TEST_F()
261 …nonmovable = VMHandle<coretypes::Array>(thread, ObjectAllocator::AllocArray(2U, ClassRoot::ARRAY_S… in TEST_F()
Dgc_log_test.cpp186 …VMHandle<coretypes::Array>(thread, objectAllocator.AllocArray(2U, ClassRoot::ARRAY_STRING, false)); in TEST_F()
224 …holder = VMHandle<coretypes::Array>(thread, objectAllocator.AllocArray(4U, ClassRoot::ARRAY_STRING… in TEST_F()
241 …current = VMHandle<ObjectHeader>(thread, objectAllocator.AllocArray(smallLen, ClassRoot::ARRAY_U8,… in TEST_F()
Dtest_utils.h55 static coretypes::Array *AllocArray(size_t length, ClassRoot classRoot, bool nonmovable) in AllocArray() function
Dgc_trigger_test.cpp185 … thread, panda::mem::ObjectAllocator::AllocArray(ARRAY_LENGTH, ClassRoot::ARRAY_STRING, false)); in TEST()
Dinternal_allocator_test.cpp165 auto *p = allocator_->AllocArray<S>(1); in TEST_F()
Dexplicit_gc_test.cpp97 …holder = VMHandle<coretypes::Array>(thread, allocator.AllocArray(2U, ClassRoot::ARRAY_STRING, fals… in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dmalloc-proxy-allocator.h50 T *AllocArray(size_t size) in AllocArray() function
Drunslots_allocator.h82 [[nodiscard]] T *AllocArray(size_t arrLength);
442 T *RunSlotsAllocator<AllocConfigT, LockConfigT>::AllocArray(size_t arrLength) in AllocArray() function
Dinternal_allocator.h78 [[nodiscard]] T *AllocArray(size_t size);
Dinternal_allocator-inl.h31 T *InternalAllocator<CONFIG>::AllocArray(size_t size) in AllocArray() function
Dallocator_adapter.h114 return allocator_->AllocArray<T>(size);
Drunslots_allocator_stl_adapter.h140 return allocator_->template AllocArray<T>(n);
Dhumongous_obj_allocator.h74 [[nodiscard]] T *AllocArray(size_t arrLength);
Dregion_allocator.h183 T *AllocArray(size_t arrLength) in AllocArray() function
613 T *AllocArray(size_t arrLength) in AllocArray() function
Dfreelist_allocator.h99 [[nodiscard]] T *AllocArray(size_t arrLength);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_itable_builder.cpp63 array = allocator->AllocArray<ITable::Entry>(interfaces.size()); in Build()
113 methodsAlloc = allocator->AllocArray<Method *>(methods.size()); in Build()
/arkcompiler/runtime_core/libpandabase/mem/
Darena_allocator.h107 [[nodiscard]] T *AllocArray(size_t arr_length);
238 T *ArenaAllocatorT<use_oom_handler>::AllocArray(size_t arr_length) in AllocArray() function
Darena_allocator_stl_adapter.h123 return allocator_->template AllocArray<T>(n);
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Darena_allocator.h105 [[nodiscard]] T *AllocArray(size_t arrLength);
236 T *ArenaAllocatorT<USE_OOM_HANDLER>::AllocArray(size_t arrLength) in AllocArray() function
Darena_allocator_stl_adapter.h127 return allocator_->template AllocArray<T>(n);
/arkcompiler/runtime_core/static_core/runtime/include/
Ditable.h55 … entry.methods_ = {allocator->AllocArray<Method *>(methods_.size()), methods_.size()}; in Copy()
/arkcompiler/ets_runtime/ecmascript/mem/
Dchunk_allocator.h121 [[nodiscard]] T *AllocArray(size_t size) in AllocArray() function
Dcaddress_allocator.h135 [[nodiscard]] T *AllocArray(size_t size) in AllocArray() function
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp703 auto tmpBuffer = allocator->AllocArray<uint16_t>(utf16DataLength); in IsMutf8EqualsUtf16()
719 auto tmpBuffer = allocator->AllocArray<uint16_t>(utf16DataLength); in IsMutf8EqualsUtf16()
852 auto tmpBuffer = allocator->AllocArray<uint16_t>(utf16Length); in ComputeHashcodeMutf8()

12