/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_array_buffer_test.cpp | 63 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()
|
D | gc_test.cpp | 191 … 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 …]
|
D | waiter_list_test.cpp | 54 void *toBuffer = ecmaVm->GetNativeAreaAllocator()->AllocateBuffer(bufferLength); in CreateListNode()
|
D | js_serializer_test.cpp | 1990 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/ |
D | shared_mm.cpp | 40 *pointer = AllocateBuffer(size); in CreateOrLoad() 75 void *JSSharedMemoryManager::AllocateBuffer(size_t size) in AllocateBuffer() function in panda::ecmascript::JSSharedMemoryManager
|
D | shared_mm.h | 43 void *AllocateBuffer(size_t size);
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | native_area_allocator.h | 42 void *AllocateBuffer(size_t size); 61 void *p = AllocateBuffer(sizeof(T)); in New()
|
D | work_manager.cpp | 39 ToUintPtr(heap_->GetNativeAreaAllocator()->AllocateBuffer(SPACE_SIZE)); 183 heap_->GetNativeAreaAllocator()->AllocateBuffer(SPACE_SIZE)); in AllocateWorkNode()
|
D | native_area_allocator.cpp | 91 void *NativeAreaAllocator::AllocateBuffer(size_t size) in AllocateBuffer() function in panda::ecmascript::NativeAreaAllocator
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | js_pandafile_manager.h | 85 static void *AllocateBuffer(size_t size); 97 static void *AllocateBuffer(size_t size);
|
D | js_pandafile_manager.cpp | 485 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
|
D | js_pandafile.cpp | 157 …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/ |
D | js_serializer.h | 130 bool AllocateBuffer(size_t bytes);
|
D | js_serializer.cpp | 142 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
|
D | object_factory.cpp | 237 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/ |
D | js_module_namespace.cpp | 329 auto moduleNameData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(srcLength); in SetModuleDeregisterProcession()
|