18#define REGISTER_NATIVE_ENTRY(name, count) \
19 {"" #name, reinterpret_cast<void*>(BootstrapNatives::DN_##name), count},
29#if !defined(DART_PRECOMPILED_RUNTIME)
34#define REGISTER_FFI_NATIVE_ENTRY(name, return_type, argument_types) \
35 {"" #name, reinterpret_cast<void*>(BootstrapNatives::FN_##name)},
45 bool* auto_setup_scope) {
49 if (!obj.IsString()) {
53 *auto_setup_scope =
false;
57 for (
int i = 0;
i < num_entries;
i++) {
71 for (
int i = 0;
i < num_entries;
i++) {
82 for (
int i = 0;
i < num_entries;
i++) {
85 return reinterpret_cast<const uint8_t*
>(entry->
name_);
148#if !defined(DART_PRECOMPILED_RUNTIME)
#define REGISTER_FFI_NATIVE_ENTRY(name, return_type, argument_types)
#define REGISTER_NATIVE_ENTRY(name, count)
#define BOOTSTRAP_FFI_NATIVE_LIST(V)
#define MIRRORS_BOOTSTRAP_NATIVE_LIST(V)
#define BOOTSTRAP_NATIVE_LIST(V)
static ObjectPtr UnwrapHandle(Dart_Handle object)
static Dart_NativeFunction Lookup(Dart_Handle name, int argument_count, bool *auto_setup_scope)
static void * LookupFfiNative(const char *name, uintptr_t argument_count)
static const uint8_t * Symbol(Dart_NativeFunction nf)
static void SetupNativeResolver()
static bool IsBootstrapResolver(Dart_NativeEntryResolver resolver)
static LibraryPtr CoreLibrary()
static LibraryPtr VMServiceLibrary()
void set_native_entry_symbol_resolver(Dart_NativeEntrySymbol native_symbol_resolver) const
static LibraryPtr MirrorsLibrary()
static LibraryPtr IsolateLibrary()
void set_native_entry_resolver(Dart_NativeEntryResolver value) const
void set_ffi_native_resolver(Dart_FfiNativeResolver value) const
static LibraryPtr ConvertLibrary()
static LibraryPtr CollectionLibrary()
static LibraryPtr AsyncLibrary()
static LibraryPtr InternalLibrary()
static LibraryPtr FfiLibrary()
static LibraryPtr MathLibrary()
static LibraryPtr DeveloperLibrary()
static LibraryPtr TypedDataLibrary()
virtual const char * ToCString() const
static Thread * Current()
struct _Dart_Handle * Dart_Handle
Dart_NativeFunction(* Dart_NativeEntryResolver)(Dart_Handle name, int num_of_arguments, bool *auto_setup_scope)
const uint8_t *(* Dart_NativeEntrySymbol)(Dart_NativeFunction nf)
void *(* Dart_FfiNativeResolver)(const char *name, uintptr_t args_n)
void(* Dart_NativeFunction)(Dart_NativeArguments arguments)
static const struct dart::FfiNativeEntries BootStrapFfiEntries[]
static const struct dart::NativeEntries BootStrapEntries[]
const char *const function_name
const int argument_count_