Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Enumerations | Functions | Variables
message_snapshot.cc File Reference
#include "vm/message_snapshot.h"
#include <memory>
#include "platform/assert.h"
#include "platform/unicode.h"
#include "vm/class_finalizer.h"
#include "vm/class_id.h"
#include "vm/dart_api_message.h"
#include "vm/dart_api_state.h"
#include "vm/dart_entry.h"
#include "vm/flags.h"
#include "vm/growable_array.h"
#include "vm/heap/heap.h"
#include "vm/heap/weak_table.h"
#include "vm/longjump.h"
#include "vm/object.h"
#include "vm/object_graph_copy.h"
#include "vm/object_store.h"
#include "vm/symbols.h"
#include "vm/type_testing_stubs.h"

Go to the source code of this file.

Classes

class  dart::PredefinedCObjects
 
class  dart::MessageSerializationCluster
 
class  dart::MessageDeserializationCluster
 
class  dart::BaseSerializer
 
class  dart::MessageSerializer
 
class  dart::ApiMessageSerializer
 
class  dart::BaseDeserializer
 
class  dart::MessageDeserializer
 
class  dart::ApiMessageDeserializer
 
class  dart::ClassMessageSerializationCluster
 
class  dart::ClassMessageDeserializationCluster
 
class  dart::TypeArgumentsMessageSerializationCluster
 
class  dart::TypeArgumentsMessageDeserializationCluster
 
class  dart::TypeMessageSerializationCluster
 
class  dart::TypeMessageDeserializationCluster
 
class  dart::SmiMessageSerializationCluster
 
class  dart::SmiMessageDeserializationCluster
 
class  dart::MintMessageSerializationCluster
 
class  dart::MintMessageDeserializationCluster
 
class  dart::DoubleMessageSerializationCluster
 
class  dart::DoubleMessageDeserializationCluster
 
class  dart::GrowableObjectArrayMessageSerializationCluster
 
class  dart::GrowableObjectArrayMessageDeserializationCluster
 
class  dart::TypedDataMessageSerializationCluster
 
class  dart::TypedDataMessageDeserializationCluster
 
class  dart::ExternalTypedDataMessageSerializationCluster
 
class  dart::ExternalTypedDataMessageDeserializationCluster
 
class  dart::NativePointerMessageSerializationCluster
 
class  dart::NativePointerMessageDeserializationCluster
 
class  dart::TypedDataViewMessageSerializationCluster
 
class  dart::TypedDataViewMessageDeserializationCluster
 
struct  dart::TypedDataViewMessageDeserializationCluster::Dart_CTypedDataView
 
class  dart::TransferableTypedDataMessageSerializationCluster
 
class  dart::TransferableTypedDataMessageDeserializationCluster
 
class  dart::Simd128MessageSerializationCluster
 
class  dart::Simd128MessageDeserializationCluster
 
class  dart::SendPortMessageSerializationCluster
 
class  dart::SendPortMessageDeserializationCluster
 
class  dart::CapabilityMessageSerializationCluster
 
class  dart::CapabilityMessageDeserializationCluster
 
class  dart::MapMessageSerializationCluster
 
class  dart::MapMessageDeserializationCluster
 
class  dart::SetMessageSerializationCluster
 
class  dart::SetMessageDeserializationCluster
 
class  dart::ArrayMessageSerializationCluster
 
class  dart::ArrayMessageDeserializationCluster
 
class  dart::OneByteStringMessageSerializationCluster
 
class  dart::OneByteStringMessageDeserializationCluster
 
class  dart::TwoByteStringMessageSerializationCluster
 
class  dart::TwoByteStringMessageDeserializationCluster
 

Namespaces

namespace  dart
 

Macros

#define ILLEGAL(type)
 

Enumerations

enum class  dart::MessagePhase {
  dart::kBeforeTypes = 0 , dart::kTypes = 1 , dart::kCanonicalInstances = 2 , dart::kNonCanonicalInstances = 3 ,
  dart::kNumPhases = 4
}
 
enum  dart::TypedDataViewFormat { dart::kTypedDataViewFromC , dart::kTypedDataViewFromDart }
 

Functions

static void dart::IsolateMessageTypedDataFinalizer (void *isolate_callback_data, void *buffer)
 
std::unique_ptr< Messagedart::WriteMessage (bool same_group, const Object &obj, Dart_Port dest_port, Message::Priority priority)
 
std::unique_ptr< Messagedart::WriteApiMessage (Zone *zone, Dart_CObject *obj, Dart_Port dest_port, Message::Priority priority)
 
ObjectPtr dart::ReadObjectGraphCopyMessage (Thread *thread, PersistentHandle *handle)
 
ObjectPtr dart::ReadMessage (Thread *thread, Message *message)
 
Dart_CObjectdart::ReadApiMessage (Zone *zone, Message *message)
 

Variables

static Dart_CObject dart::cobj_sentinel = {Dart_CObject_kUnsupported, {false}}
 
static Dart_CObject dart::cobj_transition_sentinel
 
static Dart_CObject dart::cobj_dynamic_type = {Dart_CObject_kUnsupported, {false}}
 
static Dart_CObject dart::cobj_void_type = {Dart_CObject_kUnsupported, {false}}
 
static Dart_CObject dart::cobj_empty_type_arguments
 
static Dart_CObject dart::cobj_true = {Dart_CObject_kBool, {true}}
 
static Dart_CObject dart::cobj_false = {Dart_CObject_kBool, {false}}
 
static constexpr intptr_t dart::kFirstReference = 1
 
static constexpr intptr_t dart::kUnallocatedReference = -1
 

Macro Definition Documentation

◆ ILLEGAL

#define ILLEGAL (   type)
Value:
case k##type##Cid: \
illegal_cid_string = #type; \
break;
GLenum type