Definition at line 1285 of file message_snapshot.cc.
◆ ExternalTypedDataMessageSerializationCluster()
dart::ExternalTypedDataMessageSerializationCluster::ExternalTypedDataMessageSerializationCluster |
( |
Zone * |
zone, |
|
|
intptr_t |
cid |
|
) |
| |
|
inlineexplicit |
Definition at line 1288 of file message_snapshot.cc.
1293 objects_(zone, 0) {}
MessageSerializationCluster(const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false)
◆ ~ExternalTypedDataMessageSerializationCluster()
dart::ExternalTypedDataMessageSerializationCluster::~ExternalTypedDataMessageSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
◆ TraceApi()
◆ WriteNodes()
void dart::ExternalTypedDataMessageSerializationCluster::WriteNodes |
( |
MessageSerializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::MessageSerializationCluster.
Definition at line 1301 of file message_snapshot.cc.
1301 {
1303
1304 intptr_t
count = objects_.length();
1306 for (intptr_t
i = 0;
i <
count;
i++) {
1307 ExternalTypedData*
data = objects_[
i];
1311
1313 void* passed_data =
malloc(length_in_bytes);
1314 memmove(passed_data,
data->untag()->data_, length_in_bytes);
1315 s->finalizable_data()->Put(length_in_bytes,
1316 passed_data,
1317 passed_data,
1319 }
1320 }
intptr_t ElementSizeInBytes() const
void * malloc(size_t size)
static void IsolateMessageTypedDataFinalizer(void *isolate_callback_data, void *buffer)
◆ WriteNodesApi()
The documentation for this class was generated from the following file: