Flutter Engine
The Flutter Engine
|
Public Member Functions | |
MessageSerializer (Thread *thread) | |
~MessageSerializer () | |
bool | MarkObjectId (ObjectPtr object, intptr_t id) |
void | SetObjectId (ObjectPtr object, intptr_t id) |
intptr_t | GetObjectId (ObjectPtr object) const |
DART_NOINLINE void | AddBaseObject (ObjectPtr base_object) |
DART_NOINLINE void | AssignRef (ObjectPtr object) |
void | AssignRef (Object *object) |
void | Push (ObjectPtr object) |
void | Trace (const Object &root, Object *object) |
void | IllegalObject (const Object &object, const char *message) |
void | AddBaseObjects () |
void | Serialize (const Object &root) |
DART_NOINLINE void | WriteRef (ObjectPtr object) |
Thread * | thread () const |
Isolate * | isolate () const |
IsolateGroup * | isolate_group () const |
bool | HasRef (ObjectPtr object) const |
Public Member Functions inherited from dart::BaseSerializer | |
BaseSerializer (Thread *thread, Zone *zone) | |
~BaseSerializer () | |
template<typename T > | |
void | Write (T value) |
void | WriteUnsigned (intptr_t value) |
void | WriteWordWith32BitWrites (uword value) |
void | WriteBytes (const void *addr, intptr_t len) |
void | WriteAscii (const String &str) |
MessageSerializationCluster * | NewClusterForClass (intptr_t cid, bool is_canonical) |
void | WriteCluster (MessageSerializationCluster *cluster) |
std::unique_ptr< Message > | Finish (Dart_Port dest_port, Message::Priority priority) |
Zone * | zone () const |
MessageFinalizableData * | finalizable_data () const |
intptr_t | next_ref_index () const |
Public Member Functions inherited from dart::StackResource | |
StackResource (ThreadState *thread) | |
virtual | ~StackResource () |
ThreadState * | thread () const |
Additional Inherited Members | |
Static Public Member Functions inherited from dart::StackResource | |
static void | Unwind (ThreadState *thread) |
static void | UnwindAbove (ThreadState *thread, StackResource *new_top) |
Protected Attributes inherited from dart::BaseSerializer | |
Zone *const | zone_ |
MallocWriteStream | stream_ |
MessageFinalizableData * | finalizable_data_ |
GrowableArray< MessageSerializationCluster * > | clusters_ |
intptr_t | num_base_objects_ |
intptr_t | num_written_objects_ |
intptr_t | next_ref_index_ |
Definition at line 204 of file message_snapshot.cc.
|
explicit |
Definition at line 2705 of file message_snapshot.cc.
dart::MessageSerializer::~MessageSerializer | ( | ) |
Definition at line 2714 of file message_snapshot.cc.
|
inline |
Definition at line 241 of file message_snapshot.cc.
void dart::MessageSerializer::AddBaseObjects | ( | ) |
Definition at line 3216 of file message_snapshot.cc.
|
inline |
Definition at line 249 of file message_snapshot.cc.
|
inline |
Definition at line 245 of file message_snapshot.cc.
|
inline |
Definition at line 231 of file message_snapshot.cc.
|
inline |
Definition at line 272 of file message_snapshot.cc.
void dart::MessageSerializer::IllegalObject | ( | const Object & | object, |
const char * | message | ||
) |
Definition at line 3053 of file message_snapshot.cc.
|
inline |
Definition at line 269 of file message_snapshot.cc.
|
inline |
Definition at line 270 of file message_snapshot.cc.
|
inline |
Definition at line 209 of file message_snapshot.cc.
void dart::MessageSerializer::Push | ( | ObjectPtr | object | ) |
Definition at line 2724 of file message_snapshot.cc.
void dart::MessageSerializer::Serialize | ( | const Object & | root | ) |
Definition at line 3264 of file message_snapshot.cc.
|
inline |
Definition at line 220 of file message_snapshot.cc.
|
inline |
Definition at line 266 of file message_snapshot.cc.
Definition at line 2738 of file message_snapshot.cc.
|
inline |
Definition at line 260 of file message_snapshot.cc.