Definition at line 1502 of file message_snapshot.cc.
◆ TypedDataViewMessageSerializationCluster()
dart::TypedDataViewMessageSerializationCluster::TypedDataViewMessageSerializationCluster |
( |
Zone * |
zone, |
|
|
intptr_t |
cid |
|
) |
| |
|
inlineexplicit |
Definition at line 1505 of file message_snapshot.cc.
1509 objects_(zone, 0) {}
MessageSerializationCluster(const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false)
◆ ~TypedDataViewMessageSerializationCluster()
dart::TypedDataViewMessageSerializationCluster::~TypedDataViewMessageSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::MessageSerializationCluster.
Definition at line 1512 of file message_snapshot.cc.
1512 {
1513 TypedDataView* view = static_cast<TypedDataView*>(object);
1514 objects_.Add(view);
1515
1516 s->Push(view->untag()->length());
1517 s->Push(view->untag()->typed_data());
1518 s->Push(view->untag()->offset_in_bytes());
1519 }
◆ TraceApi()
◆ WriteEdges()
void dart::TypedDataViewMessageSerializationCluster::WriteEdges |
( |
MessageSerializer * |
s | ) |
|
|
inlinevirtual |
Reimplemented from dart::MessageSerializationCluster.
Definition at line 1531 of file message_snapshot.cc.
1531 {
1532 const intptr_t
count = objects_.length();
1533 for (intptr_t
i = 0;
i <
count;
i++) {
1534 TypedDataView* view = objects_[
i];
1535 s->WriteRef(view->untag()->length());
1536 s->WriteRef(view->untag()->typed_data());
1537 s->WriteRef(view->untag()->offset_in_bytes());
1538 }
1539 }
◆ WriteNodes()
void dart::TypedDataViewMessageSerializationCluster::WriteNodes |
( |
MessageSerializer * |
s | ) |
|
|
inlinevirtual |
◆ WriteNodesApi()
Reimplemented from dart::MessageSerializationCluster.
Definition at line 1546 of file message_snapshot.cc.
1546 {
1548
1549 intptr_t
count = objects_.length();
1552 for (intptr_t
i = 0;
i <
count;
i++) {
1555
1556 intptr_t
length =
data->value.as_external_typed_data.length;
1558
1560 data->value.as_external_typed_data.data,
1561 data->value.as_external_typed_data.peer,
1562 data->value.as_external_typed_data.callback);
1563 }
1564 }
intptr_t ElementSizeInBytes() const
static int8_t data[kExtLength]
The documentation for this class was generated from the following file: