#include <bootstrap_natives.h>
Definition at line 373 of file bootstrap_natives.h.
◆ Lookup()
Definition at line 43 of file bootstrap_natives.cc.
45 {
47 TransitionNativeToVM transition(thread);
49 if (!obj.IsString()) {
50 return nullptr;
51 }
53 *auto_setup_scope = false;
57 for (
int i = 0;
i < num_entries;
i++) {
62 }
63 }
64 return nullptr;
65}
static ObjectPtr UnwrapHandle(Dart_Handle object)
static Thread * Current()
void(* Dart_NativeFunction)(Dart_NativeArguments arguments)
static const struct dart::NativeEntries BootStrapEntries[]
const char *const function_name
◆ LookupFfiNative()
void * dart::BootstrapNatives::LookupFfiNative |
( |
const char * |
name, |
|
|
uintptr_t |
argument_count |
|
) |
| |
|
static |
Definition at line 67 of file bootstrap_natives.cc.
68 {
69 int num_entries =
71 for (
int i = 0;
i < num_entries;
i++) {
73 if (strcmp(
name, entry->name_) == 0) {
74 return entry->function_;
75 }
76 }
77 return nullptr;
78}
static const struct dart::FfiNativeEntries BootStrapFfiEntries[]
◆ Symbol()
Definition at line 80 of file bootstrap_natives.cc.
80 {
82 for (
int i = 0;
i < num_entries;
i++) {
85 return reinterpret_cast<const uint8_t*>(entry->name_);
86 }
87 }
88 return nullptr;
89}
The documentation for this class was generated from the following files: