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

Public Member Functions

 MapDeserializationCluster (intptr_t cid, bool is_canonical, bool is_root_unit)
 
 ~MapDeserializationCluster ()
 
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 6262 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ MapDeserializationCluster()

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

Definition at line 6265 of file app_snapshot.cc.

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

◆ ~MapDeserializationCluster()

dart::MapDeserializationCluster::~MapDeserializationCluster ( )
inline

Definition at line 6272 of file app_snapshot.cc.

6272{}

Member Function Documentation

◆ ReadAlloc()

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

Implements dart::DeserializationCluster.

Definition at line 6274 of file app_snapshot.cc.

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

◆ ReadFill()

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

Implements dart::DeserializationCluster.

Definition at line 6278 of file app_snapshot.cc.

6278 {
6279 Deserializer::Local d(d_);
6280
6281 const intptr_t cid = cid_;
6282 const bool mark_canonical = is_root_unit_ && is_canonical();
6283 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
6284 MapPtr map = static_cast<MapPtr>(d.Ref(id));
6286 mark_canonical);
6287 d.ReadFromTo(map);
6288 }
6289 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)
SI auto map(std::index_sequence< I... >, Fn &&fn, const Args &... args) -> skvx::Vec< sizeof...(I), decltype(fn(args[0]...))>
Definition: SkVx.h:680

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