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

Public Member Functions

 LibraryPrefixDeserializationCluster ()
 
 ~LibraryPrefixDeserializationCluster ()
 
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 4698 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ LibraryPrefixDeserializationCluster()

dart::LibraryPrefixDeserializationCluster::LibraryPrefixDeserializationCluster ( )
inline

Definition at line 4700 of file app_snapshot.cc.

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

◆ ~LibraryPrefixDeserializationCluster()

dart::LibraryPrefixDeserializationCluster::~LibraryPrefixDeserializationCluster ( )
inline

Definition at line 4702 of file app_snapshot.cc.

4702{}

Member Function Documentation

◆ ReadAlloc()

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

Implements dart::DeserializationCluster.

Definition at line 4704 of file app_snapshot.cc.

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

◆ ReadFill()

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

Implements dart::DeserializationCluster.

Definition at line 4708 of file app_snapshot.cc.

4708 {
4709 Deserializer::Local d(d_);
4710
4711 ASSERT(!is_canonical()); // Never canonical.
4712 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
4713 LibraryPrefixPtr prefix = static_cast<LibraryPrefixPtr>(d.Ref(id));
4714 Deserializer::InitializeHeader(prefix, kLibraryPrefixCid,
4716 d.ReadFromTo(prefix);
4717 prefix->untag()->num_imports_ = d.Read<uint16_t>();
4718 prefix->untag()->is_deferred_load_ = d.Read<bool>();
4719 }
4720 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)
#define ASSERT(E)

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