Flutter Engine
The Flutter Engine
|
#include <dartutils.h>
Static Public Member Functions | |
static int64_t | GetIntegerValue (Dart_Handle value_obj) |
static int64_t | GetInt64ValueCheckRange (Dart_Handle value_obj, int64_t lower, int64_t upper) |
static intptr_t | GetIntptrValue (Dart_Handle value_obj) |
static bool | GetInt64Value (Dart_Handle value_obj, int64_t *value) |
static const char * | GetStringValue (Dart_Handle str_obj) |
static bool | GetBooleanValue (Dart_Handle bool_obj) |
static bool | GetNativeBooleanArgument (Dart_NativeArguments args, intptr_t index) |
static int64_t | GetNativeIntegerArgument (Dart_NativeArguments args, intptr_t index) |
static intptr_t | GetNativeIntptrArgument (Dart_NativeArguments args, intptr_t index) |
static const char * | GetNativeStringArgument (Dart_NativeArguments args, intptr_t index) |
static const char * | GetNativeTypedDataArgument (Dart_NativeArguments args, intptr_t index) |
static Dart_Handle | SetIntegerField (Dart_Handle handle, const char *name, int64_t val) |
static Dart_Handle | SetStringField (Dart_Handle handle, const char *name, const char *val) |
static bool | IsDartSchemeURL (const char *url_name) |
static bool | IsDartIOLibURL (const char *url_name) |
static bool | IsDartCLILibURL (const char *url_name) |
static bool | IsDartHttpLibURL (const char *url_name) |
static bool | IsDartBuiltinLibURL (const char *url_name) |
static bool | IsHttpSchemeURL (const char *url_name) |
static const char * | RemoveScheme (const char *url) |
static char * | DirName (const char *url) |
static void * | MapExecutable (const char *name, intptr_t *file_len) |
static void * | OpenFile (const char *name, bool write) |
static void * | OpenFileUri (const char *uri, bool write) |
static void | ReadFile (uint8_t **data, intptr_t *file_len, void *stream) |
static void | WriteFile (const void *buffer, intptr_t num_bytes, void *stream) |
static void | CloseFile (void *stream) |
static bool | EntropySource (uint8_t *buffer, intptr_t length) |
static Dart_Handle | ReadStringFromFile (const char *filename) |
static Dart_Handle | MakeUint8Array (const void *buffer, intptr_t length) |
static Dart_Handle | PrepareForScriptLoading (bool is_service_isolate, bool trace_loading) |
static Dart_Handle | SetupPackageConfig (const char *packages_file) |
static Dart_Handle | SetupIOLibrary (const char *namespc_path, const char *script_uri, bool disable_exit) |
static bool | PostNull (Dart_Port port_id) |
static bool | PostInt32 (Dart_Port port_id, int32_t value) |
static bool | PostInt64 (Dart_Port port_id, int64_t value) |
static bool | PostString (Dart_Port port_id, const char *value) |
static Dart_Handle | GetDartType (const char *library_url, const char *class_name) |
static Dart_Handle | NewDartOSError () |
static Dart_Handle | NewDartOSError (OSError *os_error) |
static Dart_Handle | NewDartExceptionWithOSError (const char *library_url, const char *exception_name, const char *message, Dart_Handle os_error) |
static Dart_Handle | NewDartExceptionWithMessage (const char *library_url, const char *exception_name, const char *message) |
static Dart_Handle | NewDartArgumentError (const char *message) |
static Dart_Handle | NewDartFormatException (const char *message) |
static Dart_Handle | NewDartUnsupportedError (const char *message) |
static Dart_Handle | NewDartIOException (const char *exception_name, const char *message, Dart_Handle os_error) |
static Dart_Handle | NewString (const char *str) |
static Dart_Handle | NewStringFormatted (const char *format,...) |
static char * | ScopedCString (intptr_t length) |
static char * | ScopedCopyCString (const char *str) |
static char * | ScopedCStringFormatted (const char *format,...) PRINTF_ATTRIBUTE(1 |
static char static char * | ScopedCStringVFormatted (const char *format, va_list args) |
static Dart_Handle | NewError (const char *format,...) |
static Dart_Handle | NewInternalError (const char *message) |
static Dart_Handle | LookupBuiltinLib () |
static bool | SetOriginalWorkingDirectory () |
static Dart_Handle | ResolveScript (Dart_Handle url) |
static bool | IsAotMagicNumber (MagicNumber number) |
static MagicNumber | SniffForMagicNumber (const char *filename) |
static MagicNumber | SniffForMagicNumber (const uint8_t *text_buffer, intptr_t buffer_len) |
static void | SetEnvironment (dart::SimpleHashMap *environment) |
static Dart_Handle | EnvironmentCallback (Dart_Handle name) |
Static Public Attributes | |
static constexpr int64_t | kMaxMagicNumberSize = 8 |
static const char * | original_working_directory = nullptr |
static constexpr const char * | kDartScheme = "dart:" |
static constexpr const char * | kAsyncLibURL = "dart:async" |
static constexpr const char * | kBuiltinLibURL = "dart:_builtin" |
static constexpr const char * | kCoreLibURL = "dart:core" |
static constexpr const char * | kInternalLibURL = "dart:_internal" |
static constexpr const char * | kIsolateLibURL = "dart:isolate" |
static constexpr const char * | kHttpLibURL = "dart:_http" |
static constexpr const char * | kIOLibURL = "dart:io" |
static constexpr const char * | kIOLibPatchURL = "dart:io-patch" |
static constexpr const char * | kCLILibURL = "dart:cli" |
static constexpr const char * | kCLILibPatchURL = "dart:cli-patch" |
static constexpr const char * | kUriLibURL = "dart:uri" |
static constexpr const char * | kHttpScheme = "http:" |
static constexpr const char * | kVMServiceLibURL = "dart:vmservice" |
Definition at line 108 of file dartutils.h.
Definition at line 256 of file dartutils.h.
|
static |
Definition at line 303 of file dartutils.cc.
|
static |
Definition at line 252 of file dartutils.cc.
|
static |
Definition at line 308 of file dartutils.cc.
|
static |
Definition at line 835 of file dartutils.cc.
|
static |
Definition at line 137 of file dartutils.cc.
|
static |
Definition at line 696 of file dartutils.cc.
|
static |
Definition at line 112 of file dartutils.cc.
|
static |
Definition at line 90 of file dartutils.cc.
|
static |
Definition at line 81 of file dartutils.cc.
|
static |
Definition at line 100 of file dartutils.cc.
|
static |
Definition at line 146 of file dartutils.cc.
|
static |
Definition at line 156 of file dartutils.cc.
|
static |
Definition at line 166 of file dartutils.cc.
|
static |
Definition at line 175 of file dartutils.cc.
|
static |
Definition at line 195 of file dartutils.cc.
|
static |
Definition at line 128 of file dartutils.cc.
|
inlinestatic |
Definition at line 275 of file dartutils.h.
|
static |
Definition at line 239 of file dartutils.cc.
|
static |
Definition at line 231 of file dartutils.cc.
|
static |
Definition at line 235 of file dartutils.cc.
|
static |
Definition at line 227 of file dartutils.cc.
|
static |
Definition at line 215 of file dartutils.cc.
|
static |
Definition at line 222 of file dartutils.cc.
|
inlinestatic |
Definition at line 248 of file dartutils.h.
|
static |
Definition at line 360 of file dartutils.cc.
|
static |
|
static |
Definition at line 746 of file dartutils.cc.
|
static |
Definition at line 731 of file dartutils.cc.
|
static |
Definition at line 718 of file dartutils.cc.
|
static |
Definition at line 750 of file dartutils.cc.
|
static |
Definition at line 758 of file dartutils.cc.
|
static |
Definition at line 702 of file dartutils.cc.
|
static |
Definition at line 708 of file dartutils.cc.
|
static |
Definition at line 754 of file dartutils.cc.
|
static |
Definition at line 766 of file dartutils.cc.
|
static |
Definition at line 781 of file dartutils.cc.
|
inlinestatic |
Definition at line 214 of file dartutils.h.
|
static |
Definition at line 785 of file dartutils.cc.
|
static |
Definition at line 261 of file dartutils.cc.
|
static |
Definition at line 267 of file dartutils.cc.
|
static |
Definition at line 672 of file dartutils.cc.
|
static |
Definition at line 683 of file dartutils.cc.
|
static |
Definition at line 667 of file dartutils.cc.
|
static |
Definition at line 691 of file dartutils.cc.
|
static |
Definition at line 570 of file dartutils.cc.
|
static |
Definition at line 273 of file dartutils.cc.
|
static |
Definition at line 348 of file dartutils.cc.
|
static |
Definition at line 243 of file dartutils.cc.
|
static |
Definition at line 386 of file dartutils.cc.
|
inlinestatic |
Definition at line 232 of file dartutils.h.
|
inlinestatic |
Definition at line 224 of file dartutils.h.
|
static |
|
static |
|
static |
Definition at line 831 of file dartutils.cc.
|
static |
Definition at line 203 of file dartutils.cc.
|
static |
Definition at line 821 of file dartutils.cc.
|
static |
Definition at line 209 of file dartutils.cc.
|
static |
Definition at line 617 of file dartutils.cc.
|
static |
Definition at line 555 of file dartutils.cc.
|
static |
Definition at line 403 of file dartutils.cc.
|
static |
Definition at line 430 of file dartutils.cc.
|
static |
|
staticconstexpr |
Definition at line 291 of file dartutils.h.
|
staticconstexpr |
Definition at line 292 of file dartutils.h.
|
staticconstexpr |
Definition at line 300 of file dartutils.h.
|
staticconstexpr |
Definition at line 299 of file dartutils.h.
|
staticconstexpr |
Definition at line 293 of file dartutils.h.
|
staticconstexpr |
Definition at line 290 of file dartutils.h.
|
staticconstexpr |
Definition at line 296 of file dartutils.h.
|
staticconstexpr |
Definition at line 302 of file dartutils.h.
|
staticconstexpr |
Definition at line 294 of file dartutils.h.
|
staticconstexpr |
Definition at line 298 of file dartutils.h.
|
staticconstexpr |
Definition at line 297 of file dartutils.h.
|
staticconstexpr |
Definition at line 295 of file dartutils.h.
|
staticconstexpr |
Definition at line 271 of file dartutils.h.
|
staticconstexpr |
Definition at line 301 of file dartutils.h.
|
staticconstexpr |
Definition at line 303 of file dartutils.h.
|
static |
Definition at line 288 of file dartutils.h.