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

Public Member Functions

 DoubleDeserializationCluster (bool is_canonical, bool is_root_unit)
 
 ~DoubleDeserializationCluster ()
 
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 5414 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ DoubleDeserializationCluster()

dart::DoubleDeserializationCluster::DoubleDeserializationCluster ( bool  is_canonical,
bool  is_root_unit 
)
inlineexplicit

Definition at line 5417 of file app_snapshot.cc.

5420 is_root_unit) {}
AbstractInstanceDeserializationCluster(const char *name, bool is_canonical, bool is_root_unit)

◆ ~DoubleDeserializationCluster()

dart::DoubleDeserializationCluster::~DoubleDeserializationCluster ( )
inline

Definition at line 5421 of file app_snapshot.cc.

5421{}

Member Function Documentation

◆ ReadAlloc()

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

Implements dart::DeserializationCluster.

Definition at line 5423 of file app_snapshot.cc.

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

◆ ReadFill()

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

Implements dart::DeserializationCluster.

Definition at line 5427 of file app_snapshot.cc.

5427 {
5428 Deserializer::Local d(d_);
5429 const bool mark_canonical = is_root_unit_ && is_canonical();
5430 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
5431 DoublePtr dbl = static_cast<DoublePtr>(d.Ref(id));
5433 mark_canonical);
5434 dbl->untag()->value_ = d.Read<double>();
5435 }
5436 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)

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