#include <mapped_resource.h>
Public Member Functions | |
| MappedResource () | |
| MappedResource (MappedResource &&other) | |
| MappedResource & | operator= (MappedResource &&other) |
| ~MappedResource () | |
| const uint8_t * | address () const |
| size_t | size () const |
Static Public Member Functions | |
| static bool | LoadFromNamespace (fdio_ns_t *namespc, const std::string &path, MappedResource &resource, bool executable=false) |
| static bool | LoadFromDir (int dirfd, const std::string &path, MappedResource &resource, bool executable=false) |
| static bool | LoadFromVmo (const std::string &path, fuchsia::mem::Buffer resource_vmo, MappedResource &resource, bool executable=false) |
Definition at line 50 of file mapped_resource.h.
|
inline |
Definition at line 52 of file mapped_resource.h.
|
inline |
Definition at line 53 of file mapped_resource.h.
| dart_utils::MappedResource::~MappedResource | ( | ) |
Definition at line 96 of file mapped_resource.cc.
|
inline |
Definition at line 92 of file mapped_resource.h.
Referenced by dart_runner::CreateServiceIsolate(), and dart_runner::DartRunner::DartRunner().
|
static |
|
static |
Definition at line 62 of file mapped_resource.cc.
References LoadFromVmo(), and dart_utils::OpenVmo().
Referenced by dart_runner::CreateServiceIsolate(), and dart_runner::DartRunner::DartRunner().
|
static |
Definition at line 71 of file mapped_resource.cc.
References FML_LOG.
Referenced by LoadFromNamespace().
|
inline |
Definition at line 58 of file mapped_resource.h.
|
inline |
Definition at line 95 of file mapped_resource.h.