Home
last modified time | relevance | path

Searched refs:AllocateBuffer (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_array_buffer_test.cpp63 void *toBuffer = vm->GetNativeAreaAllocator()->AllocateBuffer(length); in HWTEST_F_L0()
65 uint8_t *data = static_cast<uint8_t *>(vm->GetNativeAreaAllocator()->AllocateBuffer(length)); in HWTEST_F_L0()
70 void *formBuffer = vm->GetNativeAreaAllocator()->AllocateBuffer(length); in HWTEST_F_L0()
101 void *buffer = vm->GetNativeAreaAllocator()->AllocateBuffer(100); in HWTEST_F_L0()
102 uint8_t *data = static_cast<uint8_t *>(vm->GetNativeAreaAllocator()->AllocateBuffer(length)); in HWTEST_F_L0()
Dgc_test.cpp191 … auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
197 … auto newData1 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
205 … auto newData2 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
225 … auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
231 … auto newData1 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
239 auto newData2 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1024); in HWTEST_F_L0()
264 … auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
270 … auto newData1 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
278 … auto newData2 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
300 … auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
[all …]
Dwaiter_list_test.cpp54 void *toBuffer = ecmaVm->GetNativeAreaAllocator()->AllocateBuffer(bufferLength); in CreateListNode()
Djs_serializer_test.cpp1990 void *buffer = ecmaVm->GetNativeAreaAllocator()->AllocateBuffer(length); in HWTEST_F_L0()
2026 void *buffer = ecmaVm->GetNativeAreaAllocator()->AllocateBuffer(length); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/shared_mm/
Dshared_mm.cpp40 *pointer = AllocateBuffer(size); in CreateOrLoad()
75 void *JSSharedMemoryManager::AllocateBuffer(size_t size) in AllocateBuffer() function in panda::ecmascript::JSSharedMemoryManager
Dshared_mm.h43 void *AllocateBuffer(size_t size);
/arkcompiler/ets_runtime/ecmascript/mem/
Dnative_area_allocator.h42 void *AllocateBuffer(size_t size);
61 void *p = AllocateBuffer(sizeof(T)); in New()
Dwork_manager.cpp39 ToUintPtr(heap_->GetNativeAreaAllocator()->AllocateBuffer(SPACE_SIZE));
183 heap_->GetNativeAreaAllocator()->AllocateBuffer(SPACE_SIZE)); in AllocateWorkNode()
Dnative_area_allocator.cpp91 void *NativeAreaAllocator::AllocateBuffer(size_t size) in AllocateBuffer() function in panda::ecmascript::NativeAreaAllocator
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile_manager.h85 static void *AllocateBuffer(size_t size);
97 static void *AllocateBuffer(size_t size);
Djs_pandafile_manager.cpp485 void *JSPandaFileManager::AllocateBuffer(size_t size) in AllocateBuffer() function in panda::ecmascript::JSPandaFileManager
487 return JSPandaFileAllocator::AllocateBuffer(size); in AllocateBuffer()
490 void *JSPandaFileManager::JSPandaFileAllocator::AllocateBuffer(size_t size) in AllocateBuffer() function in panda::ecmascript::JSPandaFileManager::JSPandaFileAllocator
Djs_pandafile.cpp157 …static_cast<MethodLiteral *>(JSPandaFileManager::AllocateBuffer(sizeof(MethodLiteral) * numMethods… in InitializeUnMergedPF()
202 …static_cast<MethodLiteral *>(JSPandaFileManager::AllocateBuffer(sizeof(MethodLiteral) * numMethods… in InitializeMergedPF()
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.h130 bool AllocateBuffer(size_t bytes);
Djs_serializer.cpp142 if (!AllocateBuffer(length)) { in WriteRawData()
162 if (!AllocateBuffer(length)) { in WriteString()
174 bool JSSerializer::AllocateBuffer(size_t bytes) in AllocateBuffer() function in panda::ecmascript::JSSerializer
Dobject_factory.cpp237 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(size); in NewJSArrayBufferData()
246 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(size); in NewJSArrayBufferData()
283 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(length); in NewJSArrayBuffer()
371 auto newBuffer = vm_->GetNativeAreaAllocator()->AllocateBuffer(size); in NewJSRegExpByteCodeData()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp329 auto moduleNameData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(srcLength); in SetModuleDeregisterProcession()