/ark/js_runtime/ecmascript/hprof/ |
D | heap_profiler_interface.cpp | 35 …auto *hprof = const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->New<HeapProfiler>… in DumpHeapSnapShot() 41 const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->Delete(hprof); in DumpHeapSnapShot() 47 …auto *hprof = const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->New<HeapProfiler>… in CreateHeapProfiler() 55 const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->Delete(heapProfiler); in Destroy()
|
D | string_hashmap.cpp | 83 …auto *tempString = const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->New<CString… in GetString() 86 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Delete(tempString); in GetString() 96 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Delete(it.second); in Clear()
|
D | heap_profiler.cpp | 33 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Delete(jsonSerializer_); in ~HeapProfiler() 168 auto *snapShot = const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator()) in MakeHeapSnapShot() 179 auto *snapShot = const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator()) in MakeHeapSnapShot() 206 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Delete(snapshot); in ClearSnapShot()
|
D | heap_snapshot.cpp | 46 auto node = const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator()) in NewNode() 57 …auto edge = const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->New<Edge>(id, type,… in NewEdge() 69 const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->Delete(node); in ~HeapSnapShot() 72 const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->Delete(edge); in ~HeapSnapShot() 439 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Delete(node); in GenerateNode() 498 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Delete(node); in GenerateStringNode()
|
D | heap_profiler.h | 36 …const_cast<NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->New<HeapSnapShotJSONSerializer>… in HeapProfiler()
|
/ark/js_runtime/ecmascript/mem/ |
D | region-inl.h | 35 …auto setAddr = const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Allocate(setSiz… in CreateRememberedSet() 98 heap_->GetNativeAreaAllocator())->Free(markBitmap_->GetBitMap().Data(), size); in DeleteMarkBitmap() 108 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Free( in DeleteCrossRegionRememberedSet() 119 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->Free( in DeleteOldToNewRememberedSet()
|
D | parallel_work_helper.cpp | 36 …ToUintPtr(const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->AllocateBuffer(SPACE… in WorkerHelper() 46 const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->FreeBuffer( in ~WorkerHelper() 122 …const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator())->FreeBuffer(reinterpret_cast<vo… in Finish() 171 heap_->GetNativeAreaAllocator())->AllocateBuffer(SPACE_SIZE)); in AllocalWorkNode()
|
D | heap_region_allocator.cpp | 53 space->GetHeap()->GetNativeAreaAllocator()); in AllocateAlignedRegion()
|
D | gc_stats.cpp | 120 …llocator *nativeAreaAllocator = const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaAllocator()); in PrintHeapStatisticResult()
|
D | heap.h | 251 NativeAreaAllocator *GetNativeAreaAllocator() const in GetNativeAreaAllocator() function
|
D | heap.cpp | 40 nativeAreaAllocator_(ecmaVm->GetNativeAreaAllocator()), in Heap()
|
/ark/js_runtime/ecmascript/jspandafile/ |
D | scope_info_extractor.cpp | 32 auto buffer = ecmaVm->GetNativeAreaAllocator()->New<struct ScopeDebugInfo>(); in GenerateScopeInfo() 43 …fer, NativeAreaAllocator::FreeObjectFunc<struct ScopeDebugInfo>, ecmaVm->GetNativeAreaAllocator()); in GenerateScopeInfo()
|
/ark/js_runtime/ecmascript/ |
D | js_thread.cpp | 34 … EcmaVM::Cast(vm)->GetNativeAreaAllocator()->Allocate(sizeof(JSTaggedType) * MAX_STACK_SIZE)); in Create() 45 nativeAreaAllocator_ = EcmaVM::Cast(vm)->GetNativeAreaAllocator(); in JSThread() 64 GetNativeAreaAllocator()->Free(frameBase_, sizeof(JSTaggedType) * MAX_STACK_SIZE); in ~JSThread()
|
D | js_relative_time_format.h | 86 reinterpret_cast<EcmaVM *>(data)->GetNativeAreaAllocator()->FreeBuffer(pointer); in FreeIcuRTFFormatter()
|
D | object_factory-inl.h | 79 S *icuPoint = vm_->GetNativeAreaAllocator()->New<S>(icu); in NewJSIntlIcuData()
|
D | js_plural_rules.cpp | 49 ecmaVm->GetNativeAreaAllocator()->New<icu::number::LocalizedNumberFormatter>(icuNF); in SetIcuNumberFormatter() 86 icu::PluralRules *icuPointer = ecmaVm->GetNativeAreaAllocator()->New<icu::PluralRules>(icuPR); in SetIcuPluralRules()
|
D | js_number_format.h | 108 reinterpret_cast<EcmaVM *>(data)->GetNativeAreaAllocator()->FreeBuffer(icuNumberformat); in FreeIcuNumberformat()
|
D | js_thread.h | 91 NativeAreaAllocator *GetNativeAreaAllocator() const in GetNativeAreaAllocator() function
|
D | js_date_time_format.cpp | 105 icu::Locale *icuPointer = ecmaVm->GetNativeAreaAllocator()->New<icu::Locale>(icuLocale); in SetIcuLocale() 127 reinterpret_cast<EcmaVM *>(data)->GetNativeAreaAllocator()->FreeBuffer(pointer); in FreeIcuLocale() 145 ecmaVm->GetNativeAreaAllocator()->New<icu::SimpleDateFormat>(icuSimpleDateTimeFormat); in SetIcuSimpleDateFormat() 167 reinterpret_cast<EcmaVM *>(data)->GetNativeAreaAllocator()->FreeBuffer(pointer); in FreeSimpleDateFormat()
|
D | ecma_vm.h | 328 NativeAreaAllocator *GetNativeAreaAllocator() const in GetNativeAreaAllocator() function
|
D | object_factory.cpp | 152 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(length * sizeof(uint8_t)); in NewJSArrayBufferData() 161 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(length * sizeof(uint8_t)); in NewJSArrayBufferData() 167 vm_->GetNativeAreaAllocator()); in NewJSArrayBufferData() 181 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(length); in NewJSArrayBuffer() 187 vm_->GetNativeAreaAllocator()); in NewJSArrayBuffer() 239 auto newBuffer = vm_->GetNativeAreaAllocator()->AllocateBuffer(size); in NewJSRegExpByteCodeData() 251 vm_->GetNativeAreaAllocator()); in NewJSRegExpByteCodeData()
|
D | js_locale.h | 181 reinterpret_cast<EcmaVM *>(data)->GetNativeAreaAllocator()->FreeBuffer(pointer); in FreeIcuLocale()
|
/ark/js_runtime/ecmascript/napi/ |
D | dfx_jsnapi.cpp | 70 …const_cast<ecmascript::NativeAreaAllocator *>(heap->GetNativeAreaAllocator())->Delete(heapProfile); in StopHeapTracking()
|
/ark/js_runtime/ecmascript/snapshot/mem/ |
D | snapshot_serialize.cpp | 640 …addressSlot_ = ToUintPtr(vm_->GetNativeAreaAllocator()->Allocate(sizeof(uintptr_t) * OBJECT_SIZE_E… in SnapShotSerialize() 642 …addressSlot_ = ToUintPtr(vm_->GetNativeAreaAllocator()->Allocate(sizeof(uintptr_t) * objectArraySi… in SnapShotSerialize() 649 …vm_->GetNativeAreaAllocator()->Free(ToVoidPtr(addressSlot_), sizeof(uintptr_t) * OBJECT_SIZE_EXTEN… in ~SnapShotSerialize() 651 …vm_->GetNativeAreaAllocator()->Free(ToVoidPtr(addressSlot_), sizeof(uintptr_t) * objectArraySize_); in ~SnapShotSerialize() 738 auto addr = vm_->GetNativeAreaAllocator()->Allocate(sizeof(uintptr_t) * objectArraySize_); in ExtendObjectArray() 745 …vm_->GetNativeAreaAllocator()->Free(ToVoidPtr(addressSlot_), sizeof(uintptr_t) * objectArraySize_); in ExtendObjectArray()
|
/ark/js_runtime/ecmascript/builtins/ |
D | builtins_regexp.cpp | 1150 Chunk chunk(thread->GetNativeAreaAllocator()); in Matcher() 1523 Chunk chunk(thread->GetNativeAreaAllocator()); in RegExpInitialize()
|