Home
last modified time | relevance | path

Searched refs:addressSlot_ (Results 1 – 2 of 2) sorted by relevance

/ark/js_runtime/ecmascript/snapshot/mem/
Dsnapshot_serialize.h91 auto addr = reinterpret_cast<uintptr_t *>(addressSlot_ + index * ADDRESS_SIZE); in SetAddressToSlot()
98 return *reinterpret_cast<T *>(addressSlot_ + index * ADDRESS_SIZE); in GetAddress()
110 uintptr_t addressSlot_; variable
Dsnapshot_serialize.cpp640addressSlot_ = ToUintPtr(vm_->GetNativeAreaAllocator()->Allocate(sizeof(uintptr_t) * OBJECT_SIZE_E… in SnapShotSerialize()
642addressSlot_ = 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()
740 if (memcpy_s(addr, size, ToVoidPtr(addressSlot_), size) != EOK) { in ExtendObjectArray()
745 …vm_->GetNativeAreaAllocator()->Free(ToVoidPtr(addressSlot_), sizeof(uintptr_t) * objectArraySize_); in ExtendObjectArray()
746 addressSlot_ = ToUintPtr(addr); in ExtendObjectArray()