Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
isolate.cc File Reference
#include <memory>
#include <utility>
#include "include/dart_native_api.h"
#include "platform/assert.h"
#include "platform/unicode.h"
#include "vm/bootstrap_natives.h"
#include "vm/class_finalizer.h"
#include "vm/dart.h"
#include "vm/dart_api_impl.h"
#include "vm/dart_api_message.h"
#include "vm/dart_entry.h"
#include "vm/exceptions.h"
#include "vm/hash_table.h"
#include "vm/lockers.h"
#include "vm/longjump.h"
#include "vm/message_handler.h"
#include "vm/message_snapshot.h"
#include "vm/object.h"
#include "vm/object_graph_copy.h"
#include "vm/object_store.h"
#include "vm/port.h"
#include "vm/resolver.h"
#include "vm/service.h"
#include "vm/snapshot.h"
#include "vm/symbols.h"

Go to the source code of this file.

Classes

class  dart::UntaggedObjectPtrSetTraits
 
class  dart::IsolateSpawnState
 
class  dart::SpawnIsolateTask
 

Namespaces

namespace  dart
 

Macros

#define MESSAGE_SNAPSHOT_ILLEGAL(type)
 

Functions

 dart::DEFINE_NATIVE_ENTRY (Capability_factory, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (Capability_equals, 0, 2)
 
 dart::DEFINE_NATIVE_ENTRY (Capability_get_hashcode, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (RawReceivePort_factory, 0, 2)
 
 dart::DEFINE_NATIVE_ENTRY (RawReceivePort_get_id, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (RawReceivePort_closeInternal, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (RawReceivePort_setActive, 0, 2)
 
 dart::DEFINE_NATIVE_ENTRY (RawReceivePort_getActive, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (SendPort_get_id, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (SendPort_get_hashcode, 0, 1)
 
static bool dart::InSameGroup (Isolate *sender, const SendPort &receiver)
 
 dart::DEFINE_NATIVE_ENTRY (SendPort_sendInternal_, 0, 2)
 
static ObjectPtr dart::ValidateMessageObject (Zone *zone, Isolate *isolate, const Object &obj)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_exit_, 0, 2)
 
static const char * dart::NewConstChar (const char *chars)
 
static ObjectPtr dart::DeserializeMessage (Thread *thread, Message *message)
 
static void dart::ThrowIsolateSpawnException (const String &message)
 
static const char * dart::String2UTF8 (const String &str)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_spawnFunction, 0, 10)
 
static const char * dart::CanonicalizeUri (Thread *thread, const Library &library, const String &uri, char **error)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_spawnUri, 0, 12)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_getDebugName, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_getPortAndCapabilitiesOfCurrentIsolate, 0, 0)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_getCurrentRootUriStr, 0, 0)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_registerKernelBlob, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_unregisterKernelBlob, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (Isolate_sendOOB, 0, 2)
 
static void dart::ExternalTypedDataFinalizer (void *isolate_callback_data, void *peer)
 
static intptr_t dart::GetTypedDataSizeOrThrow (const Instance &instance)
 
 dart::DEFINE_NATIVE_ENTRY (TransferableTypedData_factory, 0, 2)
 
 dart::DEFINE_NATIVE_ENTRY (TransferableTypedData_materialize, 0, 1)
 

Macro Definition Documentation

◆ MESSAGE_SNAPSHOT_ILLEGAL

#define MESSAGE_SNAPSHOT_ILLEGAL (   type)
Value:
case k##type##Cid: \
illegal_object = raw; \
exception_message = "is a " #type; \
break;
GLenum type