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

Public Member Functions

 SetDeserializationCluster (intptr_t cid, bool is_canonical, bool is_root_unit)
 
 ~SetDeserializationCluster ()
 
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::AbstractInstanceDeserializationCluster
 AbstractInstanceDeserializationCluster (const char *name, bool is_canonical, bool is_root_unit)
 
- Protected Member Functions inherited from dart::DeserializationCluster
void ReadAllocFixedSize (Deserializer *deserializer, intptr_t instance_size)
 
- Protected Attributes inherited from dart::AbstractInstanceDeserializationCluster
const bool is_root_unit_
 
- 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 6337 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ SetDeserializationCluster()

dart::SetDeserializationCluster::SetDeserializationCluster ( intptr_t  cid,
bool  is_canonical,
bool  is_root_unit 
)
inlineexplicit

Definition at line 6340 of file app_snapshot.cc.

6345 is_root_unit),
6346 cid_(cid) {}
AbstractInstanceDeserializationCluster(const char *name, bool is_canonical, bool is_root_unit)
const intptr_t cid

◆ ~SetDeserializationCluster()

dart::SetDeserializationCluster::~SetDeserializationCluster ( )
inline

Definition at line 6347 of file app_snapshot.cc.

6347{}

Member Function Documentation

◆ ReadAlloc()

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

Implements dart::DeserializationCluster.

Definition at line 6349 of file app_snapshot.cc.

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

◆ ReadFill()

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

Implements dart::DeserializationCluster.

Definition at line 6353 of file app_snapshot.cc.

6353 {
6354 Deserializer::Local d(d_);
6355
6356 const intptr_t cid = cid_;
6357 const bool mark_canonical = is_root_unit_ && is_canonical();
6358 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
6359 SetPtr set = static_cast<SetPtr>(d.Ref(id));
6361 mark_canonical);
6362 d.ReadFromTo(set);
6363 }
6364 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not set
Definition: switches.h:76

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