Flutter Engine
The Flutter Engine
|
#include <kernel_isolate.h>
Static Public Member Functions | |
static void | InitializeState () |
static bool | Start () |
static void | Shutdown () |
static bool | Exists () |
static bool | IsRunning () |
static Dart_Port | WaitForKernelPort () |
static Dart_Port | KernelPort () |
static Dart_KernelCompilationResult | CompileToKernel (const char *script_uri, const uint8_t *platform_kernel, intptr_t platform_kernel_size, int source_files_count=0, Dart_SourceFile source_files[]=nullptr, bool incremental_compile=true, bool for_snapshot=false, bool embed_sources=true, const char *package_config=nullptr, const char *multiroot_filepaths=nullptr, const char *multiroot_scheme=nullptr, Dart_KernelCompilationVerbosityLevel verbosity=Dart_KernelCompilationVerbosityLevel_All) |
static Dart_KernelCompilationResult | AcceptCompilation () |
static Dart_KernelCompilationResult | RejectCompilation () |
static Dart_KernelCompilationResult | UpdateInMemorySources (int source_files_count, Dart_SourceFile source_files[]) |
static Dart_KernelCompilationResult | CompileExpressionToKernel (const uint8_t *platform_kernel, intptr_t platform_kernel_size, const char *expression, const Array &definitions, const Array &definition_types, const Array &type_definitions, const Array &type_bounds, const Array &type_defaults, const char *library_url, const char *klass, const char *method, TokenPosition token_pos, char const *script_uri, bool is_static) |
static Dart_KernelCompilationResult | ListDependencies () |
static void | NotifyAboutIsolateGroupShutdown (const IsolateGroup *isolate_group) |
static void | AddExperimentalFlag (const char *value) |
static bool | GetExperimentalFlag (ExperimentalFeature feature) |
Static Public Attributes | |
static const char * | kName = DART_KERNEL_ISOLATE_NAME |
static constexpr int | kCompileTag = 0 |
static constexpr int | kUpdateSourcesTag = 1 |
static constexpr int | kAcceptTag = 2 |
static constexpr int | kTrainTag = 3 |
static constexpr int | kCompileExpressionTag = 4 |
static constexpr int | kListDependenciesTag = 5 |
static constexpr int | kNotifyIsolateShutdown = 6 |
static constexpr int | kRejectTag = 7 |
Protected Types | |
enum | State { kNotStarted , kStopped , kStarting , kStarted , kStopping } |
Static Protected Member Functions | |
static void | InitCallback (Isolate *I) |
static void | SetKernelIsolate (Isolate *isolate) |
static void | SetLoadPort (Dart_Port port) |
static void | FinishedExiting () |
static void | FinishedInitializing () |
static void | InitializingFailed () |
static Dart_IsolateGroupCreateCallback | create_group_callback () |
Static Protected Attributes | |
static Dart_IsolateGroupCreateCallback | create_group_callback_ = nullptr |
static Monitor * | monitor_ = new Monitor() |
static State | state_ = KernelIsolate::kNotStarted |
static Isolate * | isolate_ = nullptr |
static Dart_Port | kernel_port_ = ILLEGAL_PORT |
static MallocGrowableArray< char * > * | experimental_flags_ |
Friends | |
class | Dart |
class | Isolate |
class | RunKernelTask |
Definition at line 22 of file kernel_isolate.h.
|
protected |
Enumerator | |
---|---|
kNotStarted | |
kStopped | |
kStarting | |
kStarted | |
kStopping |
Definition at line 115 of file kernel_isolate.h.
|
static |
Definition at line 1139 of file kernel_isolate.cc.
|
static |
Definition at line 371 of file kernel_isolate.cc.
|
static |
Definition at line 1175 of file kernel_isolate.cc.
|
static |
Definition at line 1084 of file kernel_isolate.cc.
|
inlinestaticprotected |
Definition at line 109 of file kernel_isolate.h.
|
static |
Definition at line 282 of file kernel_isolate.cc.
|
staticprotected |
Definition at line 300 of file kernel_isolate.cc.
|
staticprotected |
|
static |
Definition at line 382 of file kernel_isolate.cc.
|
staticprotected |
Definition at line 261 of file kernel_isolate.cc.
|
static |
Definition at line 202 of file kernel_isolate.cc.
|
staticprotected |
|
static |
Definition at line 277 of file kernel_isolate.cc.
|
inlinestatic |
Definition at line 55 of file kernel_isolate.h.
|
static |
Definition at line 1123 of file kernel_isolate.cc.
|
static |
Definition at line 1233 of file kernel_isolate.cc.
|
static |
Definition at line 1157 of file kernel_isolate.cc.
|
staticprotected |
Definition at line 287 of file kernel_isolate.cc.
|
staticprotected |
Definition at line 294 of file kernel_isolate.cc.
|
static |
Definition at line 244 of file kernel_isolate.cc.
|
static |
Definition at line 215 of file kernel_isolate.cc.
|
static |
Definition at line 1213 of file kernel_isolate.cc.
|
static |
Definition at line 321 of file kernel_isolate.cc.
|
friend |
Definition at line 141 of file kernel_isolate.h.
|
friend |
Definition at line 142 of file kernel_isolate.h.
|
friend |
Definition at line 143 of file kernel_isolate.h.
|
staticprotected |
Definition at line 113 of file kernel_isolate.h.
|
staticprotected |
Definition at line 126 of file kernel_isolate.h.
|
staticprotected |
Definition at line 123 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 41 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 43 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 39 of file kernel_isolate.h.
|
staticprotected |
Definition at line 124 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 44 of file kernel_isolate.h.
|
static |
Definition at line 26 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 45 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 46 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 42 of file kernel_isolate.h.
|
staticconstexpr |
Definition at line 40 of file kernel_isolate.h.
Definition at line 114 of file kernel_isolate.h.
|
staticprotected |
Definition at line 122 of file kernel_isolate.h.