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

Public Member Functions

 FfiTrampolineDataDeserializationCluster ()
 
 ~FfiTrampolineDataDeserializationCluster ()
 
void ReadAlloc (Deserializer *d) override
 
void ReadFill (Deserializer *d_) override
 
- Public Member Functions inherited from dart::DeserializationCluster
 DeserializationCluster (const char *name, bool is_canonical=false, bool is_immutable=false)
 
virtual ~DeserializationCluster ()
 
virtual void ReadAlloc (Deserializer *deserializer)=0
 
virtual void ReadFill (Deserializer *deserializer)=0
 
virtual void PostLoad (Deserializer *deserializer, const Array &refs)
 
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::DeserializationCluster
void ReadAllocFixedSize (Deserializer *deserializer, intptr_t instance_size)
 
- Protected Attributes inherited from dart::DeserializationCluster
const char *const name_
 
const bool is_canonical_
 
const bool is_immutable_
 
intptr_t start_index_
 
intptr_t stop_index_
 

Detailed Description

Definition at line 2109 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ FfiTrampolineDataDeserializationCluster()

dart::FfiTrampolineDataDeserializationCluster::FfiTrampolineDataDeserializationCluster ( )
inline

Definition at line 2111 of file app_snapshot.cc.

2112 : DeserializationCluster("FfiTrampolineData") {}
DeserializationCluster(const char *name, bool is_canonical=false, bool is_immutable=false)

◆ ~FfiTrampolineDataDeserializationCluster()

dart::FfiTrampolineDataDeserializationCluster::~FfiTrampolineDataDeserializationCluster ( )
inline

Definition at line 2113 of file app_snapshot.cc.

2113{}

Member Function Documentation

◆ ReadAlloc()

void dart::FfiTrampolineDataDeserializationCluster::ReadAlloc ( Deserializer d)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 2115 of file app_snapshot.cc.

2115 {
2117 }
void ReadAllocFixedSize(Deserializer *deserializer, intptr_t instance_size)
static intptr_t InstanceSize()
Definition: object.h:4376
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

◆ ReadFill()

void dart::FfiTrampolineDataDeserializationCluster::ReadFill ( Deserializer d_)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 2119 of file app_snapshot.cc.

2119 {
2120 Deserializer::Local d(d_);
2121
2122 ASSERT(!is_canonical()); // Never canonical.
2123 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
2124 FfiTrampolineDataPtr data = static_cast<FfiTrampolineDataPtr>(d.Ref(id));
2125 Deserializer::InitializeHeader(data, kFfiTrampolineDataCid,
2127 d.ReadFromTo(data);
2128 data->untag()->callback_id_ = d.Read<int32_t>();
2129 data->untag()->ffi_function_kind_ = d.Read<uint8_t>();
2130 }
2131 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)
#define ASSERT(E)
static int8_t data[kExtLength]

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