Searched refs:objectHeader (Results 1 – 7 of 7) sorted by relevance
/ark/js_runtime/ecmascript/snapshot/mem/ |
D | snapshot_serialize.h | 35 void Serialize(TaggedObject *objectHeader, CQueue<TaggedObject *> *queue, 52 void NativePointerSerialize(TaggedObject *objectHeader, uintptr_t snapshotObj); 53 void JSObjectSerialize(TaggedObject *objectHeader, uintptr_t snapshotObj, size_t objectSize, 56 … void JSFunctionBaseSerialize(TaggedObject *objectHeader, uintptr_t snapshotObj, size_t objectSize, 59 void JSProxySerialize(TaggedObject *objectHeader, uintptr_t snapshotObj, size_t objectSize, 62 void DynClassSerialize(TaggedObject *objectHeader, uintptr_t snapshotObj, size_t objectSize, 65 …void DynArraySerialize(TaggedObject *objectHeader, uintptr_t snapshotObj, CQueue<TaggedObject *> *… 67 void DynStringSerialize(TaggedObject *objectHeader, uintptr_t snapshotObj); 68 …void DynProgramSerialize(TaggedObject *objectHeader, uintptr_t snapshotObj, CQueue<TaggedObject *>… 71 void NativePointerDeserialize(uint64_t *objectHeader); [all …]
|
D | slot_bit.cpp | 23 uint8_t SerializeHelper::GetObjectType(TaggedObject *objectHeader) in GetObjectType() argument 25 auto hclass = objectHeader->GetClass(); in GetObjectType() 30 SlotBit SerializeHelper::AddObjectHeaderToData(TaggedObject *objectHeader, CQueue<TaggedObject *> *… in AddObjectHeaderToData() argument 33 queue->emplace(objectHeader); in AddObjectHeaderToData() 36 data->emplace(ToUintPtr(objectHeader), slotBits); in AddObjectHeaderToData()
|
D | snapshot_serialize.cpp | 665 void SnapShotSerialize::Serialize(TaggedObject *objectHeader, CQueue<TaggedObject *> *queue, in Serialize() argument 668 uint8_t objectType = SerializeHelper::GetObjectType(objectHeader); in Serialize() 669 size_t objectSize = objectHeader->GetClass()->SizeFromJSHClass(objectHeader); in Serialize() 683 if (memcpy_s(ToVoidPtr(snapshotObj), objectSize, objectHeader, objectSize) != EOK) { in Serialize() 689 SlotBit headSlot = HandleObjectHeader(objectHeader, objectType, objectSize, queue, data); in Serialize() 697 DynClassSerialize(objectHeader, snapshotObj, objectSize, queue, data); in Serialize() 700 DynStringSerialize(objectHeader, snapshotObj); in Serialize() 704 DynArraySerialize(objectHeader, snapshotObj, queue, data); in Serialize() 707 NativePointerSerialize(objectHeader, snapshotObj); in Serialize() 710 DynProgramSerialize(objectHeader, snapshotObj, queue, data); in Serialize() [all …]
|
D | slot_bit.h | 125 static uint8_t GetObjectType(TaggedObject *objectHeader); 127 static SlotBit AddObjectHeaderToData(TaggedObject *objectHeader, CQueue<TaggedObject *> *queue,
|
/ark/runtime_core/runtime/tooling/ |
D | pt_reference.cpp | 79 PtLocalReference *PtCreateLocalReference(ObjectHeader *objectHeader) in PtCreateLocalReference() argument 81 ASSERT(objectHeader != nullptr); in PtCreateLocalReference() 84 …auto *rs_ref = thread->GetPtReferenceStorage()->NewRef(objectHeader, mem::Reference::ObjectType::L… in PtCreateLocalReference() 106 PtGlobalReference *PtCreateGlobalReference(const ObjectHeader *objectHeader) in PtCreateGlobalReference() argument 108 ASSERT(objectHeader != nullptr); in PtCreateGlobalReference() 111 …PandaVM::GetCurrent()->GetGlobalObjectStorage()->Add(objectHeader, mem::Reference::ObjectType::GLO… in PtCreateGlobalReference() 119 auto objectHeader = PtGetObjectHeaderByReference(ref); in PtCreateGlobalReference() local 121 …PandaVM::GetCurrent()->GetGlobalObjectStorage()->Add(objectHeader, mem::Reference::ObjectType::GLO… in PtCreateGlobalReference()
|
D | pt_object_private.h | 28 explicit PtScopedObjectPrivate(ObjectHeader *objectHeader) in PtScopedObjectPrivate() argument 30 ASSERT(objectHeader != nullptr); in PtScopedObjectPrivate() 31 PtLocalReference *localRef = PtCreateLocalReference(objectHeader); in PtScopedObjectPrivate()
|
D | pt_reference_private.h | 29 PtLocalReference *PtCreateLocalReference(ObjectHeader *objectHeader); 34 PtGlobalReference *PtCreateGlobalReference(const ObjectHeader *objectHeader);
|