Flutter Engine
The Flutter Engine
|
#include <dfe.h>
Public Member Functions | |
DFE () | |
~DFE () | |
void | Init () |
char * | frontend_filename () const |
void | set_frontend_filename (const char *name) |
void | set_use_dfe (bool value=true) |
bool | UseDartFrontend () const |
void | set_use_incremental_compiler (bool value) |
bool | use_incremental_compiler () const |
void | set_verbosity (Dart_KernelCompilationVerbosityLevel verbosity) |
Dart_KernelCompilationVerbosityLevel | verbosity () const |
const char * | GetPlatformBinaryFilename () |
void | set_application_kernel_buffer (uint8_t *buffer, intptr_t size) |
void | application_kernel_buffer (const uint8_t **buffer, intptr_t *size) const |
Dart_KernelCompilationResult | CompileScript (const char *script_uri, bool incremental, const char *package_config, bool for_snapshot, bool embedd_sources) |
void | CompileAndReadScript (const char *script_uri, uint8_t **kernel_buffer, intptr_t *kernel_buffer_size, char **error, int *exit_code, const char *package_config, bool for_snapshot, bool embed_sources) |
void | ReadScript (const char *script_uri, const AppSnapshot *app_snapshot, uint8_t **kernel_buffer, intptr_t *kernel_buffer_size, bool decode_uri=true, std::shared_ptr< uint8_t > *kernel_blob_ptr=nullptr) |
bool | KernelServiceDillAvailable () const |
bool | TryReadKernelFile (const char *script_uri, const AppSnapshot *app_snapshot, uint8_t **kernel_buffer, intptr_t *kernel_buffer_size, bool decode_uri=true, std::shared_ptr< uint8_t > *kernel_blob_ptr=nullptr) |
bool | CanUseDartFrontend () const |
void | LoadPlatform (const uint8_t **kernel_buffer, intptr_t *kernel_buffer_size) |
void | LoadKernelService (const uint8_t **kernel_service_buffer, intptr_t *kernel_service_buffer_size) |
const char * | RegisterKernelBlob (const uint8_t *kernel_buffer, intptr_t kernel_buffer_size) |
std::shared_ptr< uint8_t > | TryFindKernelBlob (const char *uri, intptr_t *kernel_length) |
void | UnregisterKernelBlob (const char *uri) |
dart::bin::DFE::DFE | ( | ) |
Definition at line 65 of file dfe.cc.
dart::bin::DFE::~DFE | ( | ) |
Definition at line 74 of file dfe.cc.
|
inline |
Definition at line 64 of file dfe.h.
bool dart::bin::DFE::CanUseDartFrontend | ( | ) | const |
void dart::bin::DFE::CompileAndReadScript | ( | const char * | script_uri, |
uint8_t ** | kernel_buffer, | ||
intptr_t * | kernel_buffer_size, | ||
char ** | error, | ||
int * | exit_code, | ||
const char * | package_config, | ||
bool | for_snapshot, | ||
bool | embed_sources | ||
) |
Definition at line 204 of file dfe.cc.
Dart_KernelCompilationResult dart::bin::DFE::CompileScript | ( | const char * | script_uri, |
bool | incremental, | ||
const char * | package_config, | ||
bool | for_snapshot, | ||
bool | embedd_sources | ||
) |
Definition at line 189 of file dfe.cc.
|
inline |
const char * dart::bin::DFE::GetPlatformBinaryFilename | ( | ) |
void dart::bin::DFE::Init | ( | ) |
Definition at line 88 of file dfe.cc.
bool dart::bin::DFE::KernelServiceDillAvailable | ( | ) | const |
void dart::bin::DFE::LoadKernelService | ( | const uint8_t ** | kernel_service_buffer, |
intptr_t * | kernel_service_buffer_size | ||
) |
Definition at line 131 of file dfe.cc.
void dart::bin::DFE::LoadPlatform | ( | const uint8_t ** | kernel_buffer, |
intptr_t * | kernel_buffer_size | ||
) |
Definition at line 137 of file dfe.cc.
void dart::bin::DFE::ReadScript | ( | const char * | script_uri, |
const AppSnapshot * | app_snapshot, | ||
uint8_t ** | kernel_buffer, | ||
intptr_t * | kernel_buffer_size, | ||
bool | decode_uri = true , |
||
std::shared_ptr< uint8_t > * | kernel_blob_ptr = nullptr |
||
) |
Definition at line 241 of file dfe.cc.
const char * dart::bin::DFE::RegisterKernelBlob | ( | const uint8_t * | kernel_buffer, |
intptr_t | kernel_buffer_size | ||
) |
Definition at line 482 of file dfe.cc.
|
inline |
|
inline |
Definition at line 34 of file dfe.h.
|
inline |
|
inline |
|
inline |
std::shared_ptr< uint8_t > dart::bin::DFE::TryFindKernelBlob | ( | const char * | uri, |
intptr_t * | kernel_length | ||
) |
Definition at line 508 of file dfe.cc.
bool dart::bin::DFE::TryReadKernelFile | ( | const char * | script_uri, |
const AppSnapshot * | app_snapshot, | ||
uint8_t ** | kernel_buffer, | ||
intptr_t * | kernel_buffer_size, | ||
bool | decode_uri = true , |
||
std::shared_ptr< uint8_t > * | kernel_blob_ptr = nullptr |
||
) |
Definition at line 437 of file dfe.cc.
void dart::bin::DFE::UnregisterKernelBlob | ( | const char * | uri | ) |
Definition at line 531 of file dfe.cc.
|
inline |
|
inline |
|
inline |