Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::NativePointerMessageDeserializationCluster Class Reference
Inheritance diagram for dart::NativePointerMessageDeserializationCluster:
dart::MessageDeserializationCluster dart::ZoneAllocated

Public Member Functions

 NativePointerMessageDeserializationCluster ()
 
 ~NativePointerMessageDeserializationCluster ()
 
void ReadNodes (MessageDeserializer *d)
 
void ReadNodesApi (ApiMessageDeserializer *d)
 
- Public Member Functions inherited from dart::MessageDeserializationCluster
 MessageDeserializationCluster (const char *name, bool is_canonical=false)
 
virtual ~MessageDeserializationCluster ()
 
virtual void ReadNodes (MessageDeserializer *d)=0
 
virtual void ReadEdges (MessageDeserializer *d)
 
virtual ObjectPtr PostLoad (MessageDeserializer *d)
 
virtual void ReadNodesApi (ApiMessageDeserializer *d)
 
virtual void ReadEdgesApi (ApiMessageDeserializer *d)
 
virtual void PostLoadApi (ApiMessageDeserializer *d)
 
void ReadNodesWrapped (MessageDeserializer *d)
 
void ReadNodesWrappedApi (ApiMessageDeserializer *d)
 
const char * name () const
 
bool is_canonical () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::MessageDeserializationCluster
ObjectPtr PostLoadAbstractType (MessageDeserializer *d)
 
ObjectPtr PostLoadLinkedHash (MessageDeserializer *d)
 
 DISALLOW_COPY_AND_ASSIGN (MessageDeserializationCluster)
 
- Protected Attributes inherited from dart::MessageDeserializationCluster
const char *const name_
 
const bool is_canonical_
 
intptr_t start_index_
 
intptr_t stop_index_
 

Detailed Description

Definition at line 1475 of file message_snapshot.cc.

Constructor & Destructor Documentation

◆ NativePointerMessageDeserializationCluster()

dart::NativePointerMessageDeserializationCluster::NativePointerMessageDeserializationCluster ( )
inline

Definition at line 1478 of file message_snapshot.cc.

1479 : MessageDeserializationCluster("NativePointer"), cid_(kNativePointer) {}
MessageDeserializationCluster(const char *name, bool is_canonical=false)
@ kNativePointer
Definition: class_id.h:218

◆ ~NativePointerMessageDeserializationCluster()

dart::NativePointerMessageDeserializationCluster::~NativePointerMessageDeserializationCluster ( )
inline

Definition at line 1480 of file message_snapshot.cc.

1480{}

Member Function Documentation

◆ ReadNodes()

void dart::NativePointerMessageDeserializationCluster::ReadNodes ( MessageDeserializer d)
inlinevirtual

Implements dart::MessageDeserializationCluster.

Definition at line 1482 of file message_snapshot.cc.

1482 {
1483 const intptr_t count = d->ReadUnsigned();
1484 for (intptr_t i = 0; i < count; i++) {
1485 FinalizableData finalizable_data = d->finalizable_data()->Take();
1486 intptr_t ptr = reinterpret_cast<intptr_t>(finalizable_data.data);
1487 d->AssignRef(Integer::New(ptr));
1488 }
1489 }
int count
Definition: FontMgrTest.cpp:50
static IntegerPtr New(const String &str, Heap::Space space=Heap::kNew)
Definition: object.cc:22984
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

◆ ReadNodesApi()

void dart::NativePointerMessageDeserializationCluster::ReadNodesApi ( ApiMessageDeserializer d)
inlinevirtual

Reimplemented from dart::MessageDeserializationCluster.

Definition at line 1491 of file message_snapshot.cc.

1491{ UNREACHABLE(); }
#define UNREACHABLE()
Definition: assert.h:248

The documentation for this class was generated from the following file: